Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type HandlerFunc struct {
Method string
Handler http.HandlerFunc
}
type WebServer ¶
type WebServer struct {
Router chi.Router
Handlers []HandlerFunc
WebServerPort string
Server *http.Server
}
func NewWebServer ¶
func (*WebServer) MountMiddlewares ¶
func (s *WebServer) MountMiddlewares()
Click to show internal directories.
Click to hide internal directories.