roleauth

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoleAuth

func RoleAuth(opts ...Option) iris.Handler

RoleAuth 基于iris的角色权限验证中间件

Types

type Option

type Option func(*Options)

func ServiceName

func ServiceName(name string) Option

func Skipper

func Skipper(skipper []string) Option

type Options

type Options struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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