Documentation ¶ Index ¶ func Do(url, userAgent string) error func DoAndExit(config *Config) func GetStatusCode(url, userAgent string) (status int, err error) type Config func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Do ¶ func Do(url, userAgent string) error func DoAndExit ¶ func DoAndExit(config *Config) func GetStatusCode ¶ func GetStatusCode(url, userAgent string) (status int, err error) Types ¶ type Config ¶ type Config struct { URL string UserAgent string } func Flags ¶ func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config Source Files ¶ View all Source files alcotest.go Click to show internal directories. Click to hide internal directories.