Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MonitorActions = struct { Check string Register string List string Remove string Stats string }{ Check: "check", Register: "register", List: "list", Remove: "remove", Stats: "stats", }
View Source
var MonitorParameters = struct { Action string Type string Target string Keyword string Page string ID string }{ Action: "action", Type: "type", Target: "target", Keyword: "keyword", Page: "page", ID: "id", }
View Source
var MonitorTypes = struct { Domain string HTTP string ICMP string TCP string }{ Domain: "domain", HTTP: "http", ICMP: "icmp", TCP: "tcp", }
View Source
var RandomNumberParameters = struct { Type string Format string Min string Max string Count string Unique string }{ Type: "type", Format: "format", Min: "min", Max: "max", Count: "count", Unique: "unique", }
View Source
var RandomStringParameters = struct { Type string Value string }{ Type: "string", Value: "value", }
View Source
var RandomStringValues = struct { Person string Email string Phone string Username string Address string LatLon string Sentence string Paragraph string Quote string UUID string HexColor string RGBColor string URL string ImageURL string Domain string IPv4 string IPv6 string UserAgent string Date string Timezone string CreditCard string WalletAddress string Pet string Emoji string }{ Person: "person", Email: "email", Phone: "phone", Username: "username", Address: "address", LatLon: "latlon", Sentence: "sentence", Paragraph: "paragraph", Quote: "quote", UUID: "uuid", HexColor: "hexcolor", RGBColor: "rgbcolor", URL: "url", ImageURL: "imageurl", Domain: "domain", IPv4: "ipv4", IPv6: "ipv6", UserAgent: "ua", Date: "date", Timezone: "timezone", CreditCard: "creditcard", WalletAddress: "walletaddress", Pet: "pet", Emoji: "emoji", }
View Source
var RandomTypes = struct { Number string String string }{ Number: "number", String: "string", }
View Source
var Root = struct { Help Command Monitor Command Random Command }{ Help: Command{ Name: "help", WithSlash: "/help", Description: "Get assistance and information about any handler", }, Monitor: Command{ Name: "monitor", WithSlash: "/monitor", Description: "Register and manage monitoring targets, including domain, http, icmp, tcp", }, Random: Command{ Name: "random", WithSlash: "/random", Description: "Random things", }, }
View Source
var RootCommandsArray = []string{ Root.Help.WithSlash, Root.Monitor.WithSlash, Root.Random.WithSlash, }
Functions ¶
func ExtractArguments ¶
func ExtractCommand ¶
func IsRootCommandValid ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.