Documentation
¶
Index ¶
- Constants
- func AuthOneJwtWithConfig(cfg *jwtverifier.JwtVerifier) echo.MiddlewareFunc
- func NewEventBus(provider interfaces.DatabaseProvider, host string) (interfaces.EventBus, error)
- func NewServer(config *conf.Config) (*server, error)
- func QilinStoreErrorHandler(err error, c echo.Context, isDebug bool)
- type StoreValidator
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 QilinStoreErrorHandler ¶
Types ¶
type StoreValidator ¶
type StoreValidator struct {
// contains filtered or unexported fields
}
func (*StoreValidator) Validate ¶
func (cv *StoreValidator) Validate(i interface{}) error
Click to show internal directories.
Click to hide internal directories.