Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoSettings ¶
type AutoSettings struct {
ErrorMessage string
}
type CharacterSettings ¶
type ConfigData ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger *slog.Logger, manager *koolo.SupervisorManager) (*HttpServer, error)
func (*HttpServer) BroadcastStatus ¶ added in v0.5.0
func (s *HttpServer) BroadcastStatus()
func (*HttpServer) Listen ¶
func (s *HttpServer) Listen(port int) error
func (*HttpServer) Stop ¶
func (s *HttpServer) Stop() error
type WebSocketServer ¶ added in v0.5.0
type WebSocketServer struct {
// contains filtered or unexported fields
}
func NewWebSocketServer ¶ added in v0.5.0
func NewWebSocketServer() *WebSocketServer
func (*WebSocketServer) HandleWebSocket ¶ added in v0.5.0
func (s *WebSocketServer) HandleWebSocket(w http.ResponseWriter, r *http.Request)
func (*WebSocketServer) Run ¶ added in v0.5.0
func (s *WebSocketServer) Run()
Click to show internal directories.
Click to hide internal directories.