Documentation ¶
Overview ¶
Package console define quick guider functions.
> Run with source code
go run main.go go run main.go help go run main.go help docs
> Build binary file named as demo
go build -o demo
> Run with binary file
./demo ./demo help ./demo help docs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package commands built-in commands.
|
Package commands built-in commands. |
consul
Package consul work for service register and find.
|
Package consul work for service register and find. |
consul/kv
Package kv read and write configuration by consul kv pair.
|
Package kv read and write configuration by consul kv pair. |
consul/kv/download
Package download read configurations from consul kv storage and store to local yaml files.
|
Package download read configurations from consul kv storage and store to local yaml files. |
consul/kv/upload
Package upload scan and read local config files and put to consul kv storage.
|
Package upload scan and read local config files and put to consul kv storage. |
consul/service
Package service register and deregister service on consul service storage.
|
Package service register and deregister service on consul service storage. |
consul/service/deregister
Package deregister remove registered service on consul.
|
Package deregister remove registered service on consul. |
consul/service/register
Package register build service and register to consul.
|
Package register build service and register to consul. |
docs
Package docs generate application documents as markdown files or postman collection and so on.
|
Package docs generate application documents as markdown files or postman collection and so on. |
help
Package help print manager and command information on terminal.
|
Package help print manager and command information on terminal. |
Package managers implements support for command management.
|
Package managers implements support for command management. |
Click to show internal directories.
Click to hide internal directories.