Documentation ¶
Index ¶
- func InjectRpcCheckRight(s *RpcCheckRight)
- func InjectRpcNocheckRight(s *RpcNocheckRight)
- func LoadRpcCheckRight() baseiface.ISingleton
- func LoadRpcNocheckRight() baseiface.ISingleton
- type RpcCheckRight
- func (self *RpcCheckRight) IfCheckRes() bool
- func (self *RpcCheckRight) IfCheckSession() bool
- func (self *RpcCheckRight) Init(ctx *gin.Context)
- func (self *RpcCheckRight) InitDisabled(ctx *gin.Context)
- func (self *RpcCheckRight) RpcCheckAllowed(ctx context.Context, in *webdto.WebCheckRequest) (*webdto.WebCheckResult, error)
- func (self *RpcCheckRight) RpcGetUserId(ctx *gin.Context) *webdto.WebUserId
- func (self *RpcCheckRight) RpcSetUserId(ctx *gin.Context)
- func (self *RpcCheckRight) RpcUserIdGetBySession(ctx *gin.Context, token string) (*webdto.WebUserId, error)
- func (self *RpcCheckRight) SetIfCheckRes(ifCheckRes bool)
- type RpcNocheckRight
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 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 (*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
Click to show internal directories.
Click to hide internal directories.