Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
WebServer Main server
func NewWebServer ¶
func NewWebServer(rh *handlers.RelayHandler, gh *handlers.GroupHandler, dh *handlers.DeviceHandler, ph *handlers.ProfileHandler) *WebServer
NewWebServer Make new struct
func (*WebServer) IndexHandler ¶
func (w *WebServer) IndexHandler(ctx *fasthttp.RequestCtx)
IndexHandler Index page handler
func (*WebServer) NotFoundHandler ¶
func (w *WebServer) NotFoundHandler(ctx *fasthttp.RequestCtx)
NotFoundHandler Not found page handler
Click to show internal directories.
Click to hide internal directories.