Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MainHandler ¶
type MainHandler struct {
// contains filtered or unexported fields
}
func NewMainHandler ¶
func NewMainHandler(conf *viper.Viper) *MainHandler
NewMainHandler create new instance of MainHandler with separate config. Pointer viper param is important to make config live reload work.
func (*MainHandler) Entry ¶
func (h *MainHandler) Entry(c echo.Context) error
Entry handle all incoming request including all http methods that supported by echo.
Click to show internal directories.
Click to hide internal directories.