accesscontrol

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAccessControl

func InitAccessControl() error

InitAccessControl 初始化鉴权模块

Types

type AccessControl

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

AccessControl 鉴权结构体

var AccessV1 *AccessControl

AccessV1 鉴权全局变量

func (*AccessControl) GatewayPermissionsCheck

func (a *AccessControl) GatewayPermissionsCheck(srcGatewayInfo, destGatewayInfo *common.GatewayInfo) bool

GatewayPermissionsCheck gateway鉴权

@receiver a
@param srcGatewayInfo
@param destGatewayInfo
@return bool

Jump to

Keyboard shortcuts

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