Documentation ¶
Index ¶
- type UserSvc
- func (s *UserSvc) AddRole(ctx context.Context, req *pb.AddRoleReq) (*pb.RoleResp, error)
- func (s *UserSvc) AddUser(ctx context.Context, req *pb.AddUserReq) (*pb.UserResp, error)
- func (s *UserSvc) FndRoles(ctx context.Context, req *pb.FndRolesReq) (*pb.RolesResp, error)
- func (s *UserSvc) FndUsers(ctx context.Context, req *pb.FndUsersReq) (*pb.UsersResp, error)
- func (s *UserSvc) MigrationData() (string, map[string][]byte)
- func (s *UserSvc) OvrUser(ctx context.Context, req *pb.OvrUserReq) (*pb.UserResp, error)
- func (s *UserSvc) RegisterWithGRPCServer(g *grpc.Server) error
- func (s *UserSvc) Regularize(ctx context.Context) error
- func (s *UserSvc) RmvUser(ctx context.Context, req *pb.RmvUserReq) (*pb.RmvUserResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserSvc ¶
type UserSvc struct {
// contains filtered or unexported fields
}
UserSvc encapsulates dependencies and data required to implement the pb.UserServer interface.
func (*UserSvc) MigrationData ¶
MigrationData ...
func (*UserSvc) RegisterWithGRPCServer ¶
RegisterWithGRPCServer implements the grpcsrv.Registerable interface.
func (*UserSvc) RmvUser ¶
func (s *UserSvc) RmvUser(ctx context.Context, req *pb.RmvUserReq) (*pb.RmvUserResp, error)
RmvUser implements part of the pb.UserServer interface.
Click to show internal directories.
Click to hide internal directories.