Documentation ¶
Overview ¶
Package cli is a command line interface
Index ¶
- func CallService(c *cli.Context, args []string) ([]byte, error)
- func GetService(c *cli.Context, args []string) ([]byte, error)
- func ListServices(c *cli.Context, args []string) ([]byte, error)
- func Publish(c *cli.Context, args []string) error
- func QueryHealth(c *cli.Context, args []string) ([]byte, error)
- func QueryStats(c *cli.Context, args []string) ([]byte, error)
- func Run(c *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallService ¶
func GetService ¶
func ListServices ¶
func QueryHealth ¶
func QueryStats ¶
QueryStats returns stats of specified service(s)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package gen provides the micro gen command which simply runs go generate
|
Package gen provides the micro gen command which simply runs go generate |
Package init provides the micro init command for initialising plugins and imports
|
Package init provides the micro init command for initialising plugins and imports |
Package new generates micro service templates
|
Package new generates micro service templates |
Package runtime is the micro runtime Package runtime is the micro runtime
|
Package runtime is the micro runtime Package runtime is the micro runtime |
Package cli implements the `micro store` subcommands for example: micro store snapshot micro store restore micro store sync
|
Package cli implements the `micro store` subcommands for example: micro store snapshot micro store restore micro store sync |
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie.
|
Package token contains CLI client token related helpers tToken files consist of one line per token, each token having the structure of `micro://envAddress/namespace[/id]:token`, ie. |
Package user handles the user cli command
|
Package user handles the user cli command |
Package cliutil contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread
|
Package cliutil contains methods used across all cli commands @todo: get rid of os.Exits and use errors instread |
Click to show internal directories.
Click to hide internal directories.