Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidArg = errors.New("invalid argument: ")
Functions ¶
func NewInvalidArgError ¶
func NewInvalidArgError(arg ...interface{}) error
TODO: THIS IS A BAD IDEA. USE FMT.ERRORF INSTEAD
Types ¶
type ClientConfig ¶
type ClientConfig struct {
// contains filtered or unexported fields
}
func ClientCmdArgParse ¶
func ClientCmdArgParse(args ...string) (*ClientConfig, error)
Generate object from flags.
func (*ClientConfig) Run ¶
func (cc *ClientConfig) Run() (*controller.PomoControllerStatus, error)
Perform the action and return status or error
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
func ServerCmdArgParse ¶
func ServerCmdArgParse(args ...string) (*ServerConfig, error)
func (*ServerConfig) HttpListen ¶
func (sc *ServerConfig) HttpListen() error
Run appropiate server through http synchronously
Click to show internal directories.
Click to hide internal directories.