server

package
v0.0.0-...-e1e7ebf Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorAuthFailed = "Unable to authenticate user"
View Source
const ErrorAuthHeaderInvalid = "Invalid authorization header"

Variables

This section is empty.

Functions

func AuthOneJwtWithConfig

func AuthOneJwtWithConfig(cfg *jwtverifier.JwtVerifier) echo.MiddlewareFunc

func NewEventBus

func NewEventBus(provider interfaces.DatabaseProvider, host string) (interfaces.EventBus, error)

func NewServer

func NewServer(config *conf.Config) (*server, error)

func QilinStoreErrorHandler

func QilinStoreErrorHandler(err error, c echo.Context, isDebug bool)

Types

type StoreValidator

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

func (*StoreValidator) Validate

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

Jump to

Keyboard shortcuts

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