server

package
v0.0.0-...-a949d81 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyMiddleware

func ApplyMiddleware(e *echo.Echo)

Types

type CustomValidator

type CustomValidator struct {
	Validator *validator.Validate
}

func (*CustomValidator) Validate

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

type Server

type Server struct {
	Echo *echo.Echo
}

func New

func New(db db.Database, storage storage.Storage) *Server

func (*Server) Run

func (srv *Server) Run(port int) error

func (*Server) Shutdown

func (srv *Server) Shutdown() error

Jump to

Keyboard shortcuts

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