Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Flags specific to the network Flags = []cli.Flag{ &cli.StringFlag{ Name: "address", Usage: "Set the address of the network service", EnvVars: []string{"MICRO_NETWORK_ADDRESS"}, }, &cli.StringFlag{ Name: "advertise", Usage: "Set the micro network address to advertise", EnvVars: []string{"MICRO_NETWORK_ADVERTISE"}, }, &cli.StringFlag{ Name: "gateway", Usage: "Set the default gateway", EnvVars: []string{"MICRO_NETWORK_GATEWAY"}, }, &cli.StringFlag{ Name: "network", Usage: "Set the micro network name: micro", EnvVars: []string{"MICRO_NETWORK"}, }, &cli.StringFlag{ Name: "nodes", Usage: "Set the micro network nodes to connect to. This can be a comma separated list.", EnvVars: []string{"MICRO_NETWORK_NODES"}, }, &cli.StringFlag{ Name: "token", Usage: "Set the micro network token for authentication", EnvVars: []string{"MICRO_NETWORK_TOKEN"}, }, } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.