Documentation ¶
Index ¶
Constants ¶
View Source
const APIEndPoint = "/rbac/"
APIEndPoint for RBAC handling
Variables ¶
This section is empty.
Functions ¶
func NewHTTPHandler ¶
func NewHTTPHandler(tconf *tokenhandler.Config, rconf *rbachandler.Config, logger logur.Logger) http.Handler
NewHTTPHandler returns a new HTTP handler for the greeter.
Types ¶
type HTTPController ¶
type HTTPController struct { TConf *tokenhandler.Config RConf *rbachandler.Config Logger logur.Logger }
HTTPController collects the greeting use cases and exposes them as HTTP handlers.
func NewHTTPController ¶
func NewHTTPController(tconf *tokenhandler.Config, rconf *rbachandler.Config, logger logur.Logger) *HTTPController
NewHTTPController returns a new HTTPController instance.
Click to show internal directories.
Click to hide internal directories.