Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewHttpServer)
ProviderSet is server providers.
View Source
var WsProviderSet = wire.NewSet(NewWebsocketServer)
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { *iris.Application // contains filtered or unexported fields }
func (*Server) CrontabSwitchOn ¶
func (*Server) StartCrontab ¶
func (hs *Server) StartCrontab()
func (*Server) StopCrontab ¶
func (hs *Server) StopCrontab()
type Websocket ¶
type Websocket struct { *iris.Application // contains filtered or unexported fields }
func NewWebsocketServer ¶
func NewWebsocketServer() *Websocket
func (*Websocket) StartWithSocketIO ¶
Click to show internal directories.
Click to hide internal directories.