Versions in this module Expand all Collapse all v0 v0.1.0 Dec 5, 2022 Changes in this version + func AddGroupKeyAuthMiddleware(g *echo.Group) + type ApiKey struct + DeletedAt gorm.DeletedAt + ID uint32 + Key string + Policy datatypes.JSON + func (ak *ApiKey) Conditions(s service, a action) (Conditions, error) + func (ak *ApiKey) IsValid() bool + func (ak *ApiKey) LoadByID(id uint32) (bool, error) + func (ak *ApiKey) LoadByKey(k string) (bool, error) + type AuthContext struct + ApiKeyID uint32 + func (ac *AuthContext) DumpKeyID() + type Condition string + type Conditions []Condition