Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrServAlreadyRunning = errors.New("server already running") ErrServAlreadyStopped = errors.New("server already stopped") )
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddCommand ¶
func (v *Server) AddCommand(name string, handler CommandHandler)
Click to show internal directories.
Click to hide internal directories.