webcustom

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectRpcCheckRight

func InjectRpcCheckRight(s *RpcCheckRight)

func InjectRpcNocheckRight

func InjectRpcNocheckRight(s *RpcNocheckRight)

func LoadRpcCheckRight

func LoadRpcCheckRight() baseiface.ISingleton

func LoadRpcNocheckRight

func LoadRpcNocheckRight() baseiface.ISingleton

Types

type RpcCheckRight

type RpcCheckRight struct {
	basedto.BaseEntitySingle
	// contains filtered or unexported fields
}

func FindBeanRpcCheckRight

func FindBeanRpcCheckRight() *RpcCheckRight

FindBeanRpcCheckRight

func NewRpcCheckRight

func NewRpcCheckRight() *RpcCheckRight

func (*RpcCheckRight) IfCheckRes

func (self *RpcCheckRight) IfCheckRes() bool

func (*RpcCheckRight) IfCheckSession

func (self *RpcCheckRight) IfCheckSession() bool

func (*RpcCheckRight) Init

func (self *RpcCheckRight) Init(ctx *gin.Context)

func (*RpcCheckRight) InitDisabled

func (self *RpcCheckRight) InitDisabled(ctx *gin.Context)

func (*RpcCheckRight) RpcCheckAllowed

func (self *RpcCheckRight) RpcCheckAllowed(ctx context.Context, in *webdto.WebCheckRequest) (*webdto.WebCheckResult, error)

func (*RpcCheckRight) RpcGetUserId

func (self *RpcCheckRight) RpcGetUserId(ctx *gin.Context) *webdto.WebUserId

func (*RpcCheckRight) RpcSetUserId

func (self *RpcCheckRight) RpcSetUserId(ctx *gin.Context)

func (*RpcCheckRight) RpcUserIdGetBySession

func (self *RpcCheckRight) RpcUserIdGetBySession(ctx *gin.Context, token string) (*webdto.WebUserId, error)

func (*RpcCheckRight) SetIfCheckRes

func (self *RpcCheckRight) SetIfCheckRes(ifCheckRes bool)

type RpcNocheckRight

type RpcNocheckRight struct {
	*RpcCheckRight
}

func FindBeanRpcNocheckRight

func FindBeanRpcNocheckRight() *RpcNocheckRight

FindBeanRpcNocheckRight

func NewRpcNochkRight

func NewRpcNochkRight() *RpcNocheckRight

func (*RpcNocheckRight) IfCheckSession

func (self *RpcNocheckRight) IfCheckSession() bool

Jump to

Keyboard shortcuts

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