Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartWebServer ¶
StartWebServer starts the HTTP service and listens for the requests
Types ¶
type HandlerWrap ¶
type HandlerWrap interface {
Valid(r *http.Request) bool
Handler() http.Handler
Info() string
Name() string
Priority() int
}
HandlerWrap for check if handler valid
func NewHandler ¶
func NewHandler(name string, cfg *viper.Viper, hd *HandlerData) (HandlerWrap, error)
NewHandler creates handler based on config
Click to show internal directories.
Click to hide internal directories.