webserver

package
v0.0.0-...-aec2e1a Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

type ApiServer struct {
	*echo.Echo
	// contains filtered or unexported fields
}

func NewApiServer

func NewApiServer(cfg *config.Config) (*ApiServer, error)

func (*ApiServer) Login

func (s *ApiServer) Login(c echo.Context) (err error)

func (*ApiServer) RegisterWebRoute

func (s *ApiServer) RegisterWebRoute()

func (*ApiServer) Run

func (s *ApiServer) Run()

type CustomValidator

type CustomValidator struct {
	// contains filtered or unexported fields
}

func (*CustomValidator) Validate

func (cv *CustomValidator) Validate(i interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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