Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PublicPathsWatcher *watchers.PublicPathsWatcher
PublicPathsWatcher monitors changes in the public paths stored in etcd keys
Functions ¶
func Authenticate ¶
func Authenticate(next echo.HandlerFunc) echo.HandlerFunc
Authenticate middleware does the request authentication and signature verification. Authenticated request is then inserted some authentication headers, e.g. X-User-Id, X-User-Groups
func Authorize ¶
func Authorize(next echo.HandlerFunc) echo.HandlerFunc
Authorize is the middleware responsible for authorization interceptor
func PopulateBucket ¶
func PopulateBucket(next echo.HandlerFunc) echo.HandlerFunc
PopulateBucket calls Manager APIs to create/delete bucket when the request context having flag. This middleware runs BEFORE the API handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.