Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func ConfigPath() []string
func NewRoot ¶
NewRoot returns a newly initialized cobra.Command object that implements the Command interface.
func WelkomText ¶
func WelkomText() string
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server warps http.Server.
func StartWebServer ¶
StartWebServer starts a web server
func (*Server) StopNotify ¶
func (srv *Server) StopNotify() <-chan struct{}
StopNotify returns receive-only stop channel to notify the server has stopped.
Click to show internal directories.
Click to hide internal directories.