api

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2022 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL