cmd

package
v0.2.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Addr string
View Source
var ConfigPath string
View Source
var StatAddr string

Functions

func AddStartCommand

func AddStartCommand()

func Execute

func Execute() error

func GetRootCmd

func GetRootCmd() *cobra.Command

func InitStartCommand

func InitStartCommand(f func(cmd *cobra.Command, args []string) error) *cobra.Command

func Register

func Register() common.Caller

Types

type CallerCfg

type CallerCfg struct{}

type Cfg

type Cfg struct {
	Muses struct {
		Cmd CallerCfg `toml:"app"`
	} `toml:"muses"`
}

func Config

func Config() Cfg

type Client

type Client struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL