Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetBtn() string
- func (x *Action) GetCode() string
- func (x *Action) GetId() uint64
- func (x *Action) GetMenu() string
- func (x *Action) GetName() string
- func (x *Action) GetResource() string
- func (x *Action) GetWord() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- func (m *Action) Validate() error
- func (m *Action) ValidateAll() error
- type ActionMultiError
- type ActionValidationError
- type AuthClient
- type AuthHTTPClient
- type AuthHTTPClientImpl
- func (c *AuthHTTPClientImpl) Captcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
- func (c *AuthHTTPClientImpl) CreateAction(ctx context.Context, in *CreateActionRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) CreateWhitelist(ctx context.Context, in *CreateWhitelistRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) DeleteAction(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) DeleteRole(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) DeleteUser(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) DeleteUserGroup(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) DeleteWhitelist(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) FindAction(ctx context.Context, in *FindActionRequest, opts ...http.CallOption) (*FindActionReply, error)
- func (c *AuthHTTPClientImpl) FindRole(ctx context.Context, in *FindRoleRequest, opts ...http.CallOption) (*FindRoleReply, error)
- func (c *AuthHTTPClientImpl) FindUser(ctx context.Context, in *FindUserRequest, opts ...http.CallOption) (*FindUserReply, error)
- func (c *AuthHTTPClientImpl) FindUserGroup(ctx context.Context, in *FindUserGroupRequest, opts ...http.CallOption) (*FindUserGroupReply, error)
- func (c *AuthHTTPClientImpl) FindWhitelist(ctx context.Context, in *FindWhitelistRequest, opts ...http.CallOption) (*FindWhitelistReply, error)
- func (c *AuthHTTPClientImpl) Idempotent(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*IdempotentReply, error)
- func (c *AuthHTTPClientImpl) Info(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*InfoReply, error)
- func (c *AuthHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *AuthHTTPClientImpl) Logout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) Permission(ctx context.Context, in *PermissionRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) Pwd(ctx context.Context, in *PwdRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) Refresh(ctx context.Context, in *RefreshRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *AuthHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) Status(ctx context.Context, in *StatusRequest, opts ...http.CallOption) (*StatusReply, error)
- func (c *AuthHTTPClientImpl) UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *AuthHTTPClientImpl) UpdateWhitelist(ctx context.Context, in *UpdateWhitelistRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- type AuthHTTPServer
- type AuthServer
- type Captcha
- func (*Captcha) Descriptor() ([]byte, []int)deprecated
- func (x *Captcha) GetId() string
- func (x *Captcha) GetImg() string
- func (*Captcha) ProtoMessage()
- func (x *Captcha) ProtoReflect() protoreflect.Message
- func (x *Captcha) Reset()
- func (x *Captcha) String() string
- func (m *Captcha) Validate() error
- func (m *Captcha) ValidateAll() error
- type CaptchaMultiError
- type CaptchaReply
- func (*CaptchaReply) Descriptor() ([]byte, []int)deprecated
- func (x *CaptchaReply) GetCaptcha() *Captcha
- func (*CaptchaReply) ProtoMessage()
- func (x *CaptchaReply) ProtoReflect() protoreflect.Message
- func (x *CaptchaReply) Reset()
- func (x *CaptchaReply) String() string
- func (m *CaptchaReply) Validate() error
- func (m *CaptchaReply) ValidateAll() error
- type CaptchaReplyMultiError
- type CaptchaReplyValidationError
- func (e CaptchaReplyValidationError) Cause() error
- func (e CaptchaReplyValidationError) Error() string
- func (e CaptchaReplyValidationError) ErrorName() string
- func (e CaptchaReplyValidationError) Field() string
- func (e CaptchaReplyValidationError) Key() bool
- func (e CaptchaReplyValidationError) Reason() string
- type CaptchaValidationError
- type CheckIdempotentRequest
- func (*CheckIdempotentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckIdempotentRequest) GetToken() string
- func (*CheckIdempotentRequest) ProtoMessage()
- func (x *CheckIdempotentRequest) ProtoReflect() protoreflect.Message
- func (x *CheckIdempotentRequest) Reset()
- func (x *CheckIdempotentRequest) String() string
- func (m *CheckIdempotentRequest) Validate() error
- func (m *CheckIdempotentRequest) ValidateAll() error
- type CheckIdempotentRequestMultiError
- type CheckIdempotentRequestValidationError
- func (e CheckIdempotentRequestValidationError) Cause() error
- func (e CheckIdempotentRequestValidationError) Error() string
- func (e CheckIdempotentRequestValidationError) ErrorName() string
- func (e CheckIdempotentRequestValidationError) Field() string
- func (e CheckIdempotentRequestValidationError) Key() bool
- func (e CheckIdempotentRequestValidationError) Reason() string
- type CreateActionRequest
- func (*CreateActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActionRequest) GetBtn() string
- func (x *CreateActionRequest) GetMenu() string
- func (x *CreateActionRequest) GetName() string
- func (x *CreateActionRequest) GetResource() string
- func (x *CreateActionRequest) GetWord() string
- func (*CreateActionRequest) ProtoMessage()
- func (x *CreateActionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActionRequest) Reset()
- func (x *CreateActionRequest) String() string
- func (m *CreateActionRequest) Validate() error
- func (m *CreateActionRequest) ValidateAll() error
- type CreateActionRequestMultiError
- type CreateActionRequestValidationError
- func (e CreateActionRequestValidationError) Cause() error
- func (e CreateActionRequestValidationError) Error() string
- func (e CreateActionRequestValidationError) ErrorName() string
- func (e CreateActionRequestValidationError) Field() string
- func (e CreateActionRequestValidationError) Key() bool
- func (e CreateActionRequestValidationError) Reason() string
- type CreateRoleRequest
- func (*CreateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleRequest) GetAction() string
- func (x *CreateRoleRequest) GetName() string
- func (x *CreateRoleRequest) GetWord() string
- func (*CreateRoleRequest) ProtoMessage()
- func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoleRequest) Reset()
- func (x *CreateRoleRequest) String() string
- func (m *CreateRoleRequest) Validate() error
- func (m *CreateRoleRequest) ValidateAll() error
- type CreateRoleRequestMultiError
- type CreateRoleRequestValidationError
- func (e CreateRoleRequestValidationError) Cause() error
- func (e CreateRoleRequestValidationError) Error() string
- func (e CreateRoleRequestValidationError) ErrorName() string
- func (e CreateRoleRequestValidationError) Field() string
- func (e CreateRoleRequestValidationError) Key() bool
- func (e CreateRoleRequestValidationError) Reason() string
- type CreateUserGroupRequest
- func (*CreateUserGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserGroupRequest) GetAction() string
- func (x *CreateUserGroupRequest) GetName() string
- func (x *CreateUserGroupRequest) GetUsers() []uint64
- func (x *CreateUserGroupRequest) GetWord() string
- func (*CreateUserGroupRequest) ProtoMessage()
- func (x *CreateUserGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserGroupRequest) Reset()
- func (x *CreateUserGroupRequest) String() string
- func (m *CreateUserGroupRequest) Validate() error
- func (m *CreateUserGroupRequest) ValidateAll() error
- type CreateUserGroupRequestMultiError
- type CreateUserGroupRequestValidationError
- func (e CreateUserGroupRequestValidationError) Cause() error
- func (e CreateUserGroupRequestValidationError) Error() string
- func (e CreateUserGroupRequestValidationError) ErrorName() string
- func (e CreateUserGroupRequestValidationError) Field() string
- func (e CreateUserGroupRequestValidationError) Key() bool
- func (e CreateUserGroupRequestValidationError) Reason() string
- type CreateWhitelistRequest
- func (*CreateWhitelistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWhitelistRequest) GetCategory() uint32
- func (x *CreateWhitelistRequest) GetResource() string
- func (*CreateWhitelistRequest) ProtoMessage()
- func (x *CreateWhitelistRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWhitelistRequest) Reset()
- func (x *CreateWhitelistRequest) String() string
- func (m *CreateWhitelistRequest) Validate() error
- func (m *CreateWhitelistRequest) ValidateAll() error
- type CreateWhitelistRequestMultiError
- type CreateWhitelistRequestValidationError
- func (e CreateWhitelistRequestValidationError) Cause() error
- func (e CreateWhitelistRequestValidationError) Error() string
- func (e CreateWhitelistRequestValidationError) ErrorName() string
- func (e CreateWhitelistRequestValidationError) Field() string
- func (e CreateWhitelistRequestValidationError) Key() bool
- func (e CreateWhitelistRequestValidationError) Reason() string
- type FindActionReply
- func (*FindActionReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindActionReply) GetList() []*Action
- func (x *FindActionReply) GetPage() *params.Page
- func (*FindActionReply) ProtoMessage()
- func (x *FindActionReply) ProtoReflect() protoreflect.Message
- func (x *FindActionReply) Reset()
- func (x *FindActionReply) String() string
- func (m *FindActionReply) Validate() error
- func (m *FindActionReply) ValidateAll() error
- type FindActionReplyMultiError
- type FindActionReplyValidationError
- func (e FindActionReplyValidationError) Cause() error
- func (e FindActionReplyValidationError) Error() string
- func (e FindActionReplyValidationError) ErrorName() string
- func (e FindActionReplyValidationError) Field() string
- func (e FindActionReplyValidationError) Key() bool
- func (e FindActionReplyValidationError) Reason() string
- type FindActionRequest
- func (*FindActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindActionRequest) GetCode() string
- func (x *FindActionRequest) GetName() string
- func (x *FindActionRequest) GetPage() *params.Page
- func (x *FindActionRequest) GetResource() string
- func (x *FindActionRequest) GetWord() string
- func (*FindActionRequest) ProtoMessage()
- func (x *FindActionRequest) ProtoReflect() protoreflect.Message
- func (x *FindActionRequest) Reset()
- func (x *FindActionRequest) String() string
- func (m *FindActionRequest) Validate() error
- func (m *FindActionRequest) ValidateAll() error
- type FindActionRequestMultiError
- type FindActionRequestValidationError
- func (e FindActionRequestValidationError) Cause() error
- func (e FindActionRequestValidationError) Error() string
- func (e FindActionRequestValidationError) ErrorName() string
- func (e FindActionRequestValidationError) Field() string
- func (e FindActionRequestValidationError) Key() bool
- func (e FindActionRequestValidationError) Reason() string
- type FindRoleReply
- func (*FindRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindRoleReply) GetList() []*Role
- func (x *FindRoleReply) GetPage() *params.Page
- func (*FindRoleReply) ProtoMessage()
- func (x *FindRoleReply) ProtoReflect() protoreflect.Message
- func (x *FindRoleReply) Reset()
- func (x *FindRoleReply) String() string
- func (m *FindRoleReply) Validate() error
- func (m *FindRoleReply) ValidateAll() error
- type FindRoleReplyMultiError
- type FindRoleReplyValidationError
- func (e FindRoleReplyValidationError) Cause() error
- func (e FindRoleReplyValidationError) Error() string
- func (e FindRoleReplyValidationError) ErrorName() string
- func (e FindRoleReplyValidationError) Field() string
- func (e FindRoleReplyValidationError) Key() bool
- func (e FindRoleReplyValidationError) Reason() string
- type FindRoleRequest
- func (*FindRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRoleRequest) GetAction() string
- func (x *FindRoleRequest) GetName() string
- func (x *FindRoleRequest) GetPage() *params.Page
- func (x *FindRoleRequest) GetWord() string
- func (*FindRoleRequest) ProtoMessage()
- func (x *FindRoleRequest) ProtoReflect() protoreflect.Message
- func (x *FindRoleRequest) Reset()
- func (x *FindRoleRequest) String() string
- func (m *FindRoleRequest) Validate() error
- func (m *FindRoleRequest) ValidateAll() error
- type FindRoleRequestMultiError
- type FindRoleRequestValidationError
- func (e FindRoleRequestValidationError) Cause() error
- func (e FindRoleRequestValidationError) Error() string
- func (e FindRoleRequestValidationError) ErrorName() string
- func (e FindRoleRequestValidationError) Field() string
- func (e FindRoleRequestValidationError) Key() bool
- func (e FindRoleRequestValidationError) Reason() string
- type FindUserGroupReply
- func (*FindUserGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserGroupReply) GetList() []*UserGroup
- func (x *FindUserGroupReply) GetPage() *params.Page
- func (*FindUserGroupReply) ProtoMessage()
- func (x *FindUserGroupReply) ProtoReflect() protoreflect.Message
- func (x *FindUserGroupReply) Reset()
- func (x *FindUserGroupReply) String() string
- func (m *FindUserGroupReply) Validate() error
- func (m *FindUserGroupReply) ValidateAll() error
- type FindUserGroupReplyMultiError
- type FindUserGroupReplyValidationError
- func (e FindUserGroupReplyValidationError) Cause() error
- func (e FindUserGroupReplyValidationError) Error() string
- func (e FindUserGroupReplyValidationError) ErrorName() string
- func (e FindUserGroupReplyValidationError) Field() string
- func (e FindUserGroupReplyValidationError) Key() bool
- func (e FindUserGroupReplyValidationError) Reason() string
- type FindUserGroupRequest
- func (*FindUserGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserGroupRequest) GetAction() string
- func (x *FindUserGroupRequest) GetName() string
- func (x *FindUserGroupRequest) GetPage() *params.Page
- func (x *FindUserGroupRequest) GetWord() string
- func (*FindUserGroupRequest) ProtoMessage()
- func (x *FindUserGroupRequest) ProtoReflect() protoreflect.Message
- func (x *FindUserGroupRequest) Reset()
- func (x *FindUserGroupRequest) String() string
- func (m *FindUserGroupRequest) Validate() error
- func (m *FindUserGroupRequest) ValidateAll() error
- type FindUserGroupRequestMultiError
- type FindUserGroupRequestValidationError
- func (e FindUserGroupRequestValidationError) Cause() error
- func (e FindUserGroupRequestValidationError) Error() string
- func (e FindUserGroupRequestValidationError) ErrorName() string
- func (e FindUserGroupRequestValidationError) Field() string
- func (e FindUserGroupRequestValidationError) Key() bool
- func (e FindUserGroupRequestValidationError) Reason() string
- type FindUserReply
- func (*FindUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserReply) GetList() []*User
- func (x *FindUserReply) GetPage() *params.Page
- func (*FindUserReply) ProtoMessage()
- func (x *FindUserReply) ProtoReflect() protoreflect.Message
- func (x *FindUserReply) Reset()
- func (x *FindUserReply) String() string
- func (m *FindUserReply) Validate() error
- func (m *FindUserReply) ValidateAll() error
- type FindUserReplyMultiError
- type FindUserReplyValidationError
- func (e FindUserReplyValidationError) Cause() error
- func (e FindUserReplyValidationError) Error() string
- func (e FindUserReplyValidationError) ErrorName() string
- func (e FindUserReplyValidationError) Field() string
- func (e FindUserReplyValidationError) Key() bool
- func (e FindUserReplyValidationError) Reason() string
- type FindUserRequest
- func (*FindUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindUserRequest) GetCode() string
- func (x *FindUserRequest) GetEndCreatedAt() string
- func (x *FindUserRequest) GetEndUpdatedAt() string
- func (x *FindUserRequest) GetLocked() bool
- func (x *FindUserRequest) GetPage() *params.Page
- func (x *FindUserRequest) GetPlatform() string
- func (x *FindUserRequest) GetStartCreatedAt() string
- func (x *FindUserRequest) GetStartUpdatedAt() string
- func (x *FindUserRequest) GetUsername() string
- func (*FindUserRequest) ProtoMessage()
- func (x *FindUserRequest) ProtoReflect() protoreflect.Message
- func (x *FindUserRequest) Reset()
- func (x *FindUserRequest) String() string
- func (m *FindUserRequest) Validate() error
- func (m *FindUserRequest) ValidateAll() error
- type FindUserRequestMultiError
- type FindUserRequestValidationError
- func (e FindUserRequestValidationError) Cause() error
- func (e FindUserRequestValidationError) Error() string
- func (e FindUserRequestValidationError) ErrorName() string
- func (e FindUserRequestValidationError) Field() string
- func (e FindUserRequestValidationError) Key() bool
- func (e FindUserRequestValidationError) Reason() string
- type FindWhitelistReply
- func (*FindWhitelistReply) Descriptor() ([]byte, []int)deprecated
- func (x *FindWhitelistReply) GetList() []*Whitelist
- func (x *FindWhitelistReply) GetPage() *params.Page
- func (*FindWhitelistReply) ProtoMessage()
- func (x *FindWhitelistReply) ProtoReflect() protoreflect.Message
- func (x *FindWhitelistReply) Reset()
- func (x *FindWhitelistReply) String() string
- func (m *FindWhitelistReply) Validate() error
- func (m *FindWhitelistReply) ValidateAll() error
- type FindWhitelistReplyMultiError
- type FindWhitelistReplyValidationError
- func (e FindWhitelistReplyValidationError) Cause() error
- func (e FindWhitelistReplyValidationError) Error() string
- func (e FindWhitelistReplyValidationError) ErrorName() string
- func (e FindWhitelistReplyValidationError) Field() string
- func (e FindWhitelistReplyValidationError) Key() bool
- func (e FindWhitelistReplyValidationError) Reason() string
- type FindWhitelistRequest
- func (*FindWhitelistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindWhitelistRequest) GetCategory() uint32
- func (x *FindWhitelistRequest) GetPage() *params.Page
- func (x *FindWhitelistRequest) GetResource() string
- func (*FindWhitelistRequest) ProtoMessage()
- func (x *FindWhitelistRequest) ProtoReflect() protoreflect.Message
- func (x *FindWhitelistRequest) Reset()
- func (x *FindWhitelistRequest) String() string
- func (m *FindWhitelistRequest) Validate() error
- func (m *FindWhitelistRequest) ValidateAll() error
- type FindWhitelistRequestMultiError
- type FindWhitelistRequestValidationError
- func (e FindWhitelistRequestValidationError) Cause() error
- func (e FindWhitelistRequestValidationError) Error() string
- func (e FindWhitelistRequestValidationError) ErrorName() string
- func (e FindWhitelistRequestValidationError) Field() string
- func (e FindWhitelistRequestValidationError) Key() bool
- func (e FindWhitelistRequestValidationError) Reason() string
- type GetUserByCodeReply
- func (*GetUserByCodeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByCodeReply) GetUser() *User
- func (*GetUserByCodeReply) ProtoMessage()
- func (x *GetUserByCodeReply) ProtoReflect() protoreflect.Message
- func (x *GetUserByCodeReply) Reset()
- func (x *GetUserByCodeReply) String() string
- func (m *GetUserByCodeReply) Validate() error
- func (m *GetUserByCodeReply) ValidateAll() error
- type GetUserByCodeReplyMultiError
- type GetUserByCodeReplyValidationError
- func (e GetUserByCodeReplyValidationError) Cause() error
- func (e GetUserByCodeReplyValidationError) Error() string
- func (e GetUserByCodeReplyValidationError) ErrorName() string
- func (e GetUserByCodeReplyValidationError) Field() string
- func (e GetUserByCodeReplyValidationError) Key() bool
- func (e GetUserByCodeReplyValidationError) Reason() string
- type GetUserByCodeRequest
- func (*GetUserByCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByCodeRequest) GetCode() string
- func (*GetUserByCodeRequest) ProtoMessage()
- func (x *GetUserByCodeRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByCodeRequest) Reset()
- func (x *GetUserByCodeRequest) String() string
- func (m *GetUserByCodeRequest) Validate() error
- func (m *GetUserByCodeRequest) ValidateAll() error
- type GetUserByCodeRequestMultiError
- type GetUserByCodeRequestValidationError
- func (e GetUserByCodeRequestValidationError) Cause() error
- func (e GetUserByCodeRequestValidationError) Error() string
- func (e GetUserByCodeRequestValidationError) ErrorName() string
- func (e GetUserByCodeRequestValidationError) Field() string
- func (e GetUserByCodeRequestValidationError) Key() bool
- func (e GetUserByCodeRequestValidationError) Reason() string
- type HasWhitelistReply
- func (*HasWhitelistReply) Descriptor() ([]byte, []int)deprecated
- func (x *HasWhitelistReply) GetOk() bool
- func (*HasWhitelistReply) ProtoMessage()
- func (x *HasWhitelistReply) ProtoReflect() protoreflect.Message
- func (x *HasWhitelistReply) Reset()
- func (x *HasWhitelistReply) String() string
- func (m *HasWhitelistReply) Validate() error
- func (m *HasWhitelistReply) ValidateAll() error
- type HasWhitelistReplyMultiError
- type HasWhitelistReplyValidationError
- func (e HasWhitelistReplyValidationError) Cause() error
- func (e HasWhitelistReplyValidationError) Error() string
- func (e HasWhitelistReplyValidationError) ErrorName() string
- func (e HasWhitelistReplyValidationError) Field() string
- func (e HasWhitelistReplyValidationError) Key() bool
- func (e HasWhitelistReplyValidationError) Reason() string
- type HasWhitelistRequest
- func (*HasWhitelistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HasWhitelistRequest) GetCategory() uint32
- func (x *HasWhitelistRequest) GetPermission() *HasWhitelistRequest_CheckPermission
- func (*HasWhitelistRequest) ProtoMessage()
- func (x *HasWhitelistRequest) ProtoReflect() protoreflect.Message
- func (x *HasWhitelistRequest) Reset()
- func (x *HasWhitelistRequest) String() string
- func (m *HasWhitelistRequest) Validate() error
- func (m *HasWhitelistRequest) ValidateAll() error
- type HasWhitelistRequestMultiError
- type HasWhitelistRequestValidationError
- func (e HasWhitelistRequestValidationError) Cause() error
- func (e HasWhitelistRequestValidationError) Error() string
- func (e HasWhitelistRequestValidationError) ErrorName() string
- func (e HasWhitelistRequestValidationError) Field() string
- func (e HasWhitelistRequestValidationError) Key() bool
- func (e HasWhitelistRequestValidationError) Reason() string
- type HasWhitelistRequest_CheckPermission
- func (*HasWhitelistRequest_CheckPermission) Descriptor() ([]byte, []int)deprecated
- func (x *HasWhitelistRequest_CheckPermission) GetMethod() string
- func (x *HasWhitelistRequest_CheckPermission) GetResource() string
- func (x *HasWhitelistRequest_CheckPermission) GetUri() string
- func (*HasWhitelistRequest_CheckPermission) ProtoMessage()
- func (x *HasWhitelistRequest_CheckPermission) ProtoReflect() protoreflect.Message
- func (x *HasWhitelistRequest_CheckPermission) Reset()
- func (x *HasWhitelistRequest_CheckPermission) String() string
- func (m *HasWhitelistRequest_CheckPermission) Validate() error
- func (m *HasWhitelistRequest_CheckPermission) ValidateAll() error
- type HasWhitelistRequest_CheckPermissionMultiError
- type HasWhitelistRequest_CheckPermissionValidationError
- func (e HasWhitelistRequest_CheckPermissionValidationError) Cause() error
- func (e HasWhitelistRequest_CheckPermissionValidationError) Error() string
- func (e HasWhitelistRequest_CheckPermissionValidationError) ErrorName() string
- func (e HasWhitelistRequest_CheckPermissionValidationError) Field() string
- func (e HasWhitelistRequest_CheckPermissionValidationError) Key() bool
- func (e HasWhitelistRequest_CheckPermissionValidationError) Reason() string
- type IdempotentReply
- func (*IdempotentReply) Descriptor() ([]byte, []int)deprecated
- func (x *IdempotentReply) GetToken() string
- func (*IdempotentReply) ProtoMessage()
- func (x *IdempotentReply) ProtoReflect() protoreflect.Message
- func (x *IdempotentReply) Reset()
- func (x *IdempotentReply) String() string
- func (m *IdempotentReply) Validate() error
- func (m *IdempotentReply) ValidateAll() error
- type IdempotentReplyMultiError
- type IdempotentReplyValidationError
- func (e IdempotentReplyValidationError) Cause() error
- func (e IdempotentReplyValidationError) Error() string
- func (e IdempotentReplyValidationError) ErrorName() string
- func (e IdempotentReplyValidationError) Field() string
- func (e IdempotentReplyValidationError) Key() bool
- func (e IdempotentReplyValidationError) Reason() string
- type InfoReply
- func (*InfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *InfoReply) GetCode() string
- func (x *InfoReply) GetId() uint64
- func (x *InfoReply) GetPermission() *Permission
- func (x *InfoReply) GetPlatform() string
- func (x *InfoReply) GetUsername() string
- func (*InfoReply) ProtoMessage()
- func (x *InfoReply) ProtoReflect() protoreflect.Message
- func (x *InfoReply) Reset()
- func (x *InfoReply) String() string
- func (m *InfoReply) Validate() error
- func (m *InfoReply) ValidateAll() error
- type InfoReplyMultiError
- type InfoReplyValidationError
- type LoginReply
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReply) GetExpires() string
- func (x *LoginReply) GetToken() string
- func (*LoginReply) ProtoMessage()
- func (x *LoginReply) ProtoReflect() protoreflect.Message
- func (x *LoginReply) Reset()
- func (x *LoginReply) String() string
- func (m *LoginReply) Validate() error
- func (m *LoginReply) ValidateAll() error
- type LoginReplyMultiError
- type LoginReplyValidationError
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetCaptchaAnswer() string
- func (x *LoginRequest) GetCaptchaId() string
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetPlatform() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetBtns() []string
- func (x *Permission) GetMenus() []string
- func (x *Permission) GetResources() []string
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- func (m *Permission) Validate() error
- func (m *Permission) ValidateAll() error
- type PermissionMultiError
- type PermissionRequest
- func (*PermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionRequest) GetMethod() string
- func (x *PermissionRequest) GetResource() string
- func (x *PermissionRequest) GetUri() string
- func (*PermissionRequest) ProtoMessage()
- func (x *PermissionRequest) ProtoReflect() protoreflect.Message
- func (x *PermissionRequest) Reset()
- func (x *PermissionRequest) String() string
- func (m *PermissionRequest) Validate() error
- func (m *PermissionRequest) ValidateAll() error
- type PermissionRequestMultiError
- type PermissionRequestValidationError
- func (e PermissionRequestValidationError) Cause() error
- func (e PermissionRequestValidationError) Error() string
- func (e PermissionRequestValidationError) ErrorName() string
- func (e PermissionRequestValidationError) Field() string
- func (e PermissionRequestValidationError) Key() bool
- func (e PermissionRequestValidationError) Reason() string
- type PermissionValidationError
- type PwdRequest
- func (*PwdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PwdRequest) GetNewPassword() string
- func (x *PwdRequest) GetOldPassword() string
- func (x *PwdRequest) GetUsername() string
- func (*PwdRequest) ProtoMessage()
- func (x *PwdRequest) ProtoReflect() protoreflect.Message
- func (x *PwdRequest) Reset()
- func (x *PwdRequest) String() string
- func (m *PwdRequest) Validate() error
- func (m *PwdRequest) ValidateAll() error
- type PwdRequestMultiError
- type PwdRequestValidationError
- type RefreshRequest
- func (*RefreshRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshRequest) GetToken() string
- func (*RefreshRequest) ProtoMessage()
- func (x *RefreshRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshRequest) Reset()
- func (x *RefreshRequest) String() string
- func (m *RefreshRequest) Validate() error
- func (m *RefreshRequest) ValidateAll() error
- type RefreshRequestMultiError
- type RefreshRequestValidationError
- func (e RefreshRequestValidationError) Cause() error
- func (e RefreshRequestValidationError) Error() string
- func (e RefreshRequestValidationError) ErrorName() string
- func (e RefreshRequestValidationError) Field() string
- func (e RefreshRequestValidationError) Key() bool
- func (e RefreshRequestValidationError) Reason() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetCaptchaAnswer() string
- func (x *RegisterRequest) GetCaptchaId() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetPlatform() string
- func (x *RegisterRequest) GetUsername() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- func (m *RegisterRequest) Validate() error
- func (m *RegisterRequest) ValidateAll() error
- type RegisterRequestMultiError
- type RegisterRequestValidationError
- func (e RegisterRequestValidationError) Cause() error
- func (e RegisterRequestValidationError) Error() string
- func (e RegisterRequestValidationError) ErrorName() string
- func (e RegisterRequestValidationError) Field() string
- func (e RegisterRequestValidationError) Key() bool
- func (e RegisterRequestValidationError) Reason() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetAction() string
- func (x *Role) GetActions() []*Action
- func (x *Role) GetId() uint64
- func (x *Role) GetName() string
- func (x *Role) GetWord() string
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) ValidateAll() error
- type RoleMultiError
- type RoleValidationError
- type StatusReply
- func (*StatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *StatusReply) GetCaptcha() *Captcha
- func (x *StatusReply) GetLockExpire() int64
- func (x *StatusReply) GetLocked() bool
- func (*StatusReply) ProtoMessage()
- func (x *StatusReply) ProtoReflect() protoreflect.Message
- func (x *StatusReply) Reset()
- func (x *StatusReply) String() string
- func (m *StatusReply) Validate() error
- func (m *StatusReply) ValidateAll() error
- type StatusReplyMultiError
- type StatusReplyValidationError
- func (e StatusReplyValidationError) Cause() error
- func (e StatusReplyValidationError) Error() string
- func (e StatusReplyValidationError) ErrorName() string
- func (e StatusReplyValidationError) Field() string
- func (e StatusReplyValidationError) Key() bool
- func (e StatusReplyValidationError) Reason() string
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatusRequest) GetUsername() string
- func (*StatusRequest) ProtoMessage()
- func (x *StatusRequest) ProtoReflect() protoreflect.Message
- func (x *StatusRequest) Reset()
- func (x *StatusRequest) String() string
- func (m *StatusRequest) Validate() error
- func (m *StatusRequest) ValidateAll() error
- type StatusRequestMultiError
- type StatusRequestValidationError
- func (e StatusRequestValidationError) Cause() error
- func (e StatusRequestValidationError) Error() string
- func (e StatusRequestValidationError) ErrorName() string
- func (e StatusRequestValidationError) Field() string
- func (e StatusRequestValidationError) Key() bool
- func (e StatusRequestValidationError) Reason() string
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) Captcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
- func (UnimplementedAuthServer) CheckIdempotent(context.Context, *CheckIdempotentRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) CreateRole(context.Context, *CreateRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) CreateUserGroup(context.Context, *CreateUserGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) CreateWhitelist(context.Context, *CreateWhitelistRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) DeleteAction(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) DeleteRole(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) DeleteUser(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) DeleteUserGroup(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) DeleteWhitelist(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) FindAction(context.Context, *FindActionRequest) (*FindActionReply, error)
- func (UnimplementedAuthServer) FindRole(context.Context, *FindRoleRequest) (*FindRoleReply, error)
- func (UnimplementedAuthServer) FindUser(context.Context, *FindUserRequest) (*FindUserReply, error)
- func (UnimplementedAuthServer) FindUserGroup(context.Context, *FindUserGroupRequest) (*FindUserGroupReply, error)
- func (UnimplementedAuthServer) FindWhitelist(context.Context, *FindWhitelistRequest) (*FindWhitelistReply, error)
- func (UnimplementedAuthServer) GetUserByCode(context.Context, *GetUserByCodeRequest) (*GetUserByCodeReply, error)
- func (UnimplementedAuthServer) HasWhitelist(context.Context, *HasWhitelistRequest) (*HasWhitelistReply, error)
- func (UnimplementedAuthServer) Idempotent(context.Context, *emptypb.Empty) (*IdempotentReply, error)
- func (UnimplementedAuthServer) Info(context.Context, *emptypb.Empty) (*InfoReply, error)
- func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
- func (UnimplementedAuthServer) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) Permission(context.Context, *PermissionRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) Pwd(context.Context, *PwdRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) Refresh(context.Context, *RefreshRequest) (*LoginReply, error)
- func (UnimplementedAuthServer) Register(context.Context, *RegisterRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) Status(context.Context, *StatusRequest) (*StatusReply, error)
- func (UnimplementedAuthServer) UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthServer) UpdateWhitelist(context.Context, *UpdateWhitelistRequest) (*emptypb.Empty, error)
- type UnsafeAuthServer
- type UpdateActionRequest
- func (*UpdateActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActionRequest) GetBtn() string
- func (x *UpdateActionRequest) GetId() uint64
- func (x *UpdateActionRequest) GetMenu() string
- func (x *UpdateActionRequest) GetName() string
- func (x *UpdateActionRequest) GetResource() string
- func (x *UpdateActionRequest) GetWord() string
- func (*UpdateActionRequest) ProtoMessage()
- func (x *UpdateActionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateActionRequest) Reset()
- func (x *UpdateActionRequest) String() string
- func (m *UpdateActionRequest) Validate() error
- func (m *UpdateActionRequest) ValidateAll() error
- type UpdateActionRequestMultiError
- type UpdateActionRequestValidationError
- func (e UpdateActionRequestValidationError) Cause() error
- func (e UpdateActionRequestValidationError) Error() string
- func (e UpdateActionRequestValidationError) ErrorName() string
- func (e UpdateActionRequestValidationError) Field() string
- func (e UpdateActionRequestValidationError) Key() bool
- func (e UpdateActionRequestValidationError) Reason() string
- type UpdateRoleRequest
- func (*UpdateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleRequest) GetAction() string
- func (x *UpdateRoleRequest) GetId() uint64
- func (x *UpdateRoleRequest) GetName() string
- func (x *UpdateRoleRequest) GetWord() string
- func (*UpdateRoleRequest) ProtoMessage()
- func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleRequest) Reset()
- func (x *UpdateRoleRequest) String() string
- func (m *UpdateRoleRequest) Validate() error
- func (m *UpdateRoleRequest) ValidateAll() error
- type UpdateRoleRequestMultiError
- type UpdateRoleRequestValidationError
- func (e UpdateRoleRequestValidationError) Cause() error
- func (e UpdateRoleRequestValidationError) Error() string
- func (e UpdateRoleRequestValidationError) ErrorName() string
- func (e UpdateRoleRequestValidationError) Field() string
- func (e UpdateRoleRequestValidationError) Key() bool
- func (e UpdateRoleRequestValidationError) Reason() string
- type UpdateUserGroupRequest
- func (*UpdateUserGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserGroupRequest) GetAction() string
- func (x *UpdateUserGroupRequest) GetId() uint64
- func (x *UpdateUserGroupRequest) GetName() string
- func (x *UpdateUserGroupRequest) GetUsers() string
- func (x *UpdateUserGroupRequest) GetWord() string
- func (*UpdateUserGroupRequest) ProtoMessage()
- func (x *UpdateUserGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserGroupRequest) Reset()
- func (x *UpdateUserGroupRequest) String() string
- func (m *UpdateUserGroupRequest) Validate() error
- func (m *UpdateUserGroupRequest) ValidateAll() error
- type UpdateUserGroupRequestMultiError
- type UpdateUserGroupRequestValidationError
- func (e UpdateUserGroupRequestValidationError) Cause() error
- func (e UpdateUserGroupRequestValidationError) Error() string
- func (e UpdateUserGroupRequestValidationError) ErrorName() string
- func (e UpdateUserGroupRequestValidationError) Field() string
- func (e UpdateUserGroupRequestValidationError) Key() bool
- func (e UpdateUserGroupRequestValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAction() string
- func (x *UpdateUserRequest) GetId() uint64
- func (x *UpdateUserRequest) GetLockExpireTime() string
- func (x *UpdateUserRequest) GetLocked() bool
- func (x *UpdateUserRequest) GetPassword() string
- func (x *UpdateUserRequest) GetPlatform() string
- func (x *UpdateUserRequest) GetRoleId() uint64
- func (x *UpdateUserRequest) GetUsername() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateWhitelistRequest
- func (*UpdateWhitelistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWhitelistRequest) GetCategory() uint32
- func (x *UpdateWhitelistRequest) GetId() uint64
- func (x *UpdateWhitelistRequest) GetResource() string
- func (*UpdateWhitelistRequest) ProtoMessage()
- func (x *UpdateWhitelistRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWhitelistRequest) Reset()
- func (x *UpdateWhitelistRequest) String() string
- func (m *UpdateWhitelistRequest) Validate() error
- func (m *UpdateWhitelistRequest) ValidateAll() error
- type UpdateWhitelistRequestMultiError
- type UpdateWhitelistRequestValidationError
- func (e UpdateWhitelistRequestValidationError) Cause() error
- func (e UpdateWhitelistRequestValidationError) Error() string
- func (e UpdateWhitelistRequestValidationError) ErrorName() string
- func (e UpdateWhitelistRequestValidationError) Field() string
- func (e UpdateWhitelistRequestValidationError) Key() bool
- func (e UpdateWhitelistRequestValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetActions() []*Action
- func (x *User) GetCode() string
- func (x *User) GetCreatedAt() string
- func (x *User) GetId() uint64
- func (x *User) GetLastLogin() string
- func (x *User) GetLockExpire() int64
- func (x *User) GetLockMsg() string
- func (x *User) GetLocked() bool
- func (x *User) GetPlatform() string
- func (x *User) GetRole() *Role
- func (x *User) GetRoleId() uint64
- func (x *User) GetUpdatedAt() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserGroup
- func (*UserGroup) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroup) GetActions() []*Action
- func (x *UserGroup) GetId() uint64
- func (x *UserGroup) GetName() string
- func (x *UserGroup) GetUsers() []*User
- func (x *UserGroup) GetWord() string
- func (*UserGroup) ProtoMessage()
- func (x *UserGroup) ProtoReflect() protoreflect.Message
- func (x *UserGroup) Reset()
- func (x *UserGroup) String() string
- func (m *UserGroup) Validate() error
- func (m *UserGroup) ValidateAll() error
- type UserGroupMultiError
- type UserGroupValidationError
- type UserMultiError
- type UserValidationError
- type Whitelist
- func (*Whitelist) Descriptor() ([]byte, []int)deprecated
- func (x *Whitelist) GetCategory() uint32
- func (x *Whitelist) GetId() uint64
- func (x *Whitelist) GetResource() string
- func (*Whitelist) ProtoMessage()
- func (x *Whitelist) ProtoReflect() protoreflect.Message
- func (x *Whitelist) Reset()
- func (x *Whitelist) String() string
- func (m *Whitelist) Validate() error
- func (m *Whitelist) ValidateAll() error
- type WhitelistMultiError
- type WhitelistValidationError
Constants ¶
const ( Auth_Register_FullMethodName = "/auth.v1.Auth/Register" Auth_Pwd_FullMethodName = "/auth.v1.Auth/Pwd" Auth_Login_FullMethodName = "/auth.v1.Auth/Login" Auth_Status_FullMethodName = "/auth.v1.Auth/Status" Auth_Captcha_FullMethodName = "/auth.v1.Auth/Captcha" Auth_Refresh_FullMethodName = "/auth.v1.Auth/Refresh" Auth_Logout_FullMethodName = "/auth.v1.Auth/Logout" Auth_Info_FullMethodName = "/auth.v1.Auth/Info" Auth_Idempotent_FullMethodName = "/auth.v1.Auth/Idempotent" Auth_CheckIdempotent_FullMethodName = "/auth.v1.Auth/CheckIdempotent" Auth_GetUserByCode_FullMethodName = "/auth.v1.Auth/GetUserByCode" Auth_FindUser_FullMethodName = "/auth.v1.Auth/FindUser" Auth_UpdateUser_FullMethodName = "/auth.v1.Auth/UpdateUser" Auth_DeleteUser_FullMethodName = "/auth.v1.Auth/DeleteUser" Auth_Permission_FullMethodName = "/auth.v1.Auth/Permission" Auth_CreateAction_FullMethodName = "/auth.v1.Auth/CreateAction" Auth_FindAction_FullMethodName = "/auth.v1.Auth/FindAction" Auth_UpdateAction_FullMethodName = "/auth.v1.Auth/UpdateAction" Auth_DeleteAction_FullMethodName = "/auth.v1.Auth/DeleteAction" Auth_CreateRole_FullMethodName = "/auth.v1.Auth/CreateRole" Auth_FindRole_FullMethodName = "/auth.v1.Auth/FindRole" Auth_UpdateRole_FullMethodName = "/auth.v1.Auth/UpdateRole" Auth_DeleteRole_FullMethodName = "/auth.v1.Auth/DeleteRole" Auth_CreateUserGroup_FullMethodName = "/auth.v1.Auth/CreateUserGroup" Auth_FindUserGroup_FullMethodName = "/auth.v1.Auth/FindUserGroup" Auth_UpdateUserGroup_FullMethodName = "/auth.v1.Auth/UpdateUserGroup" Auth_DeleteUserGroup_FullMethodName = "/auth.v1.Auth/DeleteUserGroup" Auth_CreateWhitelist_FullMethodName = "/auth.v1.Auth/CreateWhitelist" Auth_HasWhitelist_FullMethodName = "/auth.v1.Auth/HasWhitelist" Auth_FindWhitelist_FullMethodName = "/auth.v1.Auth/FindWhitelist" Auth_UpdateWhitelist_FullMethodName = "/auth.v1.Auth/UpdateWhitelist" Auth_DeleteWhitelist_FullMethodName = "/auth.v1.Auth/DeleteWhitelist" )
const OperationAuthCaptcha = "/auth.v1.Auth/Captcha"
const OperationAuthCreateAction = "/auth.v1.Auth/CreateAction"
const OperationAuthCreateRole = "/auth.v1.Auth/CreateRole"
const OperationAuthCreateUserGroup = "/auth.v1.Auth/CreateUserGroup"
const OperationAuthCreateWhitelist = "/auth.v1.Auth/CreateWhitelist"
const OperationAuthDeleteAction = "/auth.v1.Auth/DeleteAction"
const OperationAuthDeleteRole = "/auth.v1.Auth/DeleteRole"
const OperationAuthDeleteUser = "/auth.v1.Auth/DeleteUser"
const OperationAuthDeleteUserGroup = "/auth.v1.Auth/DeleteUserGroup"
const OperationAuthDeleteWhitelist = "/auth.v1.Auth/DeleteWhitelist"
const OperationAuthFindAction = "/auth.v1.Auth/FindAction"
const OperationAuthFindRole = "/auth.v1.Auth/FindRole"
const OperationAuthFindUser = "/auth.v1.Auth/FindUser"
const OperationAuthFindUserGroup = "/auth.v1.Auth/FindUserGroup"
const OperationAuthFindWhitelist = "/auth.v1.Auth/FindWhitelist"
const OperationAuthIdempotent = "/auth.v1.Auth/Idempotent"
const OperationAuthInfo = "/auth.v1.Auth/Info"
const OperationAuthLogin = "/auth.v1.Auth/Login"
const OperationAuthLogout = "/auth.v1.Auth/Logout"
const OperationAuthPermission = "/auth.v1.Auth/Permission"
const OperationAuthPwd = "/auth.v1.Auth/Pwd"
const OperationAuthRefresh = "/auth.v1.Auth/Refresh"
const OperationAuthRegister = "/auth.v1.Auth/Register"
const OperationAuthStatus = "/auth.v1.Auth/Status"
const OperationAuthUpdateAction = "/auth.v1.Auth/UpdateAction"
const OperationAuthUpdateRole = "/auth.v1.Auth/UpdateRole"
const OperationAuthUpdateUser = "/auth.v1.Auth/UpdateUser"
const OperationAuthUpdateUserGroup = "/auth.v1.Auth/UpdateUserGroup"
const OperationAuthUpdateWhitelist = "/auth.v1.Auth/UpdateWhitelist"
Variables ¶
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "auth.v1.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Auth_Register_Handler, }, { MethodName: "Pwd", Handler: _Auth_Pwd_Handler, }, { MethodName: "Login", Handler: _Auth_Login_Handler, }, { MethodName: "Status", Handler: _Auth_Status_Handler, }, { MethodName: "Captcha", Handler: _Auth_Captcha_Handler, }, { MethodName: "Refresh", Handler: _Auth_Refresh_Handler, }, { MethodName: "Logout", Handler: _Auth_Logout_Handler, }, { MethodName: "Info", Handler: _Auth_Info_Handler, }, { MethodName: "Idempotent", Handler: _Auth_Idempotent_Handler, }, { MethodName: "CheckIdempotent", Handler: _Auth_CheckIdempotent_Handler, }, { MethodName: "GetUserByCode", Handler: _Auth_GetUserByCode_Handler, }, { MethodName: "FindUser", Handler: _Auth_FindUser_Handler, }, { MethodName: "UpdateUser", Handler: _Auth_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _Auth_DeleteUser_Handler, }, { MethodName: "Permission", Handler: _Auth_Permission_Handler, }, { MethodName: "CreateAction", Handler: _Auth_CreateAction_Handler, }, { MethodName: "FindAction", Handler: _Auth_FindAction_Handler, }, { MethodName: "UpdateAction", Handler: _Auth_UpdateAction_Handler, }, { MethodName: "DeleteAction", Handler: _Auth_DeleteAction_Handler, }, { MethodName: "CreateRole", Handler: _Auth_CreateRole_Handler, }, { MethodName: "FindRole", Handler: _Auth_FindRole_Handler, }, { MethodName: "UpdateRole", Handler: _Auth_UpdateRole_Handler, }, { MethodName: "DeleteRole", Handler: _Auth_DeleteRole_Handler, }, { MethodName: "CreateUserGroup", Handler: _Auth_CreateUserGroup_Handler, }, { MethodName: "FindUserGroup", Handler: _Auth_FindUserGroup_Handler, }, { MethodName: "UpdateUserGroup", Handler: _Auth_UpdateUserGroup_Handler, }, { MethodName: "DeleteUserGroup", Handler: _Auth_DeleteUserGroup_Handler, }, { MethodName: "CreateWhitelist", Handler: _Auth_CreateWhitelist_Handler, }, { MethodName: "HasWhitelist", Handler: _Auth_HasWhitelist_Handler, }, { MethodName: "FindWhitelist", Handler: _Auth_FindWhitelist_Handler, }, { MethodName: "UpdateWhitelist", Handler: _Auth_UpdateWhitelist_Handler, }, { MethodName: "DeleteWhitelist", Handler: _Auth_DeleteWhitelist_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth-proto/auth.proto", }
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_proto_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthHTTPServer ¶
func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
Types ¶
type Action ¶
type Action struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Word string `protobuf:"bytes,4,opt,name=word,proto3" json:"word,omitempty"` Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` Menu string `protobuf:"bytes,6,opt,name=menu,proto3" json:"menu,omitempty"` Btn string `protobuf:"bytes,7,opt,name=btn,proto3" json:"btn,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetResource ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
func (*Action) Validate ¶
Validate checks the field values on Action with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Action) ValidateAll ¶
ValidateAll checks the field values on Action with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ActionMultiError, or nil if none found.
type ActionMultiError ¶
type ActionMultiError []error
ActionMultiError is an error wrapping multiple validation errors returned by Action.ValidateAll() if the designated constraints aren't met.
func (ActionMultiError) AllErrors ¶
func (m ActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ActionMultiError) Error ¶
func (m ActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ActionValidationError ¶
type ActionValidationError struct {
// contains filtered or unexported fields
}
ActionValidationError is the validation error returned by Action.Validate if the designated constraints aren't met.
func (ActionValidationError) Cause ¶
func (e ActionValidationError) Cause() error
Cause function returns cause value.
func (ActionValidationError) Error ¶
func (e ActionValidationError) Error() string
Error satisfies the builtin error interface
func (ActionValidationError) ErrorName ¶
func (e ActionValidationError) ErrorName() string
ErrorName returns error name.
func (ActionValidationError) Field ¶
func (e ActionValidationError) Field() string
Field function returns field value.
func (ActionValidationError) Key ¶
func (e ActionValidationError) Key() bool
Key function returns key value.
func (ActionValidationError) Reason ¶
func (e ActionValidationError) Reason() string
Reason function returns reason value.
type AuthClient ¶
type AuthClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Pwd(ctx context.Context, in *PwdRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusReply, error) Captcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, error) Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*LoginReply, error) Logout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InfoReply, error) Idempotent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IdempotentReply, error) CheckIdempotent(ctx context.Context, in *CheckIdempotentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetUserByCode(ctx context.Context, in *GetUserByCodeRequest, opts ...grpc.CallOption) (*GetUserByCodeReply, error) FindUser(ctx context.Context, in *FindUserRequest, opts ...grpc.CallOption) (*FindUserReply, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteUser(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Permission(ctx context.Context, in *PermissionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) FindAction(ctx context.Context, in *FindActionRequest, opts ...grpc.CallOption) (*FindActionReply, error) UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteAction(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) FindRole(ctx context.Context, in *FindRoleRequest, opts ...grpc.CallOption) (*FindRoleReply, error) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteRole(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) FindUserGroup(ctx context.Context, in *FindUserGroupRequest, opts ...grpc.CallOption) (*FindUserGroupReply, error) UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteUserGroup(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateWhitelist(ctx context.Context, in *CreateWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) HasWhitelist(ctx context.Context, in *HasWhitelistRequest, opts ...grpc.CallOption) (*HasWhitelistReply, error) FindWhitelist(ctx context.Context, in *FindWhitelistRequest, opts ...grpc.CallOption) (*FindWhitelistReply, error) UpdateWhitelist(ctx context.Context, in *UpdateWhitelistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteWhitelist(ctx context.Context, in *params.IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AuthClient is the client API for Auth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthHTTPClient ¶
type AuthHTTPClient interface { Captcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CaptchaReply, err error) CreateAction(ctx context.Context, req *CreateActionRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) CreateRole(ctx context.Context, req *CreateRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) CreateUserGroup(ctx context.Context, req *CreateUserGroupRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) CreateWhitelist(ctx context.Context, req *CreateWhitelistRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteAction(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteRole(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteUser(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteUserGroup(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteWhitelist(ctx context.Context, req *params.IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) FindAction(ctx context.Context, req *FindActionRequest, opts ...http.CallOption) (rsp *FindActionReply, err error) FindRole(ctx context.Context, req *FindRoleRequest, opts ...http.CallOption) (rsp *FindRoleReply, err error) FindUser(ctx context.Context, req *FindUserRequest, opts ...http.CallOption) (rsp *FindUserReply, err error) FindUserGroup(ctx context.Context, req *FindUserGroupRequest, opts ...http.CallOption) (rsp *FindUserGroupReply, err error) FindWhitelist(ctx context.Context, req *FindWhitelistRequest, opts ...http.CallOption) (rsp *FindWhitelistReply, err error) Idempotent(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *IdempotentReply, err error) Info(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *InfoReply, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) Logout(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error) Permission(ctx context.Context, req *PermissionRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) Pwd(ctx context.Context, req *PwdRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) Refresh(ctx context.Context, req *RefreshRequest, opts ...http.CallOption) (rsp *LoginReply, err error) Register(ctx context.Context, req *RegisterRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) Status(ctx context.Context, req *StatusRequest, opts ...http.CallOption) (rsp *StatusReply, err error) UpdateAction(ctx context.Context, req *UpdateActionRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateRole(ctx context.Context, req *UpdateRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateUserGroup(ctx context.Context, req *UpdateUserGroupRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateWhitelist(ctx context.Context, req *UpdateWhitelistRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) }
func NewAuthHTTPClient ¶
func NewAuthHTTPClient(client *http.Client) AuthHTTPClient
type AuthHTTPClientImpl ¶
type AuthHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthHTTPClientImpl) Captcha ¶
func (c *AuthHTTPClientImpl) Captcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CaptchaReply, error)
func (*AuthHTTPClientImpl) CreateAction ¶
func (c *AuthHTTPClientImpl) CreateAction(ctx context.Context, in *CreateActionRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) CreateRole ¶
func (c *AuthHTTPClientImpl) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) CreateUserGroup ¶
func (c *AuthHTTPClientImpl) CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) CreateWhitelist ¶ added in v1.0.3
func (c *AuthHTTPClientImpl) CreateWhitelist(ctx context.Context, in *CreateWhitelistRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) DeleteAction ¶
func (c *AuthHTTPClientImpl) DeleteAction(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) DeleteRole ¶
func (c *AuthHTTPClientImpl) DeleteRole(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) DeleteUser ¶
func (c *AuthHTTPClientImpl) DeleteUser(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) DeleteUserGroup ¶
func (c *AuthHTTPClientImpl) DeleteUserGroup(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) DeleteWhitelist ¶ added in v1.0.3
func (c *AuthHTTPClientImpl) DeleteWhitelist(ctx context.Context, in *params.IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) FindAction ¶
func (c *AuthHTTPClientImpl) FindAction(ctx context.Context, in *FindActionRequest, opts ...http.CallOption) (*FindActionReply, error)
func (*AuthHTTPClientImpl) FindRole ¶
func (c *AuthHTTPClientImpl) FindRole(ctx context.Context, in *FindRoleRequest, opts ...http.CallOption) (*FindRoleReply, error)
func (*AuthHTTPClientImpl) FindUser ¶
func (c *AuthHTTPClientImpl) FindUser(ctx context.Context, in *FindUserRequest, opts ...http.CallOption) (*FindUserReply, error)
func (*AuthHTTPClientImpl) FindUserGroup ¶
func (c *AuthHTTPClientImpl) FindUserGroup(ctx context.Context, in *FindUserGroupRequest, opts ...http.CallOption) (*FindUserGroupReply, error)
func (*AuthHTTPClientImpl) FindWhitelist ¶ added in v1.0.3
func (c *AuthHTTPClientImpl) FindWhitelist(ctx context.Context, in *FindWhitelistRequest, opts ...http.CallOption) (*FindWhitelistReply, error)
func (*AuthHTTPClientImpl) Idempotent ¶
func (c *AuthHTTPClientImpl) Idempotent(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*IdempotentReply, error)
func (*AuthHTTPClientImpl) Info ¶
func (c *AuthHTTPClientImpl) Info(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*InfoReply, error)
func (*AuthHTTPClientImpl) Login ¶
func (c *AuthHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*AuthHTTPClientImpl) Logout ¶
func (c *AuthHTTPClientImpl) Logout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) Permission ¶ added in v1.0.3
func (c *AuthHTTPClientImpl) Permission(ctx context.Context, in *PermissionRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) Pwd ¶
func (c *AuthHTTPClientImpl) Pwd(ctx context.Context, in *PwdRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) Refresh ¶
func (c *AuthHTTPClientImpl) Refresh(ctx context.Context, in *RefreshRequest, opts ...http.CallOption) (*LoginReply, error)
func (*AuthHTTPClientImpl) Register ¶
func (c *AuthHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) Status ¶
func (c *AuthHTTPClientImpl) Status(ctx context.Context, in *StatusRequest, opts ...http.CallOption) (*StatusReply, error)
func (*AuthHTTPClientImpl) UpdateAction ¶
func (c *AuthHTTPClientImpl) UpdateAction(ctx context.Context, in *UpdateActionRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) UpdateRole ¶
func (c *AuthHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) UpdateUser ¶
func (c *AuthHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) UpdateUserGroup ¶
func (c *AuthHTTPClientImpl) UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*AuthHTTPClientImpl) UpdateWhitelist ¶ added in v1.0.3
func (c *AuthHTTPClientImpl) UpdateWhitelist(ctx context.Context, in *UpdateWhitelistRequest, opts ...http.CallOption) (*emptypb.Empty, error)
type AuthHTTPServer ¶
type AuthHTTPServer interface { Captcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error) CreateRole(context.Context, *CreateRoleRequest) (*emptypb.Empty, error) CreateUserGroup(context.Context, *CreateUserGroupRequest) (*emptypb.Empty, error) CreateWhitelist(context.Context, *CreateWhitelistRequest) (*emptypb.Empty, error) DeleteAction(context.Context, *params.IdsRequest) (*emptypb.Empty, error) DeleteRole(context.Context, *params.IdsRequest) (*emptypb.Empty, error) DeleteUser(context.Context, *params.IdsRequest) (*emptypb.Empty, error) DeleteUserGroup(context.Context, *params.IdsRequest) (*emptypb.Empty, error) DeleteWhitelist(context.Context, *params.IdsRequest) (*emptypb.Empty, error) FindAction(context.Context, *FindActionRequest) (*FindActionReply, error) FindRole(context.Context, *FindRoleRequest) (*FindRoleReply, error) FindUser(context.Context, *FindUserRequest) (*FindUserReply, error) FindUserGroup(context.Context, *FindUserGroupRequest) (*FindUserGroupReply, error) FindWhitelist(context.Context, *FindWhitelistRequest) (*FindWhitelistReply, error) Idempotent(context.Context, *emptypb.Empty) (*IdempotentReply, error) Info(context.Context, *emptypb.Empty) (*InfoReply, error) Login(context.Context, *LoginRequest) (*LoginReply, error) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Permission(context.Context, *PermissionRequest) (*emptypb.Empty, error) Pwd(context.Context, *PwdRequest) (*emptypb.Empty, error) Refresh(context.Context, *RefreshRequest) (*LoginReply, error) Register(context.Context, *RegisterRequest) (*emptypb.Empty, error) Status(context.Context, *StatusRequest) (*StatusReply, error) UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error) UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*emptypb.Empty, error) UpdateWhitelist(context.Context, *UpdateWhitelistRequest) (*emptypb.Empty, error) }
type AuthServer ¶
type AuthServer interface { Register(context.Context, *RegisterRequest) (*emptypb.Empty, error) Pwd(context.Context, *PwdRequest) (*emptypb.Empty, error) Login(context.Context, *LoginRequest) (*LoginReply, error) Status(context.Context, *StatusRequest) (*StatusReply, error) Captcha(context.Context, *emptypb.Empty) (*CaptchaReply, error) Refresh(context.Context, *RefreshRequest) (*LoginReply, error) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Info(context.Context, *emptypb.Empty) (*InfoReply, error) Idempotent(context.Context, *emptypb.Empty) (*IdempotentReply, error) CheckIdempotent(context.Context, *CheckIdempotentRequest) (*emptypb.Empty, error) GetUserByCode(context.Context, *GetUserByCodeRequest) (*GetUserByCodeReply, error) FindUser(context.Context, *FindUserRequest) (*FindUserReply, error) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) DeleteUser(context.Context, *params.IdsRequest) (*emptypb.Empty, error) Permission(context.Context, *PermissionRequest) (*emptypb.Empty, error) CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error) FindAction(context.Context, *FindActionRequest) (*FindActionReply, error) UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error) DeleteAction(context.Context, *params.IdsRequest) (*emptypb.Empty, error) CreateRole(context.Context, *CreateRoleRequest) (*emptypb.Empty, error) FindRole(context.Context, *FindRoleRequest) (*FindRoleReply, error) UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error) DeleteRole(context.Context, *params.IdsRequest) (*emptypb.Empty, error) CreateUserGroup(context.Context, *CreateUserGroupRequest) (*emptypb.Empty, error) FindUserGroup(context.Context, *FindUserGroupRequest) (*FindUserGroupReply, error) UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*emptypb.Empty, error) DeleteUserGroup(context.Context, *params.IdsRequest) (*emptypb.Empty, error) CreateWhitelist(context.Context, *CreateWhitelistRequest) (*emptypb.Empty, error) HasWhitelist(context.Context, *HasWhitelistRequest) (*HasWhitelistReply, error) FindWhitelist(context.Context, *FindWhitelistRequest) (*FindWhitelistReply, error) UpdateWhitelist(context.Context, *UpdateWhitelistRequest) (*emptypb.Empty, error) DeleteWhitelist(context.Context, *params.IdsRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility
type Captcha ¶
type Captcha struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Img string `protobuf:"bytes,2,opt,name=img,proto3" json:"img,omitempty"` // contains filtered or unexported fields }
func (*Captcha) Descriptor
deprecated
func (*Captcha) ProtoMessage ¶
func (*Captcha) ProtoMessage()
func (*Captcha) ProtoReflect ¶
func (x *Captcha) ProtoReflect() protoreflect.Message
func (*Captcha) Validate ¶
Validate checks the field values on Captcha with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Captcha) ValidateAll ¶
ValidateAll checks the field values on Captcha with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaMultiError, or nil if none found.
type CaptchaMultiError ¶
type CaptchaMultiError []error
CaptchaMultiError is an error wrapping multiple validation errors returned by Captcha.ValidateAll() if the designated constraints aren't met.
func (CaptchaMultiError) AllErrors ¶
func (m CaptchaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaMultiError) Error ¶
func (m CaptchaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaReply ¶
type CaptchaReply struct { Captcha *Captcha `protobuf:"bytes,1,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*CaptchaReply) Descriptor
deprecated
func (*CaptchaReply) Descriptor() ([]byte, []int)
Deprecated: Use CaptchaReply.ProtoReflect.Descriptor instead.
func (*CaptchaReply) GetCaptcha ¶
func (x *CaptchaReply) GetCaptcha() *Captcha
func (*CaptchaReply) ProtoMessage ¶
func (*CaptchaReply) ProtoMessage()
func (*CaptchaReply) ProtoReflect ¶
func (x *CaptchaReply) ProtoReflect() protoreflect.Message
func (*CaptchaReply) Reset ¶
func (x *CaptchaReply) Reset()
func (*CaptchaReply) String ¶
func (x *CaptchaReply) String() string
func (*CaptchaReply) Validate ¶
func (m *CaptchaReply) Validate() error
Validate checks the field values on CaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CaptchaReply) ValidateAll ¶
func (m *CaptchaReply) ValidateAll() error
ValidateAll checks the field values on CaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaReplyMultiError, or nil if none found.
type CaptchaReplyMultiError ¶
type CaptchaReplyMultiError []error
CaptchaReplyMultiError is an error wrapping multiple validation errors returned by CaptchaReply.ValidateAll() if the designated constraints aren't met.
func (CaptchaReplyMultiError) AllErrors ¶
func (m CaptchaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CaptchaReplyMultiError) Error ¶
func (m CaptchaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CaptchaReplyValidationError ¶
type CaptchaReplyValidationError struct {
// contains filtered or unexported fields
}
CaptchaReplyValidationError is the validation error returned by CaptchaReply.Validate if the designated constraints aren't met.
func (CaptchaReplyValidationError) Cause ¶
func (e CaptchaReplyValidationError) Cause() error
Cause function returns cause value.
func (CaptchaReplyValidationError) Error ¶
func (e CaptchaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaReplyValidationError) ErrorName ¶
func (e CaptchaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaReplyValidationError) Field ¶
func (e CaptchaReplyValidationError) Field() string
Field function returns field value.
func (CaptchaReplyValidationError) Key ¶
func (e CaptchaReplyValidationError) Key() bool
Key function returns key value.
func (CaptchaReplyValidationError) Reason ¶
func (e CaptchaReplyValidationError) Reason() string
Reason function returns reason value.
type CaptchaValidationError ¶
type CaptchaValidationError struct {
// contains filtered or unexported fields
}
CaptchaValidationError is the validation error returned by Captcha.Validate if the designated constraints aren't met.
func (CaptchaValidationError) Cause ¶
func (e CaptchaValidationError) Cause() error
Cause function returns cause value.
func (CaptchaValidationError) Error ¶
func (e CaptchaValidationError) Error() string
Error satisfies the builtin error interface
func (CaptchaValidationError) ErrorName ¶
func (e CaptchaValidationError) ErrorName() string
ErrorName returns error name.
func (CaptchaValidationError) Field ¶
func (e CaptchaValidationError) Field() string
Field function returns field value.
func (CaptchaValidationError) Key ¶
func (e CaptchaValidationError) Key() bool
Key function returns key value.
func (CaptchaValidationError) Reason ¶
func (e CaptchaValidationError) Reason() string
Reason function returns reason value.
type CheckIdempotentRequest ¶ added in v1.0.3
type CheckIdempotentRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*CheckIdempotentRequest) Descriptor
deprecated
added in
v1.0.3
func (*CheckIdempotentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckIdempotentRequest.ProtoReflect.Descriptor instead.
func (*CheckIdempotentRequest) GetToken ¶ added in v1.0.3
func (x *CheckIdempotentRequest) GetToken() string
func (*CheckIdempotentRequest) ProtoMessage ¶ added in v1.0.3
func (*CheckIdempotentRequest) ProtoMessage()
func (*CheckIdempotentRequest) ProtoReflect ¶ added in v1.0.3
func (x *CheckIdempotentRequest) ProtoReflect() protoreflect.Message
func (*CheckIdempotentRequest) Reset ¶ added in v1.0.3
func (x *CheckIdempotentRequest) Reset()
func (*CheckIdempotentRequest) String ¶ added in v1.0.3
func (x *CheckIdempotentRequest) String() string
func (*CheckIdempotentRequest) Validate ¶ added in v1.0.3
func (m *CheckIdempotentRequest) Validate() error
Validate checks the field values on CheckIdempotentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckIdempotentRequest) ValidateAll ¶ added in v1.0.3
func (m *CheckIdempotentRequest) ValidateAll() error
ValidateAll checks the field values on CheckIdempotentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckIdempotentRequestMultiError, or nil if none found.
type CheckIdempotentRequestMultiError ¶ added in v1.0.3
type CheckIdempotentRequestMultiError []error
CheckIdempotentRequestMultiError is an error wrapping multiple validation errors returned by CheckIdempotentRequest.ValidateAll() if the designated constraints aren't met.
func (CheckIdempotentRequestMultiError) AllErrors ¶ added in v1.0.3
func (m CheckIdempotentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckIdempotentRequestMultiError) Error ¶ added in v1.0.3
func (m CheckIdempotentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckIdempotentRequestValidationError ¶ added in v1.0.3
type CheckIdempotentRequestValidationError struct {
// contains filtered or unexported fields
}
CheckIdempotentRequestValidationError is the validation error returned by CheckIdempotentRequest.Validate if the designated constraints aren't met.
func (CheckIdempotentRequestValidationError) Cause ¶ added in v1.0.3
func (e CheckIdempotentRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckIdempotentRequestValidationError) Error ¶ added in v1.0.3
func (e CheckIdempotentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckIdempotentRequestValidationError) ErrorName ¶ added in v1.0.3
func (e CheckIdempotentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckIdempotentRequestValidationError) Field ¶ added in v1.0.3
func (e CheckIdempotentRequestValidationError) Field() string
Field function returns field value.
func (CheckIdempotentRequestValidationError) Key ¶ added in v1.0.3
func (e CheckIdempotentRequestValidationError) Key() bool
Key function returns key value.
func (CheckIdempotentRequestValidationError) Reason ¶ added in v1.0.3
func (e CheckIdempotentRequestValidationError) Reason() string
Reason function returns reason value.
type CreateActionRequest ¶
type CreateActionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Word string `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` Menu string `protobuf:"bytes,4,opt,name=menu,proto3" json:"menu,omitempty"` Btn string `protobuf:"bytes,5,opt,name=btn,proto3" json:"btn,omitempty"` // contains filtered or unexported fields }
func (*CreateActionRequest) Descriptor
deprecated
func (*CreateActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActionRequest.ProtoReflect.Descriptor instead.
func (*CreateActionRequest) GetBtn ¶
func (x *CreateActionRequest) GetBtn() string
func (*CreateActionRequest) GetMenu ¶
func (x *CreateActionRequest) GetMenu() string
func (*CreateActionRequest) GetName ¶
func (x *CreateActionRequest) GetName() string
func (*CreateActionRequest) GetResource ¶
func (x *CreateActionRequest) GetResource() string
func (*CreateActionRequest) GetWord ¶
func (x *CreateActionRequest) GetWord() string
func (*CreateActionRequest) ProtoMessage ¶
func (*CreateActionRequest) ProtoMessage()
func (*CreateActionRequest) ProtoReflect ¶
func (x *CreateActionRequest) ProtoReflect() protoreflect.Message
func (*CreateActionRequest) Reset ¶
func (x *CreateActionRequest) Reset()
func (*CreateActionRequest) String ¶
func (x *CreateActionRequest) String() string
func (*CreateActionRequest) Validate ¶
func (m *CreateActionRequest) Validate() error
Validate checks the field values on CreateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateActionRequest) ValidateAll ¶
func (m *CreateActionRequest) ValidateAll() error
ValidateAll checks the field values on CreateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateActionRequestMultiError, or nil if none found.
type CreateActionRequestMultiError ¶
type CreateActionRequestMultiError []error
CreateActionRequestMultiError is an error wrapping multiple validation errors returned by CreateActionRequest.ValidateAll() if the designated constraints aren't met.
func (CreateActionRequestMultiError) AllErrors ¶
func (m CreateActionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateActionRequestMultiError) Error ¶
func (m CreateActionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateActionRequestValidationError ¶
type CreateActionRequestValidationError struct {
// contains filtered or unexported fields
}
CreateActionRequestValidationError is the validation error returned by CreateActionRequest.Validate if the designated constraints aren't met.
func (CreateActionRequestValidationError) Cause ¶
func (e CreateActionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateActionRequestValidationError) Error ¶
func (e CreateActionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateActionRequestValidationError) ErrorName ¶
func (e CreateActionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateActionRequestValidationError) Field ¶
func (e CreateActionRequestValidationError) Field() string
Field function returns field value.
func (CreateActionRequestValidationError) Key ¶
func (e CreateActionRequestValidationError) Key() bool
Key function returns key value.
func (CreateActionRequestValidationError) Reason ¶
func (e CreateActionRequestValidationError) Reason() string
Reason function returns reason value.
type CreateRoleRequest ¶
type CreateRoleRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Word string `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"` Action *string `protobuf:"bytes,3,opt,name=action,proto3,oneof" json:"action,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) GetAction ¶
func (x *CreateRoleRequest) GetAction() string
func (*CreateRoleRequest) GetName ¶
func (x *CreateRoleRequest) GetName() string
func (*CreateRoleRequest) GetWord ¶
func (x *CreateRoleRequest) GetWord() string
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
func (*CreateRoleRequest) Validate ¶
func (m *CreateRoleRequest) Validate() error
Validate checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRoleRequest) ValidateAll ¶
func (m *CreateRoleRequest) ValidateAll() error
ValidateAll checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleRequestMultiError, or nil if none found.
type CreateRoleRequestMultiError ¶
type CreateRoleRequestMultiError []error
CreateRoleRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleRequest.ValidateAll() if the designated constraints aren't met.
func (CreateRoleRequestMultiError) AllErrors ¶
func (m CreateRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleRequestMultiError) Error ¶
func (m CreateRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleRequestValidationError ¶
type CreateRoleRequestValidationError struct {
// contains filtered or unexported fields
}
CreateRoleRequestValidationError is the validation error returned by CreateRoleRequest.Validate if the designated constraints aren't met.
func (CreateRoleRequestValidationError) Cause ¶
func (e CreateRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleRequestValidationError) Error ¶
func (e CreateRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleRequestValidationError) ErrorName ¶
func (e CreateRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleRequestValidationError) Field ¶
func (e CreateRoleRequestValidationError) Field() string
Field function returns field value.
func (CreateRoleRequestValidationError) Key ¶
func (e CreateRoleRequestValidationError) Key() bool
Key function returns key value.
func (CreateRoleRequestValidationError) Reason ¶
func (e CreateRoleRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserGroupRequest ¶
type CreateUserGroupRequest struct { Users []uint64 `protobuf:"varint,1,rep,packed,name=users,proto3" json:"users,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"` // contains filtered or unexported fields }
func (*CreateUserGroupRequest) Descriptor
deprecated
func (*CreateUserGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateUserGroupRequest) GetAction ¶
func (x *CreateUserGroupRequest) GetAction() string
func (*CreateUserGroupRequest) GetName ¶
func (x *CreateUserGroupRequest) GetName() string
func (*CreateUserGroupRequest) GetUsers ¶
func (x *CreateUserGroupRequest) GetUsers() []uint64
func (*CreateUserGroupRequest) GetWord ¶
func (x *CreateUserGroupRequest) GetWord() string
func (*CreateUserGroupRequest) ProtoMessage ¶
func (*CreateUserGroupRequest) ProtoMessage()
func (*CreateUserGroupRequest) ProtoReflect ¶
func (x *CreateUserGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateUserGroupRequest) Reset ¶
func (x *CreateUserGroupRequest) Reset()
func (*CreateUserGroupRequest) String ¶
func (x *CreateUserGroupRequest) String() string
func (*CreateUserGroupRequest) Validate ¶
func (m *CreateUserGroupRequest) Validate() error
Validate checks the field values on CreateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserGroupRequest) ValidateAll ¶
func (m *CreateUserGroupRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserGroupRequestMultiError, or nil if none found.
type CreateUserGroupRequestMultiError ¶
type CreateUserGroupRequestMultiError []error
CreateUserGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateUserGroupRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserGroupRequestMultiError) AllErrors ¶
func (m CreateUserGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserGroupRequestMultiError) Error ¶
func (m CreateUserGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserGroupRequestValidationError ¶
type CreateUserGroupRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserGroupRequestValidationError is the validation error returned by CreateUserGroupRequest.Validate if the designated constraints aren't met.
func (CreateUserGroupRequestValidationError) Cause ¶
func (e CreateUserGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserGroupRequestValidationError) Error ¶
func (e CreateUserGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserGroupRequestValidationError) ErrorName ¶
func (e CreateUserGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserGroupRequestValidationError) Field ¶
func (e CreateUserGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateUserGroupRequestValidationError) Key ¶
func (e CreateUserGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserGroupRequestValidationError) Reason ¶
func (e CreateUserGroupRequestValidationError) Reason() string
Reason function returns reason value.
type CreateWhitelistRequest ¶ added in v1.0.3
type CreateWhitelistRequest struct { Category uint32 `protobuf:"varint,1,opt,name=category,proto3" json:"category,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*CreateWhitelistRequest) Descriptor
deprecated
added in
v1.0.3
func (*CreateWhitelistRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWhitelistRequest.ProtoReflect.Descriptor instead.
func (*CreateWhitelistRequest) GetCategory ¶ added in v1.0.3
func (x *CreateWhitelistRequest) GetCategory() uint32
func (*CreateWhitelistRequest) GetResource ¶ added in v1.0.3
func (x *CreateWhitelistRequest) GetResource() string
func (*CreateWhitelistRequest) ProtoMessage ¶ added in v1.0.3
func (*CreateWhitelistRequest) ProtoMessage()
func (*CreateWhitelistRequest) ProtoReflect ¶ added in v1.0.3
func (x *CreateWhitelistRequest) ProtoReflect() protoreflect.Message
func (*CreateWhitelistRequest) Reset ¶ added in v1.0.3
func (x *CreateWhitelistRequest) Reset()
func (*CreateWhitelistRequest) String ¶ added in v1.0.3
func (x *CreateWhitelistRequest) String() string
func (*CreateWhitelistRequest) Validate ¶ added in v1.0.3
func (m *CreateWhitelistRequest) Validate() error
Validate checks the field values on CreateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateWhitelistRequest) ValidateAll ¶ added in v1.0.3
func (m *CreateWhitelistRequest) ValidateAll() error
ValidateAll checks the field values on CreateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateWhitelistRequestMultiError, or nil if none found.
type CreateWhitelistRequestMultiError ¶ added in v1.0.3
type CreateWhitelistRequestMultiError []error
CreateWhitelistRequestMultiError is an error wrapping multiple validation errors returned by CreateWhitelistRequest.ValidateAll() if the designated constraints aren't met.
func (CreateWhitelistRequestMultiError) AllErrors ¶ added in v1.0.3
func (m CreateWhitelistRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateWhitelistRequestMultiError) Error ¶ added in v1.0.3
func (m CreateWhitelistRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateWhitelistRequestValidationError ¶ added in v1.0.3
type CreateWhitelistRequestValidationError struct {
// contains filtered or unexported fields
}
CreateWhitelistRequestValidationError is the validation error returned by CreateWhitelistRequest.Validate if the designated constraints aren't met.
func (CreateWhitelistRequestValidationError) Cause ¶ added in v1.0.3
func (e CreateWhitelistRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateWhitelistRequestValidationError) Error ¶ added in v1.0.3
func (e CreateWhitelistRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateWhitelistRequestValidationError) ErrorName ¶ added in v1.0.3
func (e CreateWhitelistRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateWhitelistRequestValidationError) Field ¶ added in v1.0.3
func (e CreateWhitelistRequestValidationError) Field() string
Field function returns field value.
func (CreateWhitelistRequestValidationError) Key ¶ added in v1.0.3
func (e CreateWhitelistRequestValidationError) Key() bool
Key function returns key value.
func (CreateWhitelistRequestValidationError) Reason ¶ added in v1.0.3
func (e CreateWhitelistRequestValidationError) Reason() string
Reason function returns reason value.
type FindActionReply ¶
type FindActionReply struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*Action `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*FindActionReply) Descriptor
deprecated
func (*FindActionReply) Descriptor() ([]byte, []int)
Deprecated: Use FindActionReply.ProtoReflect.Descriptor instead.
func (*FindActionReply) GetList ¶
func (x *FindActionReply) GetList() []*Action
func (*FindActionReply) GetPage ¶
func (x *FindActionReply) GetPage() *params.Page
func (*FindActionReply) ProtoMessage ¶
func (*FindActionReply) ProtoMessage()
func (*FindActionReply) ProtoReflect ¶
func (x *FindActionReply) ProtoReflect() protoreflect.Message
func (*FindActionReply) Reset ¶
func (x *FindActionReply) Reset()
func (*FindActionReply) String ¶
func (x *FindActionReply) String() string
func (*FindActionReply) Validate ¶
func (m *FindActionReply) Validate() error
Validate checks the field values on FindActionReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindActionReply) ValidateAll ¶
func (m *FindActionReply) ValidateAll() error
ValidateAll checks the field values on FindActionReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindActionReplyMultiError, or nil if none found.
type FindActionReplyMultiError ¶
type FindActionReplyMultiError []error
FindActionReplyMultiError is an error wrapping multiple validation errors returned by FindActionReply.ValidateAll() if the designated constraints aren't met.
func (FindActionReplyMultiError) AllErrors ¶
func (m FindActionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindActionReplyMultiError) Error ¶
func (m FindActionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindActionReplyValidationError ¶
type FindActionReplyValidationError struct {
// contains filtered or unexported fields
}
FindActionReplyValidationError is the validation error returned by FindActionReply.Validate if the designated constraints aren't met.
func (FindActionReplyValidationError) Cause ¶
func (e FindActionReplyValidationError) Cause() error
Cause function returns cause value.
func (FindActionReplyValidationError) Error ¶
func (e FindActionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindActionReplyValidationError) ErrorName ¶
func (e FindActionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindActionReplyValidationError) Field ¶
func (e FindActionReplyValidationError) Field() string
Field function returns field value.
func (FindActionReplyValidationError) Key ¶
func (e FindActionReplyValidationError) Key() bool
Key function returns key value.
func (FindActionReplyValidationError) Reason ¶
func (e FindActionReplyValidationError) Reason() string
Reason function returns reason value.
type FindActionRequest ¶
type FindActionRequest struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Code *string `protobuf:"bytes,2,opt,name=code,proto3,oneof" json:"code,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Word *string `protobuf:"bytes,4,opt,name=word,proto3,oneof" json:"word,omitempty"` Resource *string `protobuf:"bytes,5,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*FindActionRequest) Descriptor
deprecated
func (*FindActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindActionRequest.ProtoReflect.Descriptor instead.
func (*FindActionRequest) GetCode ¶
func (x *FindActionRequest) GetCode() string
func (*FindActionRequest) GetName ¶
func (x *FindActionRequest) GetName() string
func (*FindActionRequest) GetPage ¶
func (x *FindActionRequest) GetPage() *params.Page
func (*FindActionRequest) GetResource ¶
func (x *FindActionRequest) GetResource() string
func (*FindActionRequest) GetWord ¶
func (x *FindActionRequest) GetWord() string
func (*FindActionRequest) ProtoMessage ¶
func (*FindActionRequest) ProtoMessage()
func (*FindActionRequest) ProtoReflect ¶
func (x *FindActionRequest) ProtoReflect() protoreflect.Message
func (*FindActionRequest) Reset ¶
func (x *FindActionRequest) Reset()
func (*FindActionRequest) String ¶
func (x *FindActionRequest) String() string
func (*FindActionRequest) Validate ¶
func (m *FindActionRequest) Validate() error
Validate checks the field values on FindActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindActionRequest) ValidateAll ¶
func (m *FindActionRequest) ValidateAll() error
ValidateAll checks the field values on FindActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindActionRequestMultiError, or nil if none found.
type FindActionRequestMultiError ¶
type FindActionRequestMultiError []error
FindActionRequestMultiError is an error wrapping multiple validation errors returned by FindActionRequest.ValidateAll() if the designated constraints aren't met.
func (FindActionRequestMultiError) AllErrors ¶
func (m FindActionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindActionRequestMultiError) Error ¶
func (m FindActionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindActionRequestValidationError ¶
type FindActionRequestValidationError struct {
// contains filtered or unexported fields
}
FindActionRequestValidationError is the validation error returned by FindActionRequest.Validate if the designated constraints aren't met.
func (FindActionRequestValidationError) Cause ¶
func (e FindActionRequestValidationError) Cause() error
Cause function returns cause value.
func (FindActionRequestValidationError) Error ¶
func (e FindActionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindActionRequestValidationError) ErrorName ¶
func (e FindActionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindActionRequestValidationError) Field ¶
func (e FindActionRequestValidationError) Field() string
Field function returns field value.
func (FindActionRequestValidationError) Key ¶
func (e FindActionRequestValidationError) Key() bool
Key function returns key value.
func (FindActionRequestValidationError) Reason ¶
func (e FindActionRequestValidationError) Reason() string
Reason function returns reason value.
type FindRoleReply ¶
type FindRoleReply struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*Role `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*FindRoleReply) Descriptor
deprecated
func (*FindRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use FindRoleReply.ProtoReflect.Descriptor instead.
func (*FindRoleReply) GetList ¶
func (x *FindRoleReply) GetList() []*Role
func (*FindRoleReply) GetPage ¶
func (x *FindRoleReply) GetPage() *params.Page
func (*FindRoleReply) ProtoMessage ¶
func (*FindRoleReply) ProtoMessage()
func (*FindRoleReply) ProtoReflect ¶
func (x *FindRoleReply) ProtoReflect() protoreflect.Message
func (*FindRoleReply) Reset ¶
func (x *FindRoleReply) Reset()
func (*FindRoleReply) String ¶
func (x *FindRoleReply) String() string
func (*FindRoleReply) Validate ¶
func (m *FindRoleReply) Validate() error
Validate checks the field values on FindRoleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindRoleReply) ValidateAll ¶
func (m *FindRoleReply) ValidateAll() error
ValidateAll checks the field values on FindRoleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindRoleReplyMultiError, or nil if none found.
type FindRoleReplyMultiError ¶
type FindRoleReplyMultiError []error
FindRoleReplyMultiError is an error wrapping multiple validation errors returned by FindRoleReply.ValidateAll() if the designated constraints aren't met.
func (FindRoleReplyMultiError) AllErrors ¶
func (m FindRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindRoleReplyMultiError) Error ¶
func (m FindRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindRoleReplyValidationError ¶
type FindRoleReplyValidationError struct {
// contains filtered or unexported fields
}
FindRoleReplyValidationError is the validation error returned by FindRoleReply.Validate if the designated constraints aren't met.
func (FindRoleReplyValidationError) Cause ¶
func (e FindRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (FindRoleReplyValidationError) Error ¶
func (e FindRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindRoleReplyValidationError) ErrorName ¶
func (e FindRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindRoleReplyValidationError) Field ¶
func (e FindRoleReplyValidationError) Field() string
Field function returns field value.
func (FindRoleReplyValidationError) Key ¶
func (e FindRoleReplyValidationError) Key() bool
Key function returns key value.
func (FindRoleReplyValidationError) Reason ¶
func (e FindRoleReplyValidationError) Reason() string
Reason function returns reason value.
type FindRoleRequest ¶
type FindRoleRequest struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Word *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"` Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"` // contains filtered or unexported fields }
func (*FindRoleRequest) Descriptor
deprecated
func (*FindRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRoleRequest.ProtoReflect.Descriptor instead.
func (*FindRoleRequest) GetAction ¶
func (x *FindRoleRequest) GetAction() string
func (*FindRoleRequest) GetName ¶
func (x *FindRoleRequest) GetName() string
func (*FindRoleRequest) GetPage ¶
func (x *FindRoleRequest) GetPage() *params.Page
func (*FindRoleRequest) GetWord ¶
func (x *FindRoleRequest) GetWord() string
func (*FindRoleRequest) ProtoMessage ¶
func (*FindRoleRequest) ProtoMessage()
func (*FindRoleRequest) ProtoReflect ¶
func (x *FindRoleRequest) ProtoReflect() protoreflect.Message
func (*FindRoleRequest) Reset ¶
func (x *FindRoleRequest) Reset()
func (*FindRoleRequest) String ¶
func (x *FindRoleRequest) String() string
func (*FindRoleRequest) Validate ¶
func (m *FindRoleRequest) Validate() error
Validate checks the field values on FindRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindRoleRequest) ValidateAll ¶
func (m *FindRoleRequest) ValidateAll() error
ValidateAll checks the field values on FindRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindRoleRequestMultiError, or nil if none found.
type FindRoleRequestMultiError ¶
type FindRoleRequestMultiError []error
FindRoleRequestMultiError is an error wrapping multiple validation errors returned by FindRoleRequest.ValidateAll() if the designated constraints aren't met.
func (FindRoleRequestMultiError) AllErrors ¶
func (m FindRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindRoleRequestMultiError) Error ¶
func (m FindRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindRoleRequestValidationError ¶
type FindRoleRequestValidationError struct {
// contains filtered or unexported fields
}
FindRoleRequestValidationError is the validation error returned by FindRoleRequest.Validate if the designated constraints aren't met.
func (FindRoleRequestValidationError) Cause ¶
func (e FindRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (FindRoleRequestValidationError) Error ¶
func (e FindRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindRoleRequestValidationError) ErrorName ¶
func (e FindRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindRoleRequestValidationError) Field ¶
func (e FindRoleRequestValidationError) Field() string
Field function returns field value.
func (FindRoleRequestValidationError) Key ¶
func (e FindRoleRequestValidationError) Key() bool
Key function returns key value.
func (FindRoleRequestValidationError) Reason ¶
func (e FindRoleRequestValidationError) Reason() string
Reason function returns reason value.
type FindUserGroupReply ¶
type FindUserGroupReply struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*UserGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*FindUserGroupReply) Descriptor
deprecated
func (*FindUserGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use FindUserGroupReply.ProtoReflect.Descriptor instead.
func (*FindUserGroupReply) GetList ¶
func (x *FindUserGroupReply) GetList() []*UserGroup
func (*FindUserGroupReply) GetPage ¶
func (x *FindUserGroupReply) GetPage() *params.Page
func (*FindUserGroupReply) ProtoMessage ¶
func (*FindUserGroupReply) ProtoMessage()
func (*FindUserGroupReply) ProtoReflect ¶
func (x *FindUserGroupReply) ProtoReflect() protoreflect.Message
func (*FindUserGroupReply) Reset ¶
func (x *FindUserGroupReply) Reset()
func (*FindUserGroupReply) String ¶
func (x *FindUserGroupReply) String() string
func (*FindUserGroupReply) Validate ¶
func (m *FindUserGroupReply) Validate() error
Validate checks the field values on FindUserGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindUserGroupReply) ValidateAll ¶
func (m *FindUserGroupReply) ValidateAll() error
ValidateAll checks the field values on FindUserGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserGroupReplyMultiError, or nil if none found.
type FindUserGroupReplyMultiError ¶
type FindUserGroupReplyMultiError []error
FindUserGroupReplyMultiError is an error wrapping multiple validation errors returned by FindUserGroupReply.ValidateAll() if the designated constraints aren't met.
func (FindUserGroupReplyMultiError) AllErrors ¶
func (m FindUserGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindUserGroupReplyMultiError) Error ¶
func (m FindUserGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindUserGroupReplyValidationError ¶
type FindUserGroupReplyValidationError struct {
// contains filtered or unexported fields
}
FindUserGroupReplyValidationError is the validation error returned by FindUserGroupReply.Validate if the designated constraints aren't met.
func (FindUserGroupReplyValidationError) Cause ¶
func (e FindUserGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (FindUserGroupReplyValidationError) Error ¶
func (e FindUserGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindUserGroupReplyValidationError) ErrorName ¶
func (e FindUserGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindUserGroupReplyValidationError) Field ¶
func (e FindUserGroupReplyValidationError) Field() string
Field function returns field value.
func (FindUserGroupReplyValidationError) Key ¶
func (e FindUserGroupReplyValidationError) Key() bool
Key function returns key value.
func (FindUserGroupReplyValidationError) Reason ¶
func (e FindUserGroupReplyValidationError) Reason() string
Reason function returns reason value.
type FindUserGroupRequest ¶
type FindUserGroupRequest struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Word *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"` Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"` // contains filtered or unexported fields }
func (*FindUserGroupRequest) Descriptor
deprecated
func (*FindUserGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindUserGroupRequest.ProtoReflect.Descriptor instead.
func (*FindUserGroupRequest) GetAction ¶
func (x *FindUserGroupRequest) GetAction() string
func (*FindUserGroupRequest) GetName ¶
func (x *FindUserGroupRequest) GetName() string
func (*FindUserGroupRequest) GetPage ¶
func (x *FindUserGroupRequest) GetPage() *params.Page
func (*FindUserGroupRequest) GetWord ¶
func (x *FindUserGroupRequest) GetWord() string
func (*FindUserGroupRequest) ProtoMessage ¶
func (*FindUserGroupRequest) ProtoMessage()
func (*FindUserGroupRequest) ProtoReflect ¶
func (x *FindUserGroupRequest) ProtoReflect() protoreflect.Message
func (*FindUserGroupRequest) Reset ¶
func (x *FindUserGroupRequest) Reset()
func (*FindUserGroupRequest) String ¶
func (x *FindUserGroupRequest) String() string
func (*FindUserGroupRequest) Validate ¶
func (m *FindUserGroupRequest) Validate() error
Validate checks the field values on FindUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindUserGroupRequest) ValidateAll ¶
func (m *FindUserGroupRequest) ValidateAll() error
ValidateAll checks the field values on FindUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserGroupRequestMultiError, or nil if none found.
type FindUserGroupRequestMultiError ¶
type FindUserGroupRequestMultiError []error
FindUserGroupRequestMultiError is an error wrapping multiple validation errors returned by FindUserGroupRequest.ValidateAll() if the designated constraints aren't met.
func (FindUserGroupRequestMultiError) AllErrors ¶
func (m FindUserGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindUserGroupRequestMultiError) Error ¶
func (m FindUserGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindUserGroupRequestValidationError ¶
type FindUserGroupRequestValidationError struct {
// contains filtered or unexported fields
}
FindUserGroupRequestValidationError is the validation error returned by FindUserGroupRequest.Validate if the designated constraints aren't met.
func (FindUserGroupRequestValidationError) Cause ¶
func (e FindUserGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (FindUserGroupRequestValidationError) Error ¶
func (e FindUserGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindUserGroupRequestValidationError) ErrorName ¶
func (e FindUserGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindUserGroupRequestValidationError) Field ¶
func (e FindUserGroupRequestValidationError) Field() string
Field function returns field value.
func (FindUserGroupRequestValidationError) Key ¶
func (e FindUserGroupRequestValidationError) Key() bool
Key function returns key value.
func (FindUserGroupRequestValidationError) Reason ¶
func (e FindUserGroupRequestValidationError) Reason() string
Reason function returns reason value.
type FindUserReply ¶
type FindUserReply struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*FindUserReply) Descriptor
deprecated
func (*FindUserReply) Descriptor() ([]byte, []int)
Deprecated: Use FindUserReply.ProtoReflect.Descriptor instead.
func (*FindUserReply) GetList ¶
func (x *FindUserReply) GetList() []*User
func (*FindUserReply) GetPage ¶
func (x *FindUserReply) GetPage() *params.Page
func (*FindUserReply) ProtoMessage ¶
func (*FindUserReply) ProtoMessage()
func (*FindUserReply) ProtoReflect ¶
func (x *FindUserReply) ProtoReflect() protoreflect.Message
func (*FindUserReply) Reset ¶
func (x *FindUserReply) Reset()
func (*FindUserReply) String ¶
func (x *FindUserReply) String() string
func (*FindUserReply) Validate ¶
func (m *FindUserReply) Validate() error
Validate checks the field values on FindUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindUserReply) ValidateAll ¶
func (m *FindUserReply) ValidateAll() error
ValidateAll checks the field values on FindUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserReplyMultiError, or nil if none found.
type FindUserReplyMultiError ¶
type FindUserReplyMultiError []error
FindUserReplyMultiError is an error wrapping multiple validation errors returned by FindUserReply.ValidateAll() if the designated constraints aren't met.
func (FindUserReplyMultiError) AllErrors ¶
func (m FindUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindUserReplyMultiError) Error ¶
func (m FindUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindUserReplyValidationError ¶
type FindUserReplyValidationError struct {
// contains filtered or unexported fields
}
FindUserReplyValidationError is the validation error returned by FindUserReply.Validate if the designated constraints aren't met.
func (FindUserReplyValidationError) Cause ¶
func (e FindUserReplyValidationError) Cause() error
Cause function returns cause value.
func (FindUserReplyValidationError) Error ¶
func (e FindUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindUserReplyValidationError) ErrorName ¶
func (e FindUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindUserReplyValidationError) Field ¶
func (e FindUserReplyValidationError) Field() string
Field function returns field value.
func (FindUserReplyValidationError) Key ¶
func (e FindUserReplyValidationError) Key() bool
Key function returns key value.
func (FindUserReplyValidationError) Reason ¶
func (e FindUserReplyValidationError) Reason() string
Reason function returns reason value.
type FindUserRequest ¶
type FindUserRequest struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` StartCreatedAt *string `protobuf:"bytes,2,opt,name=start_created_at,json=startCreatedAt,proto3,oneof" json:"start_created_at,omitempty"` EndCreatedAt *string `protobuf:"bytes,3,opt,name=end_created_at,json=endCreatedAt,proto3,oneof" json:"end_created_at,omitempty"` StartUpdatedAt *string `protobuf:"bytes,4,opt,name=start_updated_at,json=startUpdatedAt,proto3,oneof" json:"start_updated_at,omitempty"` EndUpdatedAt *string `protobuf:"bytes,5,opt,name=end_updated_at,json=endUpdatedAt,proto3,oneof" json:"end_updated_at,omitempty"` Username *string `protobuf:"bytes,6,opt,name=username,proto3,oneof" json:"username,omitempty"` Code *string `protobuf:"bytes,7,opt,name=code,proto3,oneof" json:"code,omitempty"` Platform *string `protobuf:"bytes,8,opt,name=platform,proto3,oneof" json:"platform,omitempty"` Locked *bool `protobuf:"varint,9,opt,name=locked,proto3,oneof" json:"locked,omitempty"` // contains filtered or unexported fields }
func (*FindUserRequest) Descriptor
deprecated
func (*FindUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindUserRequest.ProtoReflect.Descriptor instead.
func (*FindUserRequest) GetCode ¶
func (x *FindUserRequest) GetCode() string
func (*FindUserRequest) GetEndCreatedAt ¶
func (x *FindUserRequest) GetEndCreatedAt() string
func (*FindUserRequest) GetEndUpdatedAt ¶
func (x *FindUserRequest) GetEndUpdatedAt() string
func (*FindUserRequest) GetLocked ¶
func (x *FindUserRequest) GetLocked() bool
func (*FindUserRequest) GetPage ¶
func (x *FindUserRequest) GetPage() *params.Page
func (*FindUserRequest) GetPlatform ¶ added in v1.0.2
func (x *FindUserRequest) GetPlatform() string
func (*FindUserRequest) GetStartCreatedAt ¶
func (x *FindUserRequest) GetStartCreatedAt() string
func (*FindUserRequest) GetStartUpdatedAt ¶
func (x *FindUserRequest) GetStartUpdatedAt() string
func (*FindUserRequest) GetUsername ¶
func (x *FindUserRequest) GetUsername() string
func (*FindUserRequest) ProtoMessage ¶
func (*FindUserRequest) ProtoMessage()
func (*FindUserRequest) ProtoReflect ¶
func (x *FindUserRequest) ProtoReflect() protoreflect.Message
func (*FindUserRequest) Reset ¶
func (x *FindUserRequest) Reset()
func (*FindUserRequest) String ¶
func (x *FindUserRequest) String() string
func (*FindUserRequest) Validate ¶
func (m *FindUserRequest) Validate() error
Validate checks the field values on FindUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindUserRequest) ValidateAll ¶
func (m *FindUserRequest) ValidateAll() error
ValidateAll checks the field values on FindUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindUserRequestMultiError, or nil if none found.
type FindUserRequestMultiError ¶
type FindUserRequestMultiError []error
FindUserRequestMultiError is an error wrapping multiple validation errors returned by FindUserRequest.ValidateAll() if the designated constraints aren't met.
func (FindUserRequestMultiError) AllErrors ¶
func (m FindUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindUserRequestMultiError) Error ¶
func (m FindUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindUserRequestValidationError ¶
type FindUserRequestValidationError struct {
// contains filtered or unexported fields
}
FindUserRequestValidationError is the validation error returned by FindUserRequest.Validate if the designated constraints aren't met.
func (FindUserRequestValidationError) Cause ¶
func (e FindUserRequestValidationError) Cause() error
Cause function returns cause value.
func (FindUserRequestValidationError) Error ¶
func (e FindUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindUserRequestValidationError) ErrorName ¶
func (e FindUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindUserRequestValidationError) Field ¶
func (e FindUserRequestValidationError) Field() string
Field function returns field value.
func (FindUserRequestValidationError) Key ¶
func (e FindUserRequestValidationError) Key() bool
Key function returns key value.
func (FindUserRequestValidationError) Reason ¶
func (e FindUserRequestValidationError) Reason() string
Reason function returns reason value.
type FindWhitelistReply ¶ added in v1.0.3
type FindWhitelistReply struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*Whitelist `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*FindWhitelistReply) Descriptor
deprecated
added in
v1.0.3
func (*FindWhitelistReply) Descriptor() ([]byte, []int)
Deprecated: Use FindWhitelistReply.ProtoReflect.Descriptor instead.
func (*FindWhitelistReply) GetList ¶ added in v1.0.3
func (x *FindWhitelistReply) GetList() []*Whitelist
func (*FindWhitelistReply) GetPage ¶ added in v1.0.3
func (x *FindWhitelistReply) GetPage() *params.Page
func (*FindWhitelistReply) ProtoMessage ¶ added in v1.0.3
func (*FindWhitelistReply) ProtoMessage()
func (*FindWhitelistReply) ProtoReflect ¶ added in v1.0.3
func (x *FindWhitelistReply) ProtoReflect() protoreflect.Message
func (*FindWhitelistReply) Reset ¶ added in v1.0.3
func (x *FindWhitelistReply) Reset()
func (*FindWhitelistReply) String ¶ added in v1.0.3
func (x *FindWhitelistReply) String() string
func (*FindWhitelistReply) Validate ¶ added in v1.0.3
func (m *FindWhitelistReply) Validate() error
Validate checks the field values on FindWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindWhitelistReply) ValidateAll ¶ added in v1.0.3
func (m *FindWhitelistReply) ValidateAll() error
ValidateAll checks the field values on FindWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindWhitelistReplyMultiError, or nil if none found.
type FindWhitelistReplyMultiError ¶ added in v1.0.3
type FindWhitelistReplyMultiError []error
FindWhitelistReplyMultiError is an error wrapping multiple validation errors returned by FindWhitelistReply.ValidateAll() if the designated constraints aren't met.
func (FindWhitelistReplyMultiError) AllErrors ¶ added in v1.0.3
func (m FindWhitelistReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindWhitelistReplyMultiError) Error ¶ added in v1.0.3
func (m FindWhitelistReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindWhitelistReplyValidationError ¶ added in v1.0.3
type FindWhitelistReplyValidationError struct {
// contains filtered or unexported fields
}
FindWhitelistReplyValidationError is the validation error returned by FindWhitelistReply.Validate if the designated constraints aren't met.
func (FindWhitelistReplyValidationError) Cause ¶ added in v1.0.3
func (e FindWhitelistReplyValidationError) Cause() error
Cause function returns cause value.
func (FindWhitelistReplyValidationError) Error ¶ added in v1.0.3
func (e FindWhitelistReplyValidationError) Error() string
Error satisfies the builtin error interface
func (FindWhitelistReplyValidationError) ErrorName ¶ added in v1.0.3
func (e FindWhitelistReplyValidationError) ErrorName() string
ErrorName returns error name.
func (FindWhitelistReplyValidationError) Field ¶ added in v1.0.3
func (e FindWhitelistReplyValidationError) Field() string
Field function returns field value.
func (FindWhitelistReplyValidationError) Key ¶ added in v1.0.3
func (e FindWhitelistReplyValidationError) Key() bool
Key function returns key value.
func (FindWhitelistReplyValidationError) Reason ¶ added in v1.0.3
func (e FindWhitelistReplyValidationError) Reason() string
Reason function returns reason value.
type FindWhitelistRequest ¶ added in v1.0.3
type FindWhitelistRequest struct { Page *params.Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Category *uint32 `protobuf:"varint,2,opt,name=category,proto3,oneof" json:"category,omitempty"` Resource *string `protobuf:"bytes,3,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*FindWhitelistRequest) Descriptor
deprecated
added in
v1.0.3
func (*FindWhitelistRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindWhitelistRequest.ProtoReflect.Descriptor instead.
func (*FindWhitelistRequest) GetCategory ¶ added in v1.0.3
func (x *FindWhitelistRequest) GetCategory() uint32
func (*FindWhitelistRequest) GetPage ¶ added in v1.0.3
func (x *FindWhitelistRequest) GetPage() *params.Page
func (*FindWhitelistRequest) GetResource ¶ added in v1.0.3
func (x *FindWhitelistRequest) GetResource() string
func (*FindWhitelistRequest) ProtoMessage ¶ added in v1.0.3
func (*FindWhitelistRequest) ProtoMessage()
func (*FindWhitelistRequest) ProtoReflect ¶ added in v1.0.3
func (x *FindWhitelistRequest) ProtoReflect() protoreflect.Message
func (*FindWhitelistRequest) Reset ¶ added in v1.0.3
func (x *FindWhitelistRequest) Reset()
func (*FindWhitelistRequest) String ¶ added in v1.0.3
func (x *FindWhitelistRequest) String() string
func (*FindWhitelistRequest) Validate ¶ added in v1.0.3
func (m *FindWhitelistRequest) Validate() error
Validate checks the field values on FindWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FindWhitelistRequest) ValidateAll ¶ added in v1.0.3
func (m *FindWhitelistRequest) ValidateAll() error
ValidateAll checks the field values on FindWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FindWhitelistRequestMultiError, or nil if none found.
type FindWhitelistRequestMultiError ¶ added in v1.0.3
type FindWhitelistRequestMultiError []error
FindWhitelistRequestMultiError is an error wrapping multiple validation errors returned by FindWhitelistRequest.ValidateAll() if the designated constraints aren't met.
func (FindWhitelistRequestMultiError) AllErrors ¶ added in v1.0.3
func (m FindWhitelistRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FindWhitelistRequestMultiError) Error ¶ added in v1.0.3
func (m FindWhitelistRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FindWhitelistRequestValidationError ¶ added in v1.0.3
type FindWhitelistRequestValidationError struct {
// contains filtered or unexported fields
}
FindWhitelistRequestValidationError is the validation error returned by FindWhitelistRequest.Validate if the designated constraints aren't met.
func (FindWhitelistRequestValidationError) Cause ¶ added in v1.0.3
func (e FindWhitelistRequestValidationError) Cause() error
Cause function returns cause value.
func (FindWhitelistRequestValidationError) Error ¶ added in v1.0.3
func (e FindWhitelistRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindWhitelistRequestValidationError) ErrorName ¶ added in v1.0.3
func (e FindWhitelistRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindWhitelistRequestValidationError) Field ¶ added in v1.0.3
func (e FindWhitelistRequestValidationError) Field() string
Field function returns field value.
func (FindWhitelistRequestValidationError) Key ¶ added in v1.0.3
func (e FindWhitelistRequestValidationError) Key() bool
Key function returns key value.
func (FindWhitelistRequestValidationError) Reason ¶ added in v1.0.3
func (e FindWhitelistRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserByCodeReply ¶ added in v1.0.3
type GetUserByCodeReply struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserByCodeReply) Descriptor
deprecated
added in
v1.0.3
func (*GetUserByCodeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByCodeReply.ProtoReflect.Descriptor instead.
func (*GetUserByCodeReply) GetUser ¶ added in v1.0.3
func (x *GetUserByCodeReply) GetUser() *User
func (*GetUserByCodeReply) ProtoMessage ¶ added in v1.0.3
func (*GetUserByCodeReply) ProtoMessage()
func (*GetUserByCodeReply) ProtoReflect ¶ added in v1.0.3
func (x *GetUserByCodeReply) ProtoReflect() protoreflect.Message
func (*GetUserByCodeReply) Reset ¶ added in v1.0.3
func (x *GetUserByCodeReply) Reset()
func (*GetUserByCodeReply) String ¶ added in v1.0.3
func (x *GetUserByCodeReply) String() string
func (*GetUserByCodeReply) Validate ¶ added in v1.0.3
func (m *GetUserByCodeReply) Validate() error
Validate checks the field values on GetUserByCodeReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserByCodeReply) ValidateAll ¶ added in v1.0.3
func (m *GetUserByCodeReply) ValidateAll() error
ValidateAll checks the field values on GetUserByCodeReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserByCodeReplyMultiError, or nil if none found.
type GetUserByCodeReplyMultiError ¶ added in v1.0.3
type GetUserByCodeReplyMultiError []error
GetUserByCodeReplyMultiError is an error wrapping multiple validation errors returned by GetUserByCodeReply.ValidateAll() if the designated constraints aren't met.
func (GetUserByCodeReplyMultiError) AllErrors ¶ added in v1.0.3
func (m GetUserByCodeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserByCodeReplyMultiError) Error ¶ added in v1.0.3
func (m GetUserByCodeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserByCodeReplyValidationError ¶ added in v1.0.3
type GetUserByCodeReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserByCodeReplyValidationError is the validation error returned by GetUserByCodeReply.Validate if the designated constraints aren't met.
func (GetUserByCodeReplyValidationError) Cause ¶ added in v1.0.3
func (e GetUserByCodeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserByCodeReplyValidationError) Error ¶ added in v1.0.3
func (e GetUserByCodeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserByCodeReplyValidationError) ErrorName ¶ added in v1.0.3
func (e GetUserByCodeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserByCodeReplyValidationError) Field ¶ added in v1.0.3
func (e GetUserByCodeReplyValidationError) Field() string
Field function returns field value.
func (GetUserByCodeReplyValidationError) Key ¶ added in v1.0.3
func (e GetUserByCodeReplyValidationError) Key() bool
Key function returns key value.
func (GetUserByCodeReplyValidationError) Reason ¶ added in v1.0.3
func (e GetUserByCodeReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserByCodeRequest ¶ added in v1.0.3
type GetUserByCodeRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*GetUserByCodeRequest) Descriptor
deprecated
added in
v1.0.3
func (*GetUserByCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByCodeRequest.ProtoReflect.Descriptor instead.
func (*GetUserByCodeRequest) GetCode ¶ added in v1.0.3
func (x *GetUserByCodeRequest) GetCode() string
func (*GetUserByCodeRequest) ProtoMessage ¶ added in v1.0.3
func (*GetUserByCodeRequest) ProtoMessage()
func (*GetUserByCodeRequest) ProtoReflect ¶ added in v1.0.3
func (x *GetUserByCodeRequest) ProtoReflect() protoreflect.Message
func (*GetUserByCodeRequest) Reset ¶ added in v1.0.3
func (x *GetUserByCodeRequest) Reset()
func (*GetUserByCodeRequest) String ¶ added in v1.0.3
func (x *GetUserByCodeRequest) String() string
func (*GetUserByCodeRequest) Validate ¶ added in v1.0.3
func (m *GetUserByCodeRequest) Validate() error
Validate checks the field values on GetUserByCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserByCodeRequest) ValidateAll ¶ added in v1.0.3
func (m *GetUserByCodeRequest) ValidateAll() error
ValidateAll checks the field values on GetUserByCodeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserByCodeRequestMultiError, or nil if none found.
type GetUserByCodeRequestMultiError ¶ added in v1.0.3
type GetUserByCodeRequestMultiError []error
GetUserByCodeRequestMultiError is an error wrapping multiple validation errors returned by GetUserByCodeRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserByCodeRequestMultiError) AllErrors ¶ added in v1.0.3
func (m GetUserByCodeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserByCodeRequestMultiError) Error ¶ added in v1.0.3
func (m GetUserByCodeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserByCodeRequestValidationError ¶ added in v1.0.3
type GetUserByCodeRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserByCodeRequestValidationError is the validation error returned by GetUserByCodeRequest.Validate if the designated constraints aren't met.
func (GetUserByCodeRequestValidationError) Cause ¶ added in v1.0.3
func (e GetUserByCodeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserByCodeRequestValidationError) Error ¶ added in v1.0.3
func (e GetUserByCodeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserByCodeRequestValidationError) ErrorName ¶ added in v1.0.3
func (e GetUserByCodeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserByCodeRequestValidationError) Field ¶ added in v1.0.3
func (e GetUserByCodeRequestValidationError) Field() string
Field function returns field value.
func (GetUserByCodeRequestValidationError) Key ¶ added in v1.0.3
func (e GetUserByCodeRequestValidationError) Key() bool
Key function returns key value.
func (GetUserByCodeRequestValidationError) Reason ¶ added in v1.0.3
func (e GetUserByCodeRequestValidationError) Reason() string
Reason function returns reason value.
type HasWhitelistReply ¶ added in v1.0.3
type HasWhitelistReply struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*HasWhitelistReply) Descriptor
deprecated
added in
v1.0.3
func (*HasWhitelistReply) Descriptor() ([]byte, []int)
Deprecated: Use HasWhitelistReply.ProtoReflect.Descriptor instead.
func (*HasWhitelistReply) GetOk ¶ added in v1.0.3
func (x *HasWhitelistReply) GetOk() bool
func (*HasWhitelistReply) ProtoMessage ¶ added in v1.0.3
func (*HasWhitelistReply) ProtoMessage()
func (*HasWhitelistReply) ProtoReflect ¶ added in v1.0.3
func (x *HasWhitelistReply) ProtoReflect() protoreflect.Message
func (*HasWhitelistReply) Reset ¶ added in v1.0.3
func (x *HasWhitelistReply) Reset()
func (*HasWhitelistReply) String ¶ added in v1.0.3
func (x *HasWhitelistReply) String() string
func (*HasWhitelistReply) Validate ¶ added in v1.0.3
func (m *HasWhitelistReply) Validate() error
Validate checks the field values on HasWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HasWhitelistReply) ValidateAll ¶ added in v1.0.3
func (m *HasWhitelistReply) ValidateAll() error
ValidateAll checks the field values on HasWhitelistReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HasWhitelistReplyMultiError, or nil if none found.
type HasWhitelistReplyMultiError ¶ added in v1.0.3
type HasWhitelistReplyMultiError []error
HasWhitelistReplyMultiError is an error wrapping multiple validation errors returned by HasWhitelistReply.ValidateAll() if the designated constraints aren't met.
func (HasWhitelistReplyMultiError) AllErrors ¶ added in v1.0.3
func (m HasWhitelistReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HasWhitelistReplyMultiError) Error ¶ added in v1.0.3
func (m HasWhitelistReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HasWhitelistReplyValidationError ¶ added in v1.0.3
type HasWhitelistReplyValidationError struct {
// contains filtered or unexported fields
}
HasWhitelistReplyValidationError is the validation error returned by HasWhitelistReply.Validate if the designated constraints aren't met.
func (HasWhitelistReplyValidationError) Cause ¶ added in v1.0.3
func (e HasWhitelistReplyValidationError) Cause() error
Cause function returns cause value.
func (HasWhitelistReplyValidationError) Error ¶ added in v1.0.3
func (e HasWhitelistReplyValidationError) Error() string
Error satisfies the builtin error interface
func (HasWhitelistReplyValidationError) ErrorName ¶ added in v1.0.3
func (e HasWhitelistReplyValidationError) ErrorName() string
ErrorName returns error name.
func (HasWhitelistReplyValidationError) Field ¶ added in v1.0.3
func (e HasWhitelistReplyValidationError) Field() string
Field function returns field value.
func (HasWhitelistReplyValidationError) Key ¶ added in v1.0.3
func (e HasWhitelistReplyValidationError) Key() bool
Key function returns key value.
func (HasWhitelistReplyValidationError) Reason ¶ added in v1.0.3
func (e HasWhitelistReplyValidationError) Reason() string
Reason function returns reason value.
type HasWhitelistRequest ¶ added in v1.0.3
type HasWhitelistRequest struct { Category uint32 `protobuf:"varint,1,opt,name=category,proto3" json:"category,omitempty"` Permission *HasWhitelistRequest_CheckPermission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*HasWhitelistRequest) Descriptor
deprecated
added in
v1.0.3
func (*HasWhitelistRequest) Descriptor() ([]byte, []int)
Deprecated: Use HasWhitelistRequest.ProtoReflect.Descriptor instead.
func (*HasWhitelistRequest) GetCategory ¶ added in v1.0.3
func (x *HasWhitelistRequest) GetCategory() uint32
func (*HasWhitelistRequest) GetPermission ¶ added in v1.0.3
func (x *HasWhitelistRequest) GetPermission() *HasWhitelistRequest_CheckPermission
func (*HasWhitelistRequest) ProtoMessage ¶ added in v1.0.3
func (*HasWhitelistRequest) ProtoMessage()
func (*HasWhitelistRequest) ProtoReflect ¶ added in v1.0.3
func (x *HasWhitelistRequest) ProtoReflect() protoreflect.Message
func (*HasWhitelistRequest) Reset ¶ added in v1.0.3
func (x *HasWhitelistRequest) Reset()
func (*HasWhitelistRequest) String ¶ added in v1.0.3
func (x *HasWhitelistRequest) String() string
func (*HasWhitelistRequest) Validate ¶ added in v1.0.3
func (m *HasWhitelistRequest) Validate() error
Validate checks the field values on HasWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HasWhitelistRequest) ValidateAll ¶ added in v1.0.3
func (m *HasWhitelistRequest) ValidateAll() error
ValidateAll checks the field values on HasWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HasWhitelistRequestMultiError, or nil if none found.
type HasWhitelistRequestMultiError ¶ added in v1.0.3
type HasWhitelistRequestMultiError []error
HasWhitelistRequestMultiError is an error wrapping multiple validation errors returned by HasWhitelistRequest.ValidateAll() if the designated constraints aren't met.
func (HasWhitelistRequestMultiError) AllErrors ¶ added in v1.0.3
func (m HasWhitelistRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HasWhitelistRequestMultiError) Error ¶ added in v1.0.3
func (m HasWhitelistRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HasWhitelistRequestValidationError ¶ added in v1.0.3
type HasWhitelistRequestValidationError struct {
// contains filtered or unexported fields
}
HasWhitelistRequestValidationError is the validation error returned by HasWhitelistRequest.Validate if the designated constraints aren't met.
func (HasWhitelistRequestValidationError) Cause ¶ added in v1.0.3
func (e HasWhitelistRequestValidationError) Cause() error
Cause function returns cause value.
func (HasWhitelistRequestValidationError) Error ¶ added in v1.0.3
func (e HasWhitelistRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HasWhitelistRequestValidationError) ErrorName ¶ added in v1.0.3
func (e HasWhitelistRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HasWhitelistRequestValidationError) Field ¶ added in v1.0.3
func (e HasWhitelistRequestValidationError) Field() string
Field function returns field value.
func (HasWhitelistRequestValidationError) Key ¶ added in v1.0.3
func (e HasWhitelistRequestValidationError) Key() bool
Key function returns key value.
func (HasWhitelistRequestValidationError) Reason ¶ added in v1.0.3
func (e HasWhitelistRequestValidationError) Reason() string
Reason function returns reason value.
type HasWhitelistRequest_CheckPermission ¶ added in v1.0.3
type HasWhitelistRequest_CheckPermission struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*HasWhitelistRequest_CheckPermission) Descriptor
deprecated
added in
v1.0.3
func (*HasWhitelistRequest_CheckPermission) Descriptor() ([]byte, []int)
Deprecated: Use HasWhitelistRequest_CheckPermission.ProtoReflect.Descriptor instead.
func (*HasWhitelistRequest_CheckPermission) GetMethod ¶ added in v1.0.3
func (x *HasWhitelistRequest_CheckPermission) GetMethod() string
func (*HasWhitelistRequest_CheckPermission) GetResource ¶ added in v1.0.3
func (x *HasWhitelistRequest_CheckPermission) GetResource() string
func (*HasWhitelistRequest_CheckPermission) GetUri ¶ added in v1.0.3
func (x *HasWhitelistRequest_CheckPermission) GetUri() string
func (*HasWhitelistRequest_CheckPermission) ProtoMessage ¶ added in v1.0.3
func (*HasWhitelistRequest_CheckPermission) ProtoMessage()
func (*HasWhitelistRequest_CheckPermission) ProtoReflect ¶ added in v1.0.3
func (x *HasWhitelistRequest_CheckPermission) ProtoReflect() protoreflect.Message
func (*HasWhitelistRequest_CheckPermission) Reset ¶ added in v1.0.3
func (x *HasWhitelistRequest_CheckPermission) Reset()
func (*HasWhitelistRequest_CheckPermission) String ¶ added in v1.0.3
func (x *HasWhitelistRequest_CheckPermission) String() string
func (*HasWhitelistRequest_CheckPermission) Validate ¶ added in v1.0.3
func (m *HasWhitelistRequest_CheckPermission) Validate() error
Validate checks the field values on HasWhitelistRequest_CheckPermission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HasWhitelistRequest_CheckPermission) ValidateAll ¶ added in v1.0.3
func (m *HasWhitelistRequest_CheckPermission) ValidateAll() error
ValidateAll checks the field values on HasWhitelistRequest_CheckPermission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HasWhitelistRequest_CheckPermissionMultiError, or nil if none found.
type HasWhitelistRequest_CheckPermissionMultiError ¶ added in v1.0.3
type HasWhitelistRequest_CheckPermissionMultiError []error
HasWhitelistRequest_CheckPermissionMultiError is an error wrapping multiple validation errors returned by HasWhitelistRequest_CheckPermission.ValidateAll() if the designated constraints aren't met.
func (HasWhitelistRequest_CheckPermissionMultiError) AllErrors ¶ added in v1.0.3
func (m HasWhitelistRequest_CheckPermissionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HasWhitelistRequest_CheckPermissionMultiError) Error ¶ added in v1.0.3
func (m HasWhitelistRequest_CheckPermissionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HasWhitelistRequest_CheckPermissionValidationError ¶ added in v1.0.3
type HasWhitelistRequest_CheckPermissionValidationError struct {
// contains filtered or unexported fields
}
HasWhitelistRequest_CheckPermissionValidationError is the validation error returned by HasWhitelistRequest_CheckPermission.Validate if the designated constraints aren't met.
func (HasWhitelistRequest_CheckPermissionValidationError) Cause ¶ added in v1.0.3
func (e HasWhitelistRequest_CheckPermissionValidationError) Cause() error
Cause function returns cause value.
func (HasWhitelistRequest_CheckPermissionValidationError) Error ¶ added in v1.0.3
func (e HasWhitelistRequest_CheckPermissionValidationError) Error() string
Error satisfies the builtin error interface
func (HasWhitelistRequest_CheckPermissionValidationError) ErrorName ¶ added in v1.0.3
func (e HasWhitelistRequest_CheckPermissionValidationError) ErrorName() string
ErrorName returns error name.
func (HasWhitelistRequest_CheckPermissionValidationError) Field ¶ added in v1.0.3
func (e HasWhitelistRequest_CheckPermissionValidationError) Field() string
Field function returns field value.
func (HasWhitelistRequest_CheckPermissionValidationError) Key ¶ added in v1.0.3
func (e HasWhitelistRequest_CheckPermissionValidationError) Key() bool
Key function returns key value.
func (HasWhitelistRequest_CheckPermissionValidationError) Reason ¶ added in v1.0.3
func (e HasWhitelistRequest_CheckPermissionValidationError) Reason() string
Reason function returns reason value.
type IdempotentReply ¶
type IdempotentReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IdempotentReply) Descriptor
deprecated
func (*IdempotentReply) Descriptor() ([]byte, []int)
Deprecated: Use IdempotentReply.ProtoReflect.Descriptor instead.
func (*IdempotentReply) GetToken ¶
func (x *IdempotentReply) GetToken() string
func (*IdempotentReply) ProtoMessage ¶
func (*IdempotentReply) ProtoMessage()
func (*IdempotentReply) ProtoReflect ¶
func (x *IdempotentReply) ProtoReflect() protoreflect.Message
func (*IdempotentReply) Reset ¶
func (x *IdempotentReply) Reset()
func (*IdempotentReply) String ¶
func (x *IdempotentReply) String() string
func (*IdempotentReply) Validate ¶
func (m *IdempotentReply) Validate() error
Validate checks the field values on IdempotentReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IdempotentReply) ValidateAll ¶
func (m *IdempotentReply) ValidateAll() error
ValidateAll checks the field values on IdempotentReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IdempotentReplyMultiError, or nil if none found.
type IdempotentReplyMultiError ¶
type IdempotentReplyMultiError []error
IdempotentReplyMultiError is an error wrapping multiple validation errors returned by IdempotentReply.ValidateAll() if the designated constraints aren't met.
func (IdempotentReplyMultiError) AllErrors ¶
func (m IdempotentReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IdempotentReplyMultiError) Error ¶
func (m IdempotentReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IdempotentReplyValidationError ¶
type IdempotentReplyValidationError struct {
// contains filtered or unexported fields
}
IdempotentReplyValidationError is the validation error returned by IdempotentReply.Validate if the designated constraints aren't met.
func (IdempotentReplyValidationError) Cause ¶
func (e IdempotentReplyValidationError) Cause() error
Cause function returns cause value.
func (IdempotentReplyValidationError) Error ¶
func (e IdempotentReplyValidationError) Error() string
Error satisfies the builtin error interface
func (IdempotentReplyValidationError) ErrorName ¶
func (e IdempotentReplyValidationError) ErrorName() string
ErrorName returns error name.
func (IdempotentReplyValidationError) Field ¶
func (e IdempotentReplyValidationError) Field() string
Field function returns field value.
func (IdempotentReplyValidationError) Key ¶
func (e IdempotentReplyValidationError) Key() bool
Key function returns key value.
func (IdempotentReplyValidationError) Reason ¶
func (e IdempotentReplyValidationError) Reason() string
Reason function returns reason value.
type InfoReply ¶
type InfoReply struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` Permission *Permission `protobuf:"bytes,5,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*InfoReply) Descriptor
deprecated
func (*InfoReply) GetPermission ¶
func (x *InfoReply) GetPermission() *Permission
func (*InfoReply) GetPlatform ¶ added in v1.0.2
func (*InfoReply) GetUsername ¶
func (*InfoReply) ProtoMessage ¶
func (*InfoReply) ProtoMessage()
func (*InfoReply) ProtoReflect ¶
func (x *InfoReply) ProtoReflect() protoreflect.Message
func (*InfoReply) Validate ¶
Validate checks the field values on InfoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InfoReply) ValidateAll ¶
ValidateAll checks the field values on InfoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InfoReplyMultiError, or nil if none found.
type InfoReplyMultiError ¶
type InfoReplyMultiError []error
InfoReplyMultiError is an error wrapping multiple validation errors returned by InfoReply.ValidateAll() if the designated constraints aren't met.
func (InfoReplyMultiError) AllErrors ¶
func (m InfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InfoReplyMultiError) Error ¶
func (m InfoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InfoReplyValidationError ¶
type InfoReplyValidationError struct {
// contains filtered or unexported fields
}
InfoReplyValidationError is the validation error returned by InfoReply.Validate if the designated constraints aren't met.
func (InfoReplyValidationError) Cause ¶
func (e InfoReplyValidationError) Cause() error
Cause function returns cause value.
func (InfoReplyValidationError) Error ¶
func (e InfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (InfoReplyValidationError) ErrorName ¶
func (e InfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (InfoReplyValidationError) Field ¶
func (e InfoReplyValidationError) Field() string
Field function returns field value.
func (InfoReplyValidationError) Key ¶
func (e InfoReplyValidationError) Key() bool
Key function returns key value.
func (InfoReplyValidationError) Reason ¶
func (e InfoReplyValidationError) Reason() string
Reason function returns reason value.
type LoginReply ¶
type LoginReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires string `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*LoginReply) Descriptor
deprecated
func (*LoginReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
func (*LoginReply) GetExpires ¶
func (x *LoginReply) GetExpires() string
func (*LoginReply) GetToken ¶
func (x *LoginReply) GetToken() string
func (*LoginReply) ProtoMessage ¶
func (*LoginReply) ProtoMessage()
func (*LoginReply) ProtoReflect ¶
func (x *LoginReply) ProtoReflect() protoreflect.Message
func (*LoginReply) Reset ¶
func (x *LoginReply) Reset()
func (*LoginReply) String ¶
func (x *LoginReply) String() string
func (*LoginReply) Validate ¶
func (m *LoginReply) Validate() error
Validate checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginReply) ValidateAll ¶
func (m *LoginReply) ValidateAll() error
ValidateAll checks the field values on LoginReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginReplyMultiError, or nil if none found.
type LoginReplyMultiError ¶
type LoginReplyMultiError []error
LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.
func (LoginReplyMultiError) AllErrors ¶
func (m LoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginReplyMultiError) Error ¶
func (m LoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginReplyValidationError ¶
type LoginReplyValidationError struct {
// contains filtered or unexported fields
}
LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.
func (LoginReplyValidationError) Cause ¶
func (e LoginReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginReplyValidationError) Error ¶
func (e LoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReplyValidationError) ErrorName ¶
func (e LoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReplyValidationError) Field ¶
func (e LoginReplyValidationError) Field() string
Field function returns field value.
func (LoginReplyValidationError) Key ¶
func (e LoginReplyValidationError) Key() bool
Key function returns key value.
func (LoginReplyValidationError) Reason ¶
func (e LoginReplyValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Platform *string `protobuf:"bytes,3,opt,name=platform,proto3,oneof" json:"platform,omitempty"` CaptchaId *string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3,oneof" json:"captcha_id,omitempty"` CaptchaAnswer *string `protobuf:"bytes,5,opt,name=captcha_answer,json=captchaAnswer,proto3,oneof" json:"captcha_answer,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetCaptchaAnswer ¶
func (x *LoginRequest) GetCaptchaAnswer() string
func (*LoginRequest) GetCaptchaId ¶
func (x *LoginRequest) GetCaptchaId() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetPlatform ¶ added in v1.0.2
func (x *LoginRequest) GetPlatform() string
func (*LoginRequest) GetUsername ¶
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type Permission ¶
type Permission struct { Resources []string `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` Menus []string `protobuf:"bytes,2,rep,name=menus,proto3" json:"menus,omitempty"` Btns []string `protobuf:"bytes,3,rep,name=btns,proto3" json:"btns,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetBtns ¶
func (x *Permission) GetBtns() []string
func (*Permission) GetMenus ¶
func (x *Permission) GetMenus() []string
func (*Permission) GetResources ¶
func (x *Permission) GetResources() []string
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) String ¶
func (x *Permission) String() string
func (*Permission) Validate ¶
func (m *Permission) Validate() error
Validate checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Permission) ValidateAll ¶
func (m *Permission) ValidateAll() error
ValidateAll checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionMultiError, or nil if none found.
type PermissionMultiError ¶
type PermissionMultiError []error
PermissionMultiError is an error wrapping multiple validation errors returned by Permission.ValidateAll() if the designated constraints aren't met.
func (PermissionMultiError) AllErrors ¶
func (m PermissionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermissionMultiError) Error ¶
func (m PermissionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermissionRequest ¶
type PermissionRequest struct { Resource *string `protobuf:"bytes,1,opt,name=resource,proto3,oneof" json:"resource,omitempty"` Method *string `protobuf:"bytes,2,opt,name=method,proto3,oneof" json:"method,omitempty"` Uri *string `protobuf:"bytes,3,opt,name=uri,proto3,oneof" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*PermissionRequest) Descriptor
deprecated
func (*PermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PermissionRequest.ProtoReflect.Descriptor instead.
func (*PermissionRequest) GetMethod ¶ added in v1.0.3
func (x *PermissionRequest) GetMethod() string
func (*PermissionRequest) GetResource ¶
func (x *PermissionRequest) GetResource() string
func (*PermissionRequest) GetUri ¶ added in v1.0.3
func (x *PermissionRequest) GetUri() string
func (*PermissionRequest) ProtoMessage ¶
func (*PermissionRequest) ProtoMessage()
func (*PermissionRequest) ProtoReflect ¶
func (x *PermissionRequest) ProtoReflect() protoreflect.Message
func (*PermissionRequest) Reset ¶
func (x *PermissionRequest) Reset()
func (*PermissionRequest) String ¶
func (x *PermissionRequest) String() string
func (*PermissionRequest) Validate ¶
func (m *PermissionRequest) Validate() error
Validate checks the field values on PermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PermissionRequest) ValidateAll ¶
func (m *PermissionRequest) ValidateAll() error
ValidateAll checks the field values on PermissionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionRequestMultiError, or nil if none found.
type PermissionRequestMultiError ¶
type PermissionRequestMultiError []error
PermissionRequestMultiError is an error wrapping multiple validation errors returned by PermissionRequest.ValidateAll() if the designated constraints aren't met.
func (PermissionRequestMultiError) AllErrors ¶
func (m PermissionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PermissionRequestMultiError) Error ¶
func (m PermissionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PermissionRequestValidationError ¶
type PermissionRequestValidationError struct {
// contains filtered or unexported fields
}
PermissionRequestValidationError is the validation error returned by PermissionRequest.Validate if the designated constraints aren't met.
func (PermissionRequestValidationError) Cause ¶
func (e PermissionRequestValidationError) Cause() error
Cause function returns cause value.
func (PermissionRequestValidationError) Error ¶
func (e PermissionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionRequestValidationError) ErrorName ¶
func (e PermissionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionRequestValidationError) Field ¶
func (e PermissionRequestValidationError) Field() string
Field function returns field value.
func (PermissionRequestValidationError) Key ¶
func (e PermissionRequestValidationError) Key() bool
Key function returns key value.
func (PermissionRequestValidationError) Reason ¶
func (e PermissionRequestValidationError) Reason() string
Reason function returns reason value.
type PermissionValidationError ¶
type PermissionValidationError struct {
// contains filtered or unexported fields
}
PermissionValidationError is the validation error returned by Permission.Validate if the designated constraints aren't met.
func (PermissionValidationError) Cause ¶
func (e PermissionValidationError) Cause() error
Cause function returns cause value.
func (PermissionValidationError) Error ¶
func (e PermissionValidationError) Error() string
Error satisfies the builtin error interface
func (PermissionValidationError) ErrorName ¶
func (e PermissionValidationError) ErrorName() string
ErrorName returns error name.
func (PermissionValidationError) Field ¶
func (e PermissionValidationError) Field() string
Field function returns field value.
func (PermissionValidationError) Key ¶
func (e PermissionValidationError) Key() bool
Key function returns key value.
func (PermissionValidationError) Reason ¶
func (e PermissionValidationError) Reason() string
Reason function returns reason value.
type PwdRequest ¶
type PwdRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` OldPassword string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*PwdRequest) Descriptor
deprecated
func (*PwdRequest) Descriptor() ([]byte, []int)
Deprecated: Use PwdRequest.ProtoReflect.Descriptor instead.
func (*PwdRequest) GetNewPassword ¶
func (x *PwdRequest) GetNewPassword() string
func (*PwdRequest) GetOldPassword ¶
func (x *PwdRequest) GetOldPassword() string
func (*PwdRequest) GetUsername ¶
func (x *PwdRequest) GetUsername() string
func (*PwdRequest) ProtoMessage ¶
func (*PwdRequest) ProtoMessage()
func (*PwdRequest) ProtoReflect ¶
func (x *PwdRequest) ProtoReflect() protoreflect.Message
func (*PwdRequest) Reset ¶
func (x *PwdRequest) Reset()
func (*PwdRequest) String ¶
func (x *PwdRequest) String() string
func (*PwdRequest) Validate ¶
func (m *PwdRequest) Validate() error
Validate checks the field values on PwdRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PwdRequest) ValidateAll ¶
func (m *PwdRequest) ValidateAll() error
ValidateAll checks the field values on PwdRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PwdRequestMultiError, or nil if none found.
type PwdRequestMultiError ¶
type PwdRequestMultiError []error
PwdRequestMultiError is an error wrapping multiple validation errors returned by PwdRequest.ValidateAll() if the designated constraints aren't met.
func (PwdRequestMultiError) AllErrors ¶
func (m PwdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PwdRequestMultiError) Error ¶
func (m PwdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PwdRequestValidationError ¶
type PwdRequestValidationError struct {
// contains filtered or unexported fields
}
PwdRequestValidationError is the validation error returned by PwdRequest.Validate if the designated constraints aren't met.
func (PwdRequestValidationError) Cause ¶
func (e PwdRequestValidationError) Cause() error
Cause function returns cause value.
func (PwdRequestValidationError) Error ¶
func (e PwdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PwdRequestValidationError) ErrorName ¶
func (e PwdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PwdRequestValidationError) Field ¶
func (e PwdRequestValidationError) Field() string
Field function returns field value.
func (PwdRequestValidationError) Key ¶
func (e PwdRequestValidationError) Key() bool
Key function returns key value.
func (PwdRequestValidationError) Reason ¶
func (e PwdRequestValidationError) Reason() string
Reason function returns reason value.
type RefreshRequest ¶
type RefreshRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RefreshRequest) Descriptor
deprecated
func (*RefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.
func (*RefreshRequest) GetToken ¶
func (x *RefreshRequest) GetToken() string
func (*RefreshRequest) ProtoMessage ¶
func (*RefreshRequest) ProtoMessage()
func (*RefreshRequest) ProtoReflect ¶
func (x *RefreshRequest) ProtoReflect() protoreflect.Message
func (*RefreshRequest) Reset ¶
func (x *RefreshRequest) Reset()
func (*RefreshRequest) String ¶
func (x *RefreshRequest) String() string
func (*RefreshRequest) Validate ¶
func (m *RefreshRequest) Validate() error
Validate checks the field values on RefreshRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RefreshRequest) ValidateAll ¶
func (m *RefreshRequest) ValidateAll() error
ValidateAll checks the field values on RefreshRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshRequestMultiError, or nil if none found.
type RefreshRequestMultiError ¶
type RefreshRequestMultiError []error
RefreshRequestMultiError is an error wrapping multiple validation errors returned by RefreshRequest.ValidateAll() if the designated constraints aren't met.
func (RefreshRequestMultiError) AllErrors ¶
func (m RefreshRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshRequestMultiError) Error ¶
func (m RefreshRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshRequestValidationError ¶
type RefreshRequestValidationError struct {
// contains filtered or unexported fields
}
RefreshRequestValidationError is the validation error returned by RefreshRequest.Validate if the designated constraints aren't met.
func (RefreshRequestValidationError) Cause ¶
func (e RefreshRequestValidationError) Cause() error
Cause function returns cause value.
func (RefreshRequestValidationError) Error ¶
func (e RefreshRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshRequestValidationError) ErrorName ¶
func (e RefreshRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshRequestValidationError) Field ¶
func (e RefreshRequestValidationError) Field() string
Field function returns field value.
func (RefreshRequestValidationError) Key ¶
func (e RefreshRequestValidationError) Key() bool
Key function returns key value.
func (RefreshRequestValidationError) Reason ¶
func (e RefreshRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterRequest ¶
type RegisterRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` CaptchaId string `protobuf:"bytes,4,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` CaptchaAnswer string `protobuf:"bytes,5,opt,name=captcha_answer,json=captchaAnswer,proto3" json:"captcha_answer,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetCaptchaAnswer ¶ added in v1.0.2
func (x *RegisterRequest) GetCaptchaAnswer() string
func (*RegisterRequest) GetCaptchaId ¶ added in v1.0.2
func (x *RegisterRequest) GetCaptchaId() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetPlatform ¶ added in v1.0.2
func (x *RegisterRequest) GetPlatform() string
func (*RegisterRequest) GetUsername ¶
func (x *RegisterRequest) GetUsername() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
func (*RegisterRequest) Validate ¶
func (m *RegisterRequest) Validate() error
Validate checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterRequest) ValidateAll ¶
func (m *RegisterRequest) ValidateAll() error
ValidateAll checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRequestMultiError, or nil if none found.
type RegisterRequestMultiError ¶
type RegisterRequestMultiError []error
RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterRequestMultiError) AllErrors ¶
func (m RegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRequestMultiError) Error ¶
func (m RegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRequestValidationError ¶
type RegisterRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.
func (RegisterRequestValidationError) Cause ¶
func (e RegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequestValidationError) Error ¶
func (e RegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequestValidationError) ErrorName ¶
func (e RegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequestValidationError) Field ¶
func (e RegisterRequestValidationError) Field() string
Field function returns field value.
func (RegisterRequestValidationError) Key ¶
func (e RegisterRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRequestValidationError) Reason ¶
func (e RegisterRequestValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` Actions []*Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetActions ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Validate ¶
Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Role) ValidateAll ¶
ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.
type RoleMultiError ¶
type RoleMultiError []error
RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.
func (RoleMultiError) AllErrors ¶
func (m RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleMultiError) Error ¶
func (m RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleValidationError ¶
type RoleValidationError struct {
// contains filtered or unexported fields
}
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
func (RoleValidationError) Cause ¶
func (e RoleValidationError) Cause() error
Cause function returns cause value.
func (RoleValidationError) Error ¶
func (e RoleValidationError) Error() string
Error satisfies the builtin error interface
func (RoleValidationError) ErrorName ¶
func (e RoleValidationError) ErrorName() string
ErrorName returns error name.
func (RoleValidationError) Field ¶
func (e RoleValidationError) Field() string
Field function returns field value.
func (RoleValidationError) Key ¶
func (e RoleValidationError) Key() bool
Key function returns key value.
func (RoleValidationError) Reason ¶
func (e RoleValidationError) Reason() string
Reason function returns reason value.
type StatusReply ¶
type StatusReply struct { Captcha *Captcha `protobuf:"bytes,1,opt,name=captcha,proto3" json:"captcha,omitempty"` Locked bool `protobuf:"varint,2,opt,name=locked,proto3" json:"locked,omitempty"` LockExpire int64 `protobuf:"varint,3,opt,name=lock_expire,json=lockExpire,proto3" json:"lock_expire,omitempty"` // contains filtered or unexported fields }
func (*StatusReply) Descriptor
deprecated
func (*StatusReply) Descriptor() ([]byte, []int)
Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.
func (*StatusReply) GetCaptcha ¶
func (x *StatusReply) GetCaptcha() *Captcha
func (*StatusReply) GetLockExpire ¶
func (x *StatusReply) GetLockExpire() int64
func (*StatusReply) GetLocked ¶
func (x *StatusReply) GetLocked() bool
func (*StatusReply) ProtoMessage ¶
func (*StatusReply) ProtoMessage()
func (*StatusReply) ProtoReflect ¶
func (x *StatusReply) ProtoReflect() protoreflect.Message
func (*StatusReply) Reset ¶
func (x *StatusReply) Reset()
func (*StatusReply) String ¶
func (x *StatusReply) String() string
func (*StatusReply) Validate ¶
func (m *StatusReply) Validate() error
Validate checks the field values on StatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatusReply) ValidateAll ¶
func (m *StatusReply) ValidateAll() error
ValidateAll checks the field values on StatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusReplyMultiError, or nil if none found.
type StatusReplyMultiError ¶
type StatusReplyMultiError []error
StatusReplyMultiError is an error wrapping multiple validation errors returned by StatusReply.ValidateAll() if the designated constraints aren't met.
func (StatusReplyMultiError) AllErrors ¶
func (m StatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusReplyMultiError) Error ¶
func (m StatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusReplyValidationError ¶
type StatusReplyValidationError struct {
// contains filtered or unexported fields
}
StatusReplyValidationError is the validation error returned by StatusReply.Validate if the designated constraints aren't met.
func (StatusReplyValidationError) Cause ¶
func (e StatusReplyValidationError) Cause() error
Cause function returns cause value.
func (StatusReplyValidationError) Error ¶
func (e StatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (StatusReplyValidationError) ErrorName ¶
func (e StatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (StatusReplyValidationError) Field ¶
func (e StatusReplyValidationError) Field() string
Field function returns field value.
func (StatusReplyValidationError) Key ¶
func (e StatusReplyValidationError) Key() bool
Key function returns key value.
func (StatusReplyValidationError) Reason ¶
func (e StatusReplyValidationError) Reason() string
Reason function returns reason value.
type StatusRequest ¶
type StatusRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetUsername ¶
func (x *StatusRequest) GetUsername() string
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
func (*StatusRequest) Validate ¶
func (m *StatusRequest) Validate() error
Validate checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatusRequest) ValidateAll ¶
func (m *StatusRequest) ValidateAll() error
ValidateAll checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusRequestMultiError, or nil if none found.
type StatusRequestMultiError ¶
type StatusRequestMultiError []error
StatusRequestMultiError is an error wrapping multiple validation errors returned by StatusRequest.ValidateAll() if the designated constraints aren't met.
func (StatusRequestMultiError) AllErrors ¶
func (m StatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusRequestMultiError) Error ¶
func (m StatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusRequestValidationError ¶
type StatusRequestValidationError struct {
// contains filtered or unexported fields
}
StatusRequestValidationError is the validation error returned by StatusRequest.Validate if the designated constraints aren't met.
func (StatusRequestValidationError) Cause ¶
func (e StatusRequestValidationError) Cause() error
Cause function returns cause value.
func (StatusRequestValidationError) Error ¶
func (e StatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatusRequestValidationError) ErrorName ¶
func (e StatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatusRequestValidationError) Field ¶
func (e StatusRequestValidationError) Field() string
Field function returns field value.
func (StatusRequestValidationError) Key ¶
func (e StatusRequestValidationError) Key() bool
Key function returns key value.
func (StatusRequestValidationError) Reason ¶
func (e StatusRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct { }
UnimplementedAuthServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServer) Captcha ¶
func (UnimplementedAuthServer) Captcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
func (UnimplementedAuthServer) CheckIdempotent ¶ added in v1.0.3
func (UnimplementedAuthServer) CheckIdempotent(context.Context, *CheckIdempotentRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) CreateAction ¶
func (UnimplementedAuthServer) CreateAction(context.Context, *CreateActionRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) CreateRole ¶
func (UnimplementedAuthServer) CreateRole(context.Context, *CreateRoleRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) CreateUserGroup ¶
func (UnimplementedAuthServer) CreateUserGroup(context.Context, *CreateUserGroupRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) CreateWhitelist ¶ added in v1.0.3
func (UnimplementedAuthServer) CreateWhitelist(context.Context, *CreateWhitelistRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) DeleteAction ¶
func (UnimplementedAuthServer) DeleteAction(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) DeleteRole ¶
func (UnimplementedAuthServer) DeleteRole(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) DeleteUser ¶
func (UnimplementedAuthServer) DeleteUser(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) DeleteUserGroup ¶
func (UnimplementedAuthServer) DeleteUserGroup(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) DeleteWhitelist ¶ added in v1.0.3
func (UnimplementedAuthServer) DeleteWhitelist(context.Context, *params.IdsRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) FindAction ¶
func (UnimplementedAuthServer) FindAction(context.Context, *FindActionRequest) (*FindActionReply, error)
func (UnimplementedAuthServer) FindRole ¶
func (UnimplementedAuthServer) FindRole(context.Context, *FindRoleRequest) (*FindRoleReply, error)
func (UnimplementedAuthServer) FindUser ¶
func (UnimplementedAuthServer) FindUser(context.Context, *FindUserRequest) (*FindUserReply, error)
func (UnimplementedAuthServer) FindUserGroup ¶
func (UnimplementedAuthServer) FindUserGroup(context.Context, *FindUserGroupRequest) (*FindUserGroupReply, error)
func (UnimplementedAuthServer) FindWhitelist ¶ added in v1.0.3
func (UnimplementedAuthServer) FindWhitelist(context.Context, *FindWhitelistRequest) (*FindWhitelistReply, error)
func (UnimplementedAuthServer) GetUserByCode ¶ added in v1.0.3
func (UnimplementedAuthServer) GetUserByCode(context.Context, *GetUserByCodeRequest) (*GetUserByCodeReply, error)
func (UnimplementedAuthServer) HasWhitelist ¶ added in v1.0.3
func (UnimplementedAuthServer) HasWhitelist(context.Context, *HasWhitelistRequest) (*HasWhitelistReply, error)
func (UnimplementedAuthServer) Idempotent ¶
func (UnimplementedAuthServer) Idempotent(context.Context, *emptypb.Empty) (*IdempotentReply, error)
func (UnimplementedAuthServer) Login ¶
func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
func (UnimplementedAuthServer) Permission ¶
func (UnimplementedAuthServer) Permission(context.Context, *PermissionRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) Pwd ¶
func (UnimplementedAuthServer) Pwd(context.Context, *PwdRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) Refresh ¶
func (UnimplementedAuthServer) Refresh(context.Context, *RefreshRequest) (*LoginReply, error)
func (UnimplementedAuthServer) Register ¶
func (UnimplementedAuthServer) Register(context.Context, *RegisterRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) Status ¶
func (UnimplementedAuthServer) Status(context.Context, *StatusRequest) (*StatusReply, error)
func (UnimplementedAuthServer) UpdateAction ¶
func (UnimplementedAuthServer) UpdateAction(context.Context, *UpdateActionRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) UpdateRole ¶
func (UnimplementedAuthServer) UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) UpdateUser ¶
func (UnimplementedAuthServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) UpdateUserGroup ¶
func (UnimplementedAuthServer) UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*emptypb.Empty, error)
func (UnimplementedAuthServer) UpdateWhitelist ¶ added in v1.0.3
func (UnimplementedAuthServer) UpdateWhitelist(context.Context, *UpdateWhitelistRequest) (*emptypb.Empty, error)
type UnsafeAuthServer ¶
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.
type UpdateActionRequest ¶
type UpdateActionRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Word *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"` Resource *string `protobuf:"bytes,4,opt,name=resource,proto3,oneof" json:"resource,omitempty"` Menu *string `protobuf:"bytes,5,opt,name=menu,proto3,oneof" json:"menu,omitempty"` Btn *string `protobuf:"bytes,6,opt,name=btn,proto3,oneof" json:"btn,omitempty"` // contains filtered or unexported fields }
func (*UpdateActionRequest) Descriptor
deprecated
func (*UpdateActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActionRequest.ProtoReflect.Descriptor instead.
func (*UpdateActionRequest) GetBtn ¶
func (x *UpdateActionRequest) GetBtn() string
func (*UpdateActionRequest) GetId ¶
func (x *UpdateActionRequest) GetId() uint64
func (*UpdateActionRequest) GetMenu ¶
func (x *UpdateActionRequest) GetMenu() string
func (*UpdateActionRequest) GetName ¶
func (x *UpdateActionRequest) GetName() string
func (*UpdateActionRequest) GetResource ¶
func (x *UpdateActionRequest) GetResource() string
func (*UpdateActionRequest) GetWord ¶
func (x *UpdateActionRequest) GetWord() string
func (*UpdateActionRequest) ProtoMessage ¶
func (*UpdateActionRequest) ProtoMessage()
func (*UpdateActionRequest) ProtoReflect ¶
func (x *UpdateActionRequest) ProtoReflect() protoreflect.Message
func (*UpdateActionRequest) Reset ¶
func (x *UpdateActionRequest) Reset()
func (*UpdateActionRequest) String ¶
func (x *UpdateActionRequest) String() string
func (*UpdateActionRequest) Validate ¶
func (m *UpdateActionRequest) Validate() error
Validate checks the field values on UpdateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateActionRequest) ValidateAll ¶
func (m *UpdateActionRequest) ValidateAll() error
ValidateAll checks the field values on UpdateActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateActionRequestMultiError, or nil if none found.
type UpdateActionRequestMultiError ¶
type UpdateActionRequestMultiError []error
UpdateActionRequestMultiError is an error wrapping multiple validation errors returned by UpdateActionRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateActionRequestMultiError) AllErrors ¶
func (m UpdateActionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateActionRequestMultiError) Error ¶
func (m UpdateActionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateActionRequestValidationError ¶
type UpdateActionRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateActionRequestValidationError is the validation error returned by UpdateActionRequest.Validate if the designated constraints aren't met.
func (UpdateActionRequestValidationError) Cause ¶
func (e UpdateActionRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateActionRequestValidationError) Error ¶
func (e UpdateActionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateActionRequestValidationError) ErrorName ¶
func (e UpdateActionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateActionRequestValidationError) Field ¶
func (e UpdateActionRequestValidationError) Field() string
Field function returns field value.
func (UpdateActionRequestValidationError) Key ¶
func (e UpdateActionRequestValidationError) Key() bool
Key function returns key value.
func (UpdateActionRequestValidationError) Reason ¶
func (e UpdateActionRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleRequest ¶
type UpdateRoleRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Word *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"` Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoleRequest) Descriptor
deprecated
func (*UpdateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleRequest) GetAction ¶
func (x *UpdateRoleRequest) GetAction() string
func (*UpdateRoleRequest) GetId ¶
func (x *UpdateRoleRequest) GetId() uint64
func (*UpdateRoleRequest) GetName ¶
func (x *UpdateRoleRequest) GetName() string
func (*UpdateRoleRequest) GetWord ¶
func (x *UpdateRoleRequest) GetWord() string
func (*UpdateRoleRequest) ProtoMessage ¶
func (*UpdateRoleRequest) ProtoMessage()
func (*UpdateRoleRequest) ProtoReflect ¶
func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleRequest) Reset ¶
func (x *UpdateRoleRequest) Reset()
func (*UpdateRoleRequest) String ¶
func (x *UpdateRoleRequest) String() string
func (*UpdateRoleRequest) Validate ¶
func (m *UpdateRoleRequest) Validate() error
Validate checks the field values on UpdateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateRoleRequest) ValidateAll ¶
func (m *UpdateRoleRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleRequestMultiError, or nil if none found.
type UpdateRoleRequestMultiError ¶
type UpdateRoleRequestMultiError []error
UpdateRoleRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleRequestMultiError) AllErrors ¶
func (m UpdateRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleRequestMultiError) Error ¶
func (m UpdateRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleRequestValidationError ¶
type UpdateRoleRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleRequestValidationError is the validation error returned by UpdateRoleRequest.Validate if the designated constraints aren't met.
func (UpdateRoleRequestValidationError) Cause ¶
func (e UpdateRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleRequestValidationError) Error ¶
func (e UpdateRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleRequestValidationError) ErrorName ¶
func (e UpdateRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleRequestValidationError) Field ¶
func (e UpdateRoleRequestValidationError) Field() string
Field function returns field value.
func (UpdateRoleRequestValidationError) Key ¶
func (e UpdateRoleRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRoleRequestValidationError) Reason ¶
func (e UpdateRoleRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserGroupRequest ¶
type UpdateUserGroupRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Word *string `protobuf:"bytes,3,opt,name=word,proto3,oneof" json:"word,omitempty"` Action *string `protobuf:"bytes,4,opt,name=action,proto3,oneof" json:"action,omitempty"` Users *string `protobuf:"bytes,5,opt,name=users,proto3,oneof" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserGroupRequest) Descriptor
deprecated
func (*UpdateUserGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserGroupRequest) GetAction ¶
func (x *UpdateUserGroupRequest) GetAction() string
func (*UpdateUserGroupRequest) GetId ¶
func (x *UpdateUserGroupRequest) GetId() uint64
func (*UpdateUserGroupRequest) GetName ¶
func (x *UpdateUserGroupRequest) GetName() string
func (*UpdateUserGroupRequest) GetUsers ¶
func (x *UpdateUserGroupRequest) GetUsers() string
func (*UpdateUserGroupRequest) GetWord ¶
func (x *UpdateUserGroupRequest) GetWord() string
func (*UpdateUserGroupRequest) ProtoMessage ¶
func (*UpdateUserGroupRequest) ProtoMessage()
func (*UpdateUserGroupRequest) ProtoReflect ¶
func (x *UpdateUserGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserGroupRequest) Reset ¶
func (x *UpdateUserGroupRequest) Reset()
func (*UpdateUserGroupRequest) String ¶
func (x *UpdateUserGroupRequest) String() string
func (*UpdateUserGroupRequest) Validate ¶
func (m *UpdateUserGroupRequest) Validate() error
Validate checks the field values on UpdateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserGroupRequest) ValidateAll ¶
func (m *UpdateUserGroupRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserGroupRequestMultiError, or nil if none found.
type UpdateUserGroupRequestMultiError ¶
type UpdateUserGroupRequestMultiError []error
UpdateUserGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserGroupRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserGroupRequestMultiError) AllErrors ¶
func (m UpdateUserGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserGroupRequestMultiError) Error ¶
func (m UpdateUserGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserGroupRequestValidationError ¶
type UpdateUserGroupRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserGroupRequestValidationError is the validation error returned by UpdateUserGroupRequest.Validate if the designated constraints aren't met.
func (UpdateUserGroupRequestValidationError) Cause ¶
func (e UpdateUserGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserGroupRequestValidationError) Error ¶
func (e UpdateUserGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserGroupRequestValidationError) ErrorName ¶
func (e UpdateUserGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserGroupRequestValidationError) Field ¶
func (e UpdateUserGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserGroupRequestValidationError) Key ¶
func (e UpdateUserGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserGroupRequestValidationError) Reason ¶
func (e UpdateUserGroupRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` Password *string `protobuf:"bytes,3,opt,name=password,proto3,oneof" json:"password,omitempty"` Platform *string `protobuf:"bytes,4,opt,name=platform,proto3,oneof" json:"platform,omitempty"` Locked *bool `protobuf:"varint,5,opt,name=locked,proto3,oneof" json:"locked,omitempty"` LockExpireTime *string `protobuf:"bytes,6,opt,name=lock_expire_time,json=lockExpireTime,proto3,oneof" json:"lock_expire_time,omitempty"` Action *string `protobuf:"bytes,7,opt,name=action,proto3,oneof" json:"action,omitempty"` RoleId *uint64 `protobuf:"varint,8,opt,name=roleId,proto3,oneof" json:"roleId,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAction ¶
func (x *UpdateUserRequest) GetAction() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() uint64
func (*UpdateUserRequest) GetLockExpireTime ¶
func (x *UpdateUserRequest) GetLockExpireTime() string
func (*UpdateUserRequest) GetLocked ¶
func (x *UpdateUserRequest) GetLocked() bool
func (*UpdateUserRequest) GetPassword ¶
func (x *UpdateUserRequest) GetPassword() string
func (*UpdateUserRequest) GetPlatform ¶ added in v1.0.2
func (x *UpdateUserRequest) GetPlatform() string
func (*UpdateUserRequest) GetRoleId ¶ added in v1.0.2
func (x *UpdateUserRequest) GetRoleId() uint64
func (*UpdateUserRequest) GetUsername ¶
func (x *UpdateUserRequest) GetUsername() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() error
Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserRequest) ValidateAll ¶
func (m *UpdateUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.
type UpdateUserRequestMultiError ¶
type UpdateUserRequestMultiError []error
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequestMultiError) AllErrors ¶
func (m UpdateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequestMultiError) Error ¶
func (m UpdateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequestValidationError ¶
type UpdateUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
func (UpdateUserRequestValidationError) Cause ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateWhitelistRequest ¶ added in v1.0.3
type UpdateWhitelistRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Category *uint32 `protobuf:"varint,2,opt,name=category,proto3,oneof" json:"category,omitempty"` Resource *string `protobuf:"bytes,3,opt,name=resource,proto3,oneof" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*UpdateWhitelistRequest) Descriptor
deprecated
added in
v1.0.3
func (*UpdateWhitelistRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWhitelistRequest.ProtoReflect.Descriptor instead.
func (*UpdateWhitelistRequest) GetCategory ¶ added in v1.0.3
func (x *UpdateWhitelistRequest) GetCategory() uint32
func (*UpdateWhitelistRequest) GetId ¶ added in v1.0.3
func (x *UpdateWhitelistRequest) GetId() uint64
func (*UpdateWhitelistRequest) GetResource ¶ added in v1.0.3
func (x *UpdateWhitelistRequest) GetResource() string
func (*UpdateWhitelistRequest) ProtoMessage ¶ added in v1.0.3
func (*UpdateWhitelistRequest) ProtoMessage()
func (*UpdateWhitelistRequest) ProtoReflect ¶ added in v1.0.3
func (x *UpdateWhitelistRequest) ProtoReflect() protoreflect.Message
func (*UpdateWhitelistRequest) Reset ¶ added in v1.0.3
func (x *UpdateWhitelistRequest) Reset()
func (*UpdateWhitelistRequest) String ¶ added in v1.0.3
func (x *UpdateWhitelistRequest) String() string
func (*UpdateWhitelistRequest) Validate ¶ added in v1.0.3
func (m *UpdateWhitelistRequest) Validate() error
Validate checks the field values on UpdateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateWhitelistRequest) ValidateAll ¶ added in v1.0.3
func (m *UpdateWhitelistRequest) ValidateAll() error
ValidateAll checks the field values on UpdateWhitelistRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateWhitelistRequestMultiError, or nil if none found.
type UpdateWhitelistRequestMultiError ¶ added in v1.0.3
type UpdateWhitelistRequestMultiError []error
UpdateWhitelistRequestMultiError is an error wrapping multiple validation errors returned by UpdateWhitelistRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateWhitelistRequestMultiError) AllErrors ¶ added in v1.0.3
func (m UpdateWhitelistRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateWhitelistRequestMultiError) Error ¶ added in v1.0.3
func (m UpdateWhitelistRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateWhitelistRequestValidationError ¶ added in v1.0.3
type UpdateWhitelistRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateWhitelistRequestValidationError is the validation error returned by UpdateWhitelistRequest.Validate if the designated constraints aren't met.
func (UpdateWhitelistRequestValidationError) Cause ¶ added in v1.0.3
func (e UpdateWhitelistRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateWhitelistRequestValidationError) Error ¶ added in v1.0.3
func (e UpdateWhitelistRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateWhitelistRequestValidationError) ErrorName ¶ added in v1.0.3
func (e UpdateWhitelistRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateWhitelistRequestValidationError) Field ¶ added in v1.0.3
func (e UpdateWhitelistRequestValidationError) Field() string
Field function returns field value.
func (UpdateWhitelistRequestValidationError) Key ¶ added in v1.0.3
func (e UpdateWhitelistRequestValidationError) Key() bool
Key function returns key value.
func (UpdateWhitelistRequestValidationError) Reason ¶ added in v1.0.3
func (e UpdateWhitelistRequestValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Platform string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"` Locked bool `protobuf:"varint,7,opt,name=locked,proto3" json:"locked,omitempty"` LastLogin string `protobuf:"bytes,11,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"` LockExpire int64 `protobuf:"varint,12,opt,name=lock_expire,json=lockExpire,proto3" json:"lock_expire,omitempty"` LockMsg string `protobuf:"bytes,13,opt,name=lock_msg,json=lockMsg,proto3" json:"lock_msg,omitempty"` Actions []*Action `protobuf:"bytes,14,rep,name=actions,proto3" json:"actions,omitempty"` RoleId uint64 `protobuf:"varint,15,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Role *Role `protobuf:"bytes,16,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetActions ¶
func (*User) GetCreatedAt ¶
func (*User) GetLastLogin ¶
func (*User) GetLockExpire ¶
func (*User) GetLockMsg ¶
func (*User) GetPlatform ¶ added in v1.0.2
func (*User) GetUpdatedAt ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserGroup ¶
type UserGroup struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` Users []*User `protobuf:"bytes,5,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UserGroup) Descriptor
deprecated
func (*UserGroup) GetActions ¶
func (*UserGroup) ProtoMessage ¶
func (*UserGroup) ProtoMessage()
func (*UserGroup) ProtoReflect ¶
func (x *UserGroup) ProtoReflect() protoreflect.Message
func (*UserGroup) Validate ¶
Validate checks the field values on UserGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserGroup) ValidateAll ¶
ValidateAll checks the field values on UserGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserGroupMultiError, or nil if none found.
type UserGroupMultiError ¶
type UserGroupMultiError []error
UserGroupMultiError is an error wrapping multiple validation errors returned by UserGroup.ValidateAll() if the designated constraints aren't met.
func (UserGroupMultiError) AllErrors ¶
func (m UserGroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserGroupMultiError) Error ¶
func (m UserGroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserGroupValidationError ¶
type UserGroupValidationError struct {
// contains filtered or unexported fields
}
UserGroupValidationError is the validation error returned by UserGroup.Validate if the designated constraints aren't met.
func (UserGroupValidationError) Cause ¶
func (e UserGroupValidationError) Cause() error
Cause function returns cause value.
func (UserGroupValidationError) Error ¶
func (e UserGroupValidationError) Error() string
Error satisfies the builtin error interface
func (UserGroupValidationError) ErrorName ¶
func (e UserGroupValidationError) ErrorName() string
ErrorName returns error name.
func (UserGroupValidationError) Field ¶
func (e UserGroupValidationError) Field() string
Field function returns field value.
func (UserGroupValidationError) Key ¶
func (e UserGroupValidationError) Key() bool
Key function returns key value.
func (UserGroupValidationError) Reason ¶
func (e UserGroupValidationError) Reason() string
Reason function returns reason value.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type Whitelist ¶ added in v1.0.3
type Whitelist struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Category uint32 `protobuf:"varint,2,opt,name=category,proto3" json:"category,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*Whitelist) Descriptor
deprecated
added in
v1.0.3
func (*Whitelist) GetCategory ¶ added in v1.0.3
func (*Whitelist) GetResource ¶ added in v1.0.3
func (*Whitelist) ProtoMessage ¶ added in v1.0.3
func (*Whitelist) ProtoMessage()
func (*Whitelist) ProtoReflect ¶ added in v1.0.3
func (x *Whitelist) ProtoReflect() protoreflect.Message
func (*Whitelist) Validate ¶ added in v1.0.3
Validate checks the field values on Whitelist with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Whitelist) ValidateAll ¶ added in v1.0.3
ValidateAll checks the field values on Whitelist with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WhitelistMultiError, or nil if none found.
type WhitelistMultiError ¶ added in v1.0.3
type WhitelistMultiError []error
WhitelistMultiError is an error wrapping multiple validation errors returned by Whitelist.ValidateAll() if the designated constraints aren't met.
func (WhitelistMultiError) AllErrors ¶ added in v1.0.3
func (m WhitelistMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WhitelistMultiError) Error ¶ added in v1.0.3
func (m WhitelistMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WhitelistValidationError ¶ added in v1.0.3
type WhitelistValidationError struct {
// contains filtered or unexported fields
}
WhitelistValidationError is the validation error returned by Whitelist.Validate if the designated constraints aren't met.
func (WhitelistValidationError) Cause ¶ added in v1.0.3
func (e WhitelistValidationError) Cause() error
Cause function returns cause value.
func (WhitelistValidationError) Error ¶ added in v1.0.3
func (e WhitelistValidationError) Error() string
Error satisfies the builtin error interface
func (WhitelistValidationError) ErrorName ¶ added in v1.0.3
func (e WhitelistValidationError) ErrorName() string
ErrorName returns error name.
func (WhitelistValidationError) Field ¶ added in v1.0.3
func (e WhitelistValidationError) Field() string
Field function returns field value.
func (WhitelistValidationError) Key ¶ added in v1.0.3
func (e WhitelistValidationError) Key() bool
Key function returns key value.
func (WhitelistValidationError) Reason ¶ added in v1.0.3
func (e WhitelistValidationError) Reason() string
Reason function returns reason value.