Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebServer ¶
type WebServer struct { Router chi.Router GetHandlers map[string]http.HandlerFunc PostHandlers map[string]http.HandlerFunc WebServerPort string }
func NewWebServer ¶
func (*WebServer) AddGetHandler ¶
func (s *WebServer) AddGetHandler(path string, handler http.HandlerFunc)
func (*WebServer) AddPostHandler ¶
func (s *WebServer) AddPostHandler(path string, handler http.HandlerFunc)
type WebServerStarter ¶
type WebServerStarter struct {
WebServer WebServer
}
func NewWebServerStarter ¶
func NewWebServerStarter(webServer WebServer) *WebServerStarter
Click to show internal directories.
Click to hide internal directories.