Documentation ¶
Index ¶
- func AccessEndpoint(router *httprouter.Router, _ configuration.Config, _ util.Jwt, ...)
- func AllowedEndpoints(router *httprouter.Router, _ configuration.Config, jwt util.Jwt, ...)
- func CheckEndpoints(router *httprouter.Router, _ configuration.Config, jwt util.Jwt, ...)
- func PoliciesEndpoints(router *httprouter.Router, _ configuration.Config, _ util.Jwt, ...)
- func Router(config configuration.Config, guard *authorization.Guard) http.Handler
- func Start(ctx context.Context, wg *sync.WaitGroup, config configuration.Config, ...) (err error)
- func TestEndpoints(router *httprouter.Router, _ configuration.Config, _ util.Jwt, ...)
- type KongMessage
- type TestResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessEndpoint ¶
func AccessEndpoint(router *httprouter.Router, _ configuration.Config, _ util.Jwt, guard *authorization.Guard)
func AllowedEndpoints ¶
func AllowedEndpoints(router *httprouter.Router, _ configuration.Config, jwt util.Jwt, guard *authorization.Guard)
func CheckEndpoints ¶
func CheckEndpoints(router *httprouter.Router, _ configuration.Config, jwt util.Jwt, guard *authorization.Guard)
func PoliciesEndpoints ¶
func PoliciesEndpoints(router *httprouter.Router, _ configuration.Config, _ util.Jwt, guard *authorization.Guard)
func Router ¶
func Router(config configuration.Config, guard *authorization.Guard) http.Handler
func Start ¶
func Start(ctx context.Context, wg *sync.WaitGroup, config configuration.Config, guard *authorization.Guard) (err error)
starts http server; if wg is not nil it will be set as done when the server is stopped
func TestEndpoints ¶
func TestEndpoints(router *httprouter.Router, _ configuration.Config, _ util.Jwt, guard *authorization.Guard)
Types ¶
type KongMessage ¶
Click to show internal directories.
Click to hide internal directories.