Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(cfg Config)
Types ¶
type Config ¶
func (Config) GetHandlerFunc ¶
func (c Config) GetHandlerFunc() HandlerFunction
func (Config) RenderResponse ¶
type HandlerFunction ¶
type HandlerFunction func(http.ResponseWriter, *http.Request)
type RouterProvider ¶
type RouterProvider interface { GetRouter() *mux.Router GetHandlerFunc() HandlerFunction }
Click to show internal directories.
Click to hide internal directories.