Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
*Server
}
HttpServer - custom http server structure.
func NewHttpServer ¶
func NewHttpServer(port string, router *router.HttpRouter) *HttpServer
NewHttpServer - initiate new http server.
type Server ¶
Server Server - custom server structure.
type WsServer ¶
type WsServer struct { *Server // contains filtered or unexported fields }
WsServer - custom ws server structure.
func NewWsServer ¶
NewWsServer - Instantiate new ws server.
func (*WsServer) CountConnections ¶
Click to show internal directories.
Click to hide internal directories.