Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CasbinServer ¶
type CasbinServer struct { system.UnimplementedCasbinServer // contains filtered or unexported fields }
func NewCasbinServer ¶
func NewCasbinServer(svcCtx *svc.ServiceContext) *CasbinServer
func (*CasbinServer) AddPolicy ¶
func (s *CasbinServer) AddPolicy(ctx context.Context, in *system.AddPolicyReq) (*system.AddPolicyResp, error)
func (*CasbinServer) Enforce ¶
func (s *CasbinServer) Enforce(ctx context.Context, in *system.EnforceReq) (*system.EnforceResp, error)
Click to show internal directories.
Click to hide internal directories.