Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
type Configurator struct {
// contains filtered or unexported fields
}
func NewConfigurator ¶
func NewConfigurator(configPath string) *Configurator
func (*Configurator) Get ¶
func (c *Configurator) Get() *config
func (*Configurator) Load ¶
func (c *Configurator) Load() error
func (*Configurator) Save ¶
func (c *Configurator) Save() error
type Server ¶
type Server struct { Logger *utils.Logger Cfg *Configurator // contains filtered or unexported fields }
func (*Server) HandleMessage ¶
func (s *Server) HandleMessage(message *connection.Message, client *websocket.Conn)
func (*Server) Handler ¶
func (s *Server) Handler() http.HandlerFunc