package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

NewChain returns a new Chain with prefixes of prefixLen words.
No description provided by the author
StateMonitor maintains a map that stores the state of the URLs being polled, and prints the current state every updateInterval nanoseconds.

# Structs

Chain contains a map ("chain") of prefixes to a list of suffixes.
Resource represents an HTTP URL to be polled by this program.
State represents the last-known state of a URL.

# Type aliases

Prefix is a Markov chain prefix of one or more words.