Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
func NewApplication ¶
func NewApplication(use string, short string, long string, version string) *Application
func (*Application) RegisterCommands ¶
func (a *Application) RegisterCommands(c []Commander)
func (*Application) Run ¶
func (a *Application) Run() error
type Command ¶
func (Command) Initialize ¶
type CommandController ¶
type CommandController interface {
Execute() error
}
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration(filename string, path string, searchPaths []string) Configuration
func (Configuration) GetViper ¶
func (c Configuration) GetViper() *viper.Viper
type Configurator ¶
type HttpServer ¶
func NewHttpServer ¶
func NewHttpServer(listenAddress string, port int, handler http.Handler) *HttpServer
func (*HttpServer) RunServer ¶
func (s *HttpServer) RunServer()
type HttpTransport ¶
type HttpTransport struct { T http.RoundTripper UserAgent string }
func NewHttpTransport ¶
func NewHttpTransport(useragent string) *HttpTransport
Click to show internal directories.
Click to hide internal directories.