rbacapi

package
v0.0.0-...-a28834e Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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