hertz

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authn

func Authn() app.HandlerFunc

func Authz

func Authz(permissionFunc PermissionFunc) app.HandlerFunc

Authz authorization middleware for hertz.

func Logger

func Logger() app.HandlerFunc

Logger log middleware for hertz.

Types

type PermissionFunc

type PermissionFunc func(ctx context.Context, c *app.RequestContext) string

Jump to

Keyboard shortcuts

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