casbinlogic

package
v0.0.0-...-c55c97e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPolicyLogic

type AddPolicyLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddPolicyLogic

func NewAddPolicyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPolicyLogic

func (*AddPolicyLogic) AddPolicy

type EnforceLogic

type EnforceLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewEnforceLogic

func NewEnforceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EnforceLogic

func (*EnforceLogic) Enforce

func (l *EnforceLogic) Enforce(in *system.EnforceReq) (*system.EnforceResp, error)

Jump to

Keyboard shortcuts

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