Documentation ¶
Index ¶
- type Perm
- func (s *Perm) Delete(ctx context.Context, req *proto.PermInfo, res *proto.PermInfo) error
- func (s *Perm) Insert(ctx context.Context, req *proto.PermInfo, res *proto.PermInfo) error
- func (s *Perm) Select(ctx context.Context, req *proto.PermInfo, res *proto.PermInfo) error
- func (s *Perm) Update(ctx context.Context, req *proto.PermWrapper, res *proto.PermInfo) error
- type Role
- func (s *Role) Delete(ctx context.Context, req *proto.RoleInfo, res *proto.RoleInfo) error
- func (s *Role) Insert(ctx context.Context, req *proto.RoleInfo, res *proto.RoleInfo) error
- func (s *Role) Perm(ctx context.Context, req *proto.Modification, res *proto.Result) error
- func (s *Role) Perms(ctx context.Context, req *proto.Identity, res *proto.Result) error
- func (s *Role) Select(ctx context.Context, req *proto.RoleInfo, res *proto.RoleInfo) error
- func (s *Role) Update(ctx context.Context, req *proto.RoleWrapper, res *proto.RoleInfo) error
- type User
- func (s *User) Change(ctx context.Context, req *proto.UserToken, res *proto.UserToken) error
- func (s *User) Check(ctx context.Context, req *proto.UserToken, res *proto.UserToken) error
- func (s *User) Delete(ctx context.Context, req *proto.UserAuth, res *proto.UserToken) error
- func (s *User) Info(ctx context.Context, req *proto.UserToken, res *proto.UserToken) error
- func (s *User) Insert(ctx context.Context, req *proto.UserAuth, res *proto.UserToken) error
- func (s *User) Login(ctx context.Context, req *proto.UserAuth, res *proto.UserToken) error
- func (s *User) Perms(ctx context.Context, req *proto.Identity, res *proto.Result) error
- func (s *User) Register(ctx context.Context, req *proto.UserAuth, res *proto.UserToken) error
- func (s *User) Role(ctx context.Context, req *proto.Modification, res *proto.Result) error
- func (s *User) Roles(ctx context.Context, req *proto.Identity, res *proto.Result) error
- func (s *User) Select(ctx context.Context, req *proto.UserAuth, res *proto.UserToken) error
- func (s *User) Update(ctx context.Context, req *proto.UserToken, res *proto.UserToken) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Perm ¶
type Perm struct{}
Perm Handler
type Role ¶
type Role struct { }
Role Handler
type User ¶
type User struct{}
User Handler
Click to show internal directories.
Click to hide internal directories.