api

package
v0.0.0-...-061e2a5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBinder

func NewBinder() echo.Binder

func NewValidator

func NewValidator() echo.Validator

Types

type APIService

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

func NewAPIService

func NewAPIService(log *logrus.Entry, dbConn *pgxpool.Pool) (*APIService, error)

func (*APIService) LoggingMiddleware

func (svc *APIService) LoggingMiddleware() echo.MiddlewareFunc

func (*APIService) Serve

func (svc *APIService) Serve()

func (*APIService) Shutdown

func (svc *APIService) Shutdown(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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