Documentation ¶
Index ¶
- Constants
- Variables
- func DatabaseError() *errors.Error
- func DatabaseErrorFormat(format string, args ...any) *errors.Error
- func DeleteSelfDepartmentError() *errors.Error
- func DeleteSelfDepartmentErrorFormat(format string, args ...any) *errors.Error
- func DeleteSelfRoleError() *errors.Error
- func DeleteSelfRoleErrorFormat(format string, args ...any) *errors.Error
- func DeleteSelfUserError() *errors.Error
- func DeleteSelfUserErrorFormat(format string, args ...any) *errors.Error
- func DeleteSystemDataError() *errors.Error
- func DeleteSystemDataErrorFormat(format string, args ...any) *errors.Error
- func DepartmentPermissionsError() *errors.Error
- func DepartmentPermissionsErrorFormat(format string, args ...any) *errors.Error
- func DisableSelfUserError() *errors.Error
- func DisableSelfUserErrorFormat(format string, args ...any) *errors.Error
- func EditSystemDataError() *errors.Error
- func EditSystemDataErrorFormat(format string, args ...any) *errors.Error
- func EmptyTokenError() *errors.Error
- func EmptyTokenErrorFormat(format string, args ...any) *errors.Error
- func ForbiddenError() *errors.Error
- func ForbiddenErrorFormat(format string, args ...any) *errors.Error
- func IsDatabaseError(err error) bool
- func IsDeleteSelfDepartmentError(err error) bool
- func IsDeleteSelfRoleError(err error) bool
- func IsDeleteSelfUserError(err error) bool
- func IsDeleteSystemDataError(err error) bool
- func IsDepartmentPermissionsError(err error) bool
- func IsDisableSelfUserError(err error) bool
- func IsEditSystemDataError(err error) bool
- func IsEmptyTokenError(err error) bool
- func IsForbiddenError(err error) bool
- func IsMenuPermissionsError(err error) bool
- func IsMetadataError(err error) bool
- func IsNewCaptchaError(err error) bool
- func IsNewTokenError(err error) bool
- func IsNotFoundError(err error) bool
- func IsParentMenuError(err error) bool
- func IsParseTokenError(err error) bool
- func IsPasswordExpireError(err error) bool
- func IsPasswordFormatError(err error) bool
- func IsRefreshTokenError(err error) bool
- func IsResetSelfUserPasswordError(err error) bool
- func IsRoleDisableError(err error) bool
- func IsRolePermissionsError(err error) bool
- func IsRsaDecodeError(err error) bool
- func IsSendEmailCaptchaError(err error) bool
- func IsTransformError(err error) bool
- func IsUserDisableError(err error) bool
- func IsUserPasswordError(err error) bool
- func IsUserPermissionsError(err error) bool
- func IsUsernameFormatError(err error) bool
- func IsUsernameNotExistError(err error) bool
- func IsVerifyCaptchaError(err error) bool
- func MenuPermissionsError() *errors.Error
- func MenuPermissionsErrorFormat(format string, args ...any) *errors.Error
- func MetadataError() *errors.Error
- func MetadataErrorFormat(format string, args ...any) *errors.Error
- func NewCaptchaError() *errors.Error
- func NewCaptchaErrorFormat(format string, args ...any) *errors.Error
- func NewTokenError() *errors.Error
- func NewTokenErrorFormat(format string, args ...any) *errors.Error
- func NotFoundError() *errors.Error
- func NotFoundErrorFormat(format string, args ...any) *errors.Error
- func ParentMenuError() *errors.Error
- func ParentMenuErrorFormat(format string, args ...any) *errors.Error
- func ParseTokenError() *errors.Error
- func ParseTokenErrorFormat(format string, args ...any) *errors.Error
- func PasswordExpireError() *errors.Error
- func PasswordExpireErrorFormat(format string, args ...any) *errors.Error
- func PasswordFormatError() *errors.Error
- func PasswordFormatErrorFormat(format string, args ...any) *errors.Error
- func RefreshTokenError() *errors.Error
- func RefreshTokenErrorFormat(format string, args ...any) *errors.Error
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- func ResetSelfUserPasswordError() *errors.Error
- func ResetSelfUserPasswordErrorFormat(format string, args ...any) *errors.Error
- func RoleDisableError() *errors.Error
- func RoleDisableErrorFormat(format string, args ...any) *errors.Error
- func RolePermissionsError() *errors.Error
- func RolePermissionsErrorFormat(format string, args ...any) *errors.Error
- func RsaDecodeError() *errors.Error
- func RsaDecodeErrorFormat(format string, args ...any) *errors.Error
- func SendEmailCaptchaError() *errors.Error
- func SendEmailCaptchaErrorFormat(format string, args ...any) *errors.Error
- func TransformError() *errors.Error
- func TransformErrorFormat(format string, args ...any) *errors.Error
- func UserDisableError() *errors.Error
- func UserDisableErrorFormat(format string, args ...any) *errors.Error
- func UserPasswordError() *errors.Error
- func UserPasswordErrorFormat(format string, args ...any) *errors.Error
- func UserPermissionsError() *errors.Error
- func UserPermissionsErrorFormat(format string, args ...any) *errors.Error
- func UsernameFormatError() *errors.Error
- func UsernameFormatErrorFormat(format string, args ...any) *errors.Error
- func UsernameNotExistError() *errors.Error
- func UsernameNotExistErrorFormat(format string, args ...any) *errors.Error
- func VerifyCaptchaError() *errors.Error
- func VerifyCaptchaErrorFormat(format string, args ...any) *errors.Error
- type AddDepartmentRequest
- func (*AddDepartmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDepartmentRequest) GetDescription() string
- func (x *AddDepartmentRequest) GetKeyword() string
- func (x *AddDepartmentRequest) GetName() string
- func (x *AddDepartmentRequest) GetParentId() uint32
- func (*AddDepartmentRequest) ProtoMessage()
- func (x *AddDepartmentRequest) ProtoReflect() protoreflect.Message
- func (x *AddDepartmentRequest) Reset()
- func (x *AddDepartmentRequest) String() string
- func (m *AddDepartmentRequest) Validate() error
- func (m *AddDepartmentRequest) ValidateAll() error
- type AddDepartmentRequestMultiError
- type AddDepartmentRequestValidationError
- func (e AddDepartmentRequestValidationError) Cause() error
- func (e AddDepartmentRequestValidationError) Error() string
- func (e AddDepartmentRequestValidationError) ErrorName() string
- func (e AddDepartmentRequestValidationError) Field() string
- func (e AddDepartmentRequestValidationError) Key() bool
- func (e AddDepartmentRequestValidationError) Reason() string
- type AddDictRequest
- func (*AddDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDictRequest) GetDescription() string
- func (x *AddDictRequest) GetKeyword() string
- func (x *AddDictRequest) GetName() string
- func (x *AddDictRequest) GetWeight() uint32
- func (*AddDictRequest) ProtoMessage()
- func (x *AddDictRequest) ProtoReflect() protoreflect.Message
- func (x *AddDictRequest) Reset()
- func (x *AddDictRequest) String() string
- func (m *AddDictRequest) Validate() error
- func (m *AddDictRequest) ValidateAll() error
- type AddDictRequestMultiError
- type AddDictRequestValidationError
- func (e AddDictRequestValidationError) Cause() error
- func (e AddDictRequestValidationError) Error() string
- func (e AddDictRequestValidationError) ErrorName() string
- func (e AddDictRequestValidationError) Field() string
- func (e AddDictRequestValidationError) Key() bool
- func (e AddDictRequestValidationError) Reason() string
- type AddDictValueRequest
- func (*AddDictValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDictValueRequest) GetDescription() string
- func (x *AddDictValueRequest) GetDictId() uint32
- func (x *AddDictValueRequest) GetExtra() string
- func (x *AddDictValueRequest) GetLabel() string
- func (x *AddDictValueRequest) GetStatus() bool
- func (x *AddDictValueRequest) GetType() string
- func (x *AddDictValueRequest) GetValue() string
- func (x *AddDictValueRequest) GetWeight() uint32
- func (*AddDictValueRequest) ProtoMessage()
- func (x *AddDictValueRequest) ProtoReflect() protoreflect.Message
- func (x *AddDictValueRequest) Reset()
- func (x *AddDictValueRequest) String() string
- func (m *AddDictValueRequest) Validate() error
- func (m *AddDictValueRequest) ValidateAll() error
- type AddDictValueRequestMultiError
- type AddDictValueRequestValidationError
- func (e AddDictValueRequestValidationError) Cause() error
- func (e AddDictValueRequestValidationError) Error() string
- func (e AddDictValueRequestValidationError) ErrorName() string
- func (e AddDictValueRequestValidationError) Field() string
- func (e AddDictValueRequestValidationError) Key() bool
- func (e AddDictValueRequestValidationError) Reason() string
- type AddJobRequest
- func (*AddJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddJobRequest) GetDescription() string
- func (x *AddJobRequest) GetKeyword() string
- func (x *AddJobRequest) GetName() string
- func (x *AddJobRequest) GetWeight() uint32
- func (*AddJobRequest) ProtoMessage()
- func (x *AddJobRequest) ProtoReflect() protoreflect.Message
- func (x *AddJobRequest) Reset()
- func (x *AddJobRequest) String() string
- func (m *AddJobRequest) Validate() error
- func (m *AddJobRequest) ValidateAll() error
- type AddJobRequestMultiError
- type AddJobRequestValidationError
- func (e AddJobRequestValidationError) Cause() error
- func (e AddJobRequestValidationError) Error() string
- func (e AddJobRequestValidationError) ErrorName() string
- func (e AddJobRequestValidationError) Field() string
- func (e AddJobRequestValidationError) Key() bool
- func (e AddJobRequestValidationError) Reason() string
- type AddMenuRequest
- func (*AddMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddMenuRequest) GetApi() string
- func (x *AddMenuRequest) GetApp() string
- func (x *AddMenuRequest) GetComponent() string
- func (x *AddMenuRequest) GetIcon() string
- func (x *AddMenuRequest) GetIsAffix() bool
- func (x *AddMenuRequest) GetIsCache() bool
- func (x *AddMenuRequest) GetIsHidden() bool
- func (x *AddMenuRequest) GetIsHome() bool
- func (x *AddMenuRequest) GetKeyword() string
- func (x *AddMenuRequest) GetMethod() string
- func (x *AddMenuRequest) GetParentId() uint32
- func (x *AddMenuRequest) GetPath() string
- func (x *AddMenuRequest) GetPermission() string
- func (x *AddMenuRequest) GetRedirect() string
- func (x *AddMenuRequest) GetTitle() string
- func (x *AddMenuRequest) GetType() string
- func (x *AddMenuRequest) GetWeight() int32
- func (*AddMenuRequest) ProtoMessage()
- func (x *AddMenuRequest) ProtoReflect() protoreflect.Message
- func (x *AddMenuRequest) Reset()
- func (x *AddMenuRequest) String() string
- func (m *AddMenuRequest) Validate() error
- func (m *AddMenuRequest) ValidateAll() error
- type AddMenuRequestMultiError
- type AddMenuRequestValidationError
- func (e AddMenuRequestValidationError) Cause() error
- func (e AddMenuRequestValidationError) Error() string
- func (e AddMenuRequestValidationError) ErrorName() string
- func (e AddMenuRequestValidationError) Field() string
- func (e AddMenuRequestValidationError) Key() bool
- func (e AddMenuRequestValidationError) Reason() string
- type AddRoleRequest
- func (*AddRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRoleRequest) GetDataScope() string
- func (x *AddRoleRequest) GetDepartmentIds() string
- func (x *AddRoleRequest) GetDescription() string
- func (x *AddRoleRequest) GetKeyword() string
- func (x *AddRoleRequest) GetName() string
- func (x *AddRoleRequest) GetParentId() uint32
- func (x *AddRoleRequest) GetStatus() bool
- func (*AddRoleRequest) ProtoMessage()
- func (x *AddRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoleRequest) Reset()
- func (x *AddRoleRequest) String() string
- func (m *AddRoleRequest) Validate() error
- func (m *AddRoleRequest) ValidateAll() error
- type AddRoleRequestMultiError
- type AddRoleRequestValidationError
- func (e AddRoleRequestValidationError) Cause() error
- func (e AddRoleRequestValidationError) Error() string
- func (e AddRoleRequestValidationError) ErrorName() string
- func (e AddRoleRequestValidationError) Field() string
- func (e AddRoleRequestValidationError) Key() bool
- func (e AddRoleRequestValidationError) Reason() string
- type AddUserRequest
- func (*AddUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserRequest) GetDepartmentId() uint32
- func (x *AddUserRequest) GetEmail() string
- func (x *AddUserRequest) GetGender() string
- func (x *AddUserRequest) GetJobIds() []uint32
- func (x *AddUserRequest) GetName() string
- func (x *AddUserRequest) GetPhone() string
- func (x *AddUserRequest) GetRoleIds() []uint32
- func (x *AddUserRequest) GetStatus() bool
- func (*AddUserRequest) ProtoMessage()
- func (x *AddUserRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserRequest) Reset()
- func (x *AddUserRequest) String() string
- func (m *AddUserRequest) Validate() error
- func (m *AddUserRequest) ValidateAll() error
- type AddUserRequestMultiError
- type AddUserRequestValidationError
- func (e AddUserRequestValidationError) Cause() error
- func (e AddUserRequestValidationError) Error() string
- func (e AddUserRequestValidationError) ErrorName() string
- func (e AddUserRequestValidationError) Field() string
- func (e AddUserRequestValidationError) Key() bool
- func (e AddUserRequestValidationError) Reason() string
- type AuthRequest
- func (*AuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRequest) GetMethod() string
- func (x *AuthRequest) GetPath() string
- func (*AuthRequest) ProtoMessage()
- func (x *AuthRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRequest) Reset()
- func (x *AuthRequest) String() string
- func (m *AuthRequest) Validate() error
- func (m *AuthRequest) ValidateAll() error
- type AuthRequestMultiError
- type AuthRequestValidationError
- func (e AuthRequestValidationError) Cause() error
- func (e AuthRequestValidationError) Error() string
- func (e AuthRequestValidationError) ErrorName() string
- func (e AuthRequestValidationError) Field() string
- func (e AuthRequestValidationError) Key() bool
- func (e AuthRequestValidationError) Reason() string
- type ChangeUserPasswordCaptchaReply
- func (*ChangeUserPasswordCaptchaReply) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUserPasswordCaptchaReply) GetCaptcha() string
- func (x *ChangeUserPasswordCaptchaReply) GetExpire() uint32
- func (x *ChangeUserPasswordCaptchaReply) GetUuid() string
- func (*ChangeUserPasswordCaptchaReply) ProtoMessage()
- func (x *ChangeUserPasswordCaptchaReply) ProtoReflect() protoreflect.Message
- func (x *ChangeUserPasswordCaptchaReply) Reset()
- func (x *ChangeUserPasswordCaptchaReply) String() string
- func (m *ChangeUserPasswordCaptchaReply) Validate() error
- func (m *ChangeUserPasswordCaptchaReply) ValidateAll() error
- type ChangeUserPasswordCaptchaReplyMultiError
- type ChangeUserPasswordCaptchaReplyValidationError
- func (e ChangeUserPasswordCaptchaReplyValidationError) Cause() error
- func (e ChangeUserPasswordCaptchaReplyValidationError) Error() string
- func (e ChangeUserPasswordCaptchaReplyValidationError) ErrorName() string
- func (e ChangeUserPasswordCaptchaReplyValidationError) Field() string
- func (e ChangeUserPasswordCaptchaReplyValidationError) Key() bool
- func (e ChangeUserPasswordCaptchaReplyValidationError) Reason() string
- type ChangeUserPasswordRequest
- func (*ChangeUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUserPasswordRequest) GetCaptcha() string
- func (x *ChangeUserPasswordRequest) GetCaptchaId() string
- func (x *ChangeUserPasswordRequest) GetPassword() string
- func (*ChangeUserPasswordRequest) ProtoMessage()
- func (x *ChangeUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeUserPasswordRequest) Reset()
- func (x *ChangeUserPasswordRequest) String() string
- func (m *ChangeUserPasswordRequest) Validate() error
- func (m *ChangeUserPasswordRequest) ValidateAll() error
- type ChangeUserPasswordRequestMultiError
- type ChangeUserPasswordRequestValidationError
- func (e ChangeUserPasswordRequestValidationError) Cause() error
- func (e ChangeUserPasswordRequestValidationError) Error() string
- func (e ChangeUserPasswordRequestValidationError) ErrorName() string
- func (e ChangeUserPasswordRequestValidationError) Field() string
- func (e ChangeUserPasswordRequestValidationError) Key() bool
- func (e ChangeUserPasswordRequestValidationError) Reason() string
- type CurrentRoleMenuTreeReply
- func (*CurrentRoleMenuTreeReply) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentRoleMenuTreeReply) GetList() []*Menu
- func (*CurrentRoleMenuTreeReply) ProtoMessage()
- func (x *CurrentRoleMenuTreeReply) ProtoReflect() protoreflect.Message
- func (x *CurrentRoleMenuTreeReply) Reset()
- func (x *CurrentRoleMenuTreeReply) String() string
- func (m *CurrentRoleMenuTreeReply) Validate() error
- func (m *CurrentRoleMenuTreeReply) ValidateAll() error
- type CurrentRoleMenuTreeReplyMultiError
- type CurrentRoleMenuTreeReplyValidationError
- func (e CurrentRoleMenuTreeReplyValidationError) Cause() error
- func (e CurrentRoleMenuTreeReplyValidationError) Error() string
- func (e CurrentRoleMenuTreeReplyValidationError) ErrorName() string
- func (e CurrentRoleMenuTreeReplyValidationError) Field() string
- func (e CurrentRoleMenuTreeReplyValidationError) Key() bool
- func (e CurrentRoleMenuTreeReplyValidationError) Reason() string
- type DeleteDepartmentRequest
- func (*DeleteDepartmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDepartmentRequest) GetId() uint32
- func (*DeleteDepartmentRequest) ProtoMessage()
- func (x *DeleteDepartmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDepartmentRequest) Reset()
- func (x *DeleteDepartmentRequest) String() string
- func (m *DeleteDepartmentRequest) Validate() error
- func (m *DeleteDepartmentRequest) ValidateAll() error
- type DeleteDepartmentRequestMultiError
- type DeleteDepartmentRequestValidationError
- func (e DeleteDepartmentRequestValidationError) Cause() error
- func (e DeleteDepartmentRequestValidationError) Error() string
- func (e DeleteDepartmentRequestValidationError) ErrorName() string
- func (e DeleteDepartmentRequestValidationError) Field() string
- func (e DeleteDepartmentRequestValidationError) Key() bool
- func (e DeleteDepartmentRequestValidationError) Reason() string
- type DeleteDictRequest
- func (*DeleteDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDictRequest) GetId() uint32
- func (*DeleteDictRequest) ProtoMessage()
- func (x *DeleteDictRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDictRequest) Reset()
- func (x *DeleteDictRequest) String() string
- func (m *DeleteDictRequest) Validate() error
- func (m *DeleteDictRequest) ValidateAll() error
- type DeleteDictRequestMultiError
- type DeleteDictRequestValidationError
- func (e DeleteDictRequestValidationError) Cause() error
- func (e DeleteDictRequestValidationError) Error() string
- func (e DeleteDictRequestValidationError) ErrorName() string
- func (e DeleteDictRequestValidationError) Field() string
- func (e DeleteDictRequestValidationError) Key() bool
- func (e DeleteDictRequestValidationError) Reason() string
- type DeleteDictValueRequest
- func (*DeleteDictValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDictValueRequest) GetId() uint32
- func (*DeleteDictValueRequest) ProtoMessage()
- func (x *DeleteDictValueRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDictValueRequest) Reset()
- func (x *DeleteDictValueRequest) String() string
- func (m *DeleteDictValueRequest) Validate() error
- func (m *DeleteDictValueRequest) ValidateAll() error
- type DeleteDictValueRequestMultiError
- type DeleteDictValueRequestValidationError
- func (e DeleteDictValueRequestValidationError) Cause() error
- func (e DeleteDictValueRequestValidationError) Error() string
- func (e DeleteDictValueRequestValidationError) ErrorName() string
- func (e DeleteDictValueRequestValidationError) Field() string
- func (e DeleteDictValueRequestValidationError) Key() bool
- func (e DeleteDictValueRequestValidationError) Reason() string
- type DeleteJobRequest
- func (*DeleteJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteJobRequest) GetId() uint32
- func (*DeleteJobRequest) ProtoMessage()
- func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteJobRequest) Reset()
- func (x *DeleteJobRequest) String() string
- func (m *DeleteJobRequest) Validate() error
- func (m *DeleteJobRequest) ValidateAll() error
- type DeleteJobRequestMultiError
- type DeleteJobRequestValidationError
- func (e DeleteJobRequestValidationError) Cause() error
- func (e DeleteJobRequestValidationError) Error() string
- func (e DeleteJobRequestValidationError) ErrorName() string
- func (e DeleteJobRequestValidationError) Field() string
- func (e DeleteJobRequestValidationError) Key() bool
- func (e DeleteJobRequestValidationError) Reason() string
- type DeleteMenuRequest
- func (*DeleteMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMenuRequest) GetId() uint32
- func (*DeleteMenuRequest) ProtoMessage()
- func (x *DeleteMenuRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMenuRequest) Reset()
- func (x *DeleteMenuRequest) String() string
- func (m *DeleteMenuRequest) Validate() error
- func (m *DeleteMenuRequest) ValidateAll() error
- type DeleteMenuRequestMultiError
- type DeleteMenuRequestValidationError
- func (e DeleteMenuRequestValidationError) Cause() error
- func (e DeleteMenuRequestValidationError) Error() string
- func (e DeleteMenuRequestValidationError) ErrorName() string
- func (e DeleteMenuRequestValidationError) Field() string
- func (e DeleteMenuRequestValidationError) Key() bool
- func (e DeleteMenuRequestValidationError) Reason() string
- type DeleteRoleRequest
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleRequest) GetId() uint32
- func (*DeleteRoleRequest) ProtoMessage()
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleRequest) Reset()
- func (x *DeleteRoleRequest) String() string
- func (m *DeleteRoleRequest) Validate() error
- func (m *DeleteRoleRequest) ValidateAll() error
- type DeleteRoleRequestMultiError
- type DeleteRoleRequestValidationError
- func (e DeleteRoleRequestValidationError) Cause() error
- func (e DeleteRoleRequestValidationError) Error() string
- func (e DeleteRoleRequestValidationError) ErrorName() string
- func (e DeleteRoleRequestValidationError) Field() string
- func (e DeleteRoleRequestValidationError) Key() bool
- func (e DeleteRoleRequestValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetId() uint32
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) ValidateAll() error
- type DeleteUserRequestMultiError
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type Department
- func (*Department) Descriptor() ([]byte, []int)deprecated
- func (x *Department) GetChildren() []*Department
- func (x *Department) GetCreatedAt() uint32
- func (x *Department) GetDescription() string
- func (x *Department) GetId() uint32
- func (x *Department) GetKeyword() string
- func (x *Department) GetName() string
- func (x *Department) GetParentId() uint32
- func (x *Department) GetUpdatedAt() uint32
- func (*Department) ProtoMessage()
- func (x *Department) ProtoReflect() protoreflect.Message
- func (x *Department) Reset()
- func (x *Department) String() string
- func (m *Department) Validate() error
- func (m *Department) ValidateAll() error
- type DepartmentMultiError
- type DepartmentValidationError
- type Dict
- func (*Dict) Descriptor() ([]byte, []int)deprecated
- func (x *Dict) GetCreatedAt() uint32
- func (x *Dict) GetDescription() string
- func (x *Dict) GetId() uint32
- func (x *Dict) GetKeyword() string
- func (x *Dict) GetName() string
- func (x *Dict) GetUpdatedAt() uint32
- func (x *Dict) GetWeight() uint32
- func (*Dict) ProtoMessage()
- func (x *Dict) ProtoReflect() protoreflect.Message
- func (x *Dict) Reset()
- func (x *Dict) String() string
- func (m *Dict) Validate() error
- func (m *Dict) ValidateAll() error
- type DictMultiError
- type DictValidationError
- type DictValue
- func (*DictValue) Descriptor() ([]byte, []int)deprecated
- func (x *DictValue) GetCreatedAt() uint32
- func (x *DictValue) GetDescription() string
- func (x *DictValue) GetDictId() uint32
- func (x *DictValue) GetExtra() string
- func (x *DictValue) GetId() uint32
- func (x *DictValue) GetLabel() string
- func (x *DictValue) GetStatus() bool
- func (x *DictValue) GetType() string
- func (x *DictValue) GetUpdatedAt() uint32
- func (x *DictValue) GetValue() string
- func (x *DictValue) GetWeight() uint32
- func (*DictValue) ProtoMessage()
- func (x *DictValue) ProtoReflect() protoreflect.Message
- func (x *DictValue) Reset()
- func (x *DictValue) String() string
- func (m *DictValue) Validate() error
- func (m *DictValue) ValidateAll() error
- type DictValueMultiError
- type DictValueValidationError
- type DisableUserRequest
- func (*DisableUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableUserRequest) GetDesc() string
- func (x *DisableUserRequest) GetId() uint32
- func (*DisableUserRequest) ProtoMessage()
- func (x *DisableUserRequest) ProtoReflect() protoreflect.Message
- func (x *DisableUserRequest) Reset()
- func (x *DisableUserRequest) String() string
- func (m *DisableUserRequest) Validate() error
- func (m *DisableUserRequest) ValidateAll() error
- type DisableUserRequestMultiError
- type DisableUserRequestValidationError
- func (e DisableUserRequestValidationError) Cause() error
- func (e DisableUserRequestValidationError) Error() string
- func (e DisableUserRequestValidationError) ErrorName() string
- func (e DisableUserRequestValidationError) Field() string
- func (e DisableUserRequestValidationError) Key() bool
- func (e DisableUserRequestValidationError) Reason() string
- type EnableUserRequest
- func (*EnableUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableUserRequest) GetId() uint32
- func (*EnableUserRequest) ProtoMessage()
- func (x *EnableUserRequest) ProtoReflect() protoreflect.Message
- func (x *EnableUserRequest) Reset()
- func (x *EnableUserRequest) String() string
- func (m *EnableUserRequest) Validate() error
- func (m *EnableUserRequest) ValidateAll() error
- type EnableUserRequestMultiError
- type EnableUserRequestValidationError
- func (e EnableUserRequestValidationError) Cause() error
- func (e EnableUserRequestValidationError) Error() string
- func (e EnableUserRequestValidationError) ErrorName() string
- func (e EnableUserRequestValidationError) Field() string
- func (e EnableUserRequestValidationError) Key() bool
- func (e EnableUserRequestValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type GetDepartmentReply
- func (*GetDepartmentReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDepartmentReply) GetDepartment() *Department
- func (*GetDepartmentReply) ProtoMessage()
- func (x *GetDepartmentReply) ProtoReflect() protoreflect.Message
- func (x *GetDepartmentReply) Reset()
- func (x *GetDepartmentReply) String() string
- func (m *GetDepartmentReply) Validate() error
- func (m *GetDepartmentReply) ValidateAll() error
- type GetDepartmentReplyMultiError
- type GetDepartmentReplyValidationError
- func (e GetDepartmentReplyValidationError) Cause() error
- func (e GetDepartmentReplyValidationError) Error() string
- func (e GetDepartmentReplyValidationError) ErrorName() string
- func (e GetDepartmentReplyValidationError) Field() string
- func (e GetDepartmentReplyValidationError) Key() bool
- func (e GetDepartmentReplyValidationError) Reason() string
- type GetDepartmentRequest
- func (*GetDepartmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDepartmentRequest) GetId() uint32
- func (*GetDepartmentRequest) ProtoMessage()
- func (x *GetDepartmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDepartmentRequest) Reset()
- func (x *GetDepartmentRequest) String() string
- func (m *GetDepartmentRequest) Validate() error
- func (m *GetDepartmentRequest) ValidateAll() error
- type GetDepartmentRequestMultiError
- type GetDepartmentRequestValidationError
- func (e GetDepartmentRequestValidationError) Cause() error
- func (e GetDepartmentRequestValidationError) Error() string
- func (e GetDepartmentRequestValidationError) ErrorName() string
- func (e GetDepartmentRequestValidationError) Field() string
- func (e GetDepartmentRequestValidationError) Key() bool
- func (e GetDepartmentRequestValidationError) Reason() string
- type GetDepartmentTreeReply
- func (*GetDepartmentTreeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDepartmentTreeReply) GetList() []*Department
- func (*GetDepartmentTreeReply) ProtoMessage()
- func (x *GetDepartmentTreeReply) ProtoReflect() protoreflect.Message
- func (x *GetDepartmentTreeReply) Reset()
- func (x *GetDepartmentTreeReply) String() string
- func (m *GetDepartmentTreeReply) Validate() error
- func (m *GetDepartmentTreeReply) ValidateAll() error
- type GetDepartmentTreeReplyMultiError
- type GetDepartmentTreeReplyValidationError
- func (e GetDepartmentTreeReplyValidationError) Cause() error
- func (e GetDepartmentTreeReplyValidationError) Error() string
- func (e GetDepartmentTreeReplyValidationError) ErrorName() string
- func (e GetDepartmentTreeReplyValidationError) Field() string
- func (e GetDepartmentTreeReplyValidationError) Key() bool
- func (e GetDepartmentTreeReplyValidationError) Reason() string
- type GetJobReply
- func (*GetJobReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobReply) GetJob() *Job
- func (*GetJobReply) ProtoMessage()
- func (x *GetJobReply) ProtoReflect() protoreflect.Message
- func (x *GetJobReply) Reset()
- func (x *GetJobReply) String() string
- func (m *GetJobReply) Validate() error
- func (m *GetJobReply) ValidateAll() error
- type GetJobReplyMultiError
- type GetJobReplyValidationError
- func (e GetJobReplyValidationError) Cause() error
- func (e GetJobReplyValidationError) Error() string
- func (e GetJobReplyValidationError) ErrorName() string
- func (e GetJobReplyValidationError) Field() string
- func (e GetJobReplyValidationError) Key() bool
- func (e GetJobReplyValidationError) Reason() string
- type GetJobRequest
- func (*GetJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetJobRequest) GetId() uint32
- func (*GetJobRequest) ProtoMessage()
- func (x *GetJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetJobRequest) Reset()
- func (x *GetJobRequest) String() string
- func (m *GetJobRequest) Validate() error
- func (m *GetJobRequest) ValidateAll() error
- type GetJobRequestMultiError
- type GetJobRequestValidationError
- func (e GetJobRequestValidationError) Cause() error
- func (e GetJobRequestValidationError) Error() string
- func (e GetJobRequestValidationError) ErrorName() string
- func (e GetJobRequestValidationError) Field() string
- func (e GetJobRequestValidationError) Key() bool
- func (e GetJobRequestValidationError) Reason() string
- type GetMenuTreeReply
- func (*GetMenuTreeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetMenuTreeReply) GetList() []*Menu
- func (*GetMenuTreeReply) ProtoMessage()
- func (x *GetMenuTreeReply) ProtoReflect() protoreflect.Message
- func (x *GetMenuTreeReply) Reset()
- func (x *GetMenuTreeReply) String() string
- func (m *GetMenuTreeReply) Validate() error
- func (m *GetMenuTreeReply) ValidateAll() error
- type GetMenuTreeReplyMultiError
- type GetMenuTreeReplyValidationError
- func (e GetMenuTreeReplyValidationError) Cause() error
- func (e GetMenuTreeReplyValidationError) Error() string
- func (e GetMenuTreeReplyValidationError) ErrorName() string
- func (e GetMenuTreeReplyValidationError) Field() string
- func (e GetMenuTreeReplyValidationError) Key() bool
- func (e GetMenuTreeReplyValidationError) Reason() string
- type GetRoleMenuIdsReply
- func (*GetRoleMenuIdsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleMenuIdsReply) GetList() []uint32
- func (*GetRoleMenuIdsReply) ProtoMessage()
- func (x *GetRoleMenuIdsReply) ProtoReflect() protoreflect.Message
- func (x *GetRoleMenuIdsReply) Reset()
- func (x *GetRoleMenuIdsReply) String() string
- func (m *GetRoleMenuIdsReply) Validate() error
- func (m *GetRoleMenuIdsReply) ValidateAll() error
- type GetRoleMenuIdsReplyMultiError
- type GetRoleMenuIdsReplyValidationError
- func (e GetRoleMenuIdsReplyValidationError) Cause() error
- func (e GetRoleMenuIdsReplyValidationError) Error() string
- func (e GetRoleMenuIdsReplyValidationError) ErrorName() string
- func (e GetRoleMenuIdsReplyValidationError) Field() string
- func (e GetRoleMenuIdsReplyValidationError) Key() bool
- func (e GetRoleMenuIdsReplyValidationError) Reason() string
- type GetRoleMenuIdsRequest
- func (*GetRoleMenuIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleMenuIdsRequest) GetRoleId() uint32
- func (*GetRoleMenuIdsRequest) ProtoMessage()
- func (x *GetRoleMenuIdsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoleMenuIdsRequest) Reset()
- func (x *GetRoleMenuIdsRequest) String() string
- func (m *GetRoleMenuIdsRequest) Validate() error
- func (m *GetRoleMenuIdsRequest) ValidateAll() error
- type GetRoleMenuIdsRequestMultiError
- type GetRoleMenuIdsRequestValidationError
- func (e GetRoleMenuIdsRequestValidationError) Cause() error
- func (e GetRoleMenuIdsRequestValidationError) Error() string
- func (e GetRoleMenuIdsRequestValidationError) ErrorName() string
- func (e GetRoleMenuIdsRequestValidationError) Field() string
- func (e GetRoleMenuIdsRequestValidationError) Key() bool
- func (e GetRoleMenuIdsRequestValidationError) Reason() string
- type GetRoleReply
- func (*GetRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleReply) GetRole() *Role
- func (*GetRoleReply) ProtoMessage()
- func (x *GetRoleReply) ProtoReflect() protoreflect.Message
- func (x *GetRoleReply) Reset()
- func (x *GetRoleReply) String() string
- func (m *GetRoleReply) Validate() error
- func (m *GetRoleReply) ValidateAll() error
- type GetRoleReplyMultiError
- type GetRoleReplyValidationError
- func (e GetRoleReplyValidationError) Cause() error
- func (e GetRoleReplyValidationError) Error() string
- func (e GetRoleReplyValidationError) ErrorName() string
- func (e GetRoleReplyValidationError) Field() string
- func (e GetRoleReplyValidationError) Key() bool
- func (e GetRoleReplyValidationError) Reason() string
- type GetRoleRequest
- func (*GetRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleRequest) GetId() uint32
- func (*GetRoleRequest) ProtoMessage()
- func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoleRequest) Reset()
- func (x *GetRoleRequest) String() string
- func (m *GetRoleRequest) Validate() error
- func (m *GetRoleRequest) ValidateAll() error
- type GetRoleRequestMultiError
- type GetRoleRequestValidationError
- func (e GetRoleRequestValidationError) Cause() error
- func (e GetRoleRequestValidationError) Error() string
- func (e GetRoleRequestValidationError) ErrorName() string
- func (e GetRoleRequestValidationError) Field() string
- func (e GetRoleRequestValidationError) Key() bool
- func (e GetRoleRequestValidationError) Reason() string
- type GetRoleTreeReply
- func (*GetRoleTreeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleTreeReply) GetRole() *Role
- func (*GetRoleTreeReply) ProtoMessage()
- func (x *GetRoleTreeReply) ProtoReflect() protoreflect.Message
- func (x *GetRoleTreeReply) Reset()
- func (x *GetRoleTreeReply) String() string
- func (m *GetRoleTreeReply) Validate() error
- func (m *GetRoleTreeReply) ValidateAll() error
- type GetRoleTreeReplyMultiError
- type GetRoleTreeReplyValidationError
- func (e GetRoleTreeReplyValidationError) Cause() error
- func (e GetRoleTreeReplyValidationError) Error() string
- func (e GetRoleTreeReplyValidationError) ErrorName() string
- func (e GetRoleTreeReplyValidationError) Field() string
- func (e GetRoleTreeReplyValidationError) Key() bool
- func (e GetRoleTreeReplyValidationError) Reason() string
- type GetSettingReply
- func (*GetSettingReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingReply) GetCopyright() string
- func (x *GetSettingReply) GetDebug() bool
- func (x *GetSettingReply) GetDesc() string
- func (x *GetSettingReply) GetId() int64
- func (x *GetSettingReply) GetLogo() string
- func (x *GetSettingReply) GetName() string
- func (x *GetSettingReply) GetTitle() string
- func (*GetSettingReply) ProtoMessage()
- func (x *GetSettingReply) ProtoReflect() protoreflect.Message
- func (x *GetSettingReply) Reset()
- func (x *GetSettingReply) String() string
- func (m *GetSettingReply) Validate() error
- func (m *GetSettingReply) ValidateAll() error
- type GetSettingReplyMultiError
- type GetSettingReplyValidationError
- func (e GetSettingReplyValidationError) Cause() error
- func (e GetSettingReplyValidationError) Error() string
- func (e GetSettingReplyValidationError) ErrorName() string
- func (e GetSettingReplyValidationError) Field() string
- func (e GetSettingReplyValidationError) Key() bool
- func (e GetSettingReplyValidationError) Reason() string
- type GetUserJobReply
- func (*GetUserJobReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserJobReply) GetJobs() []*Job
- func (*GetUserJobReply) ProtoMessage()
- func (x *GetUserJobReply) ProtoReflect() protoreflect.Message
- func (x *GetUserJobReply) Reset()
- func (x *GetUserJobReply) String() string
- func (m *GetUserJobReply) Validate() error
- func (m *GetUserJobReply) ValidateAll() error
- type GetUserJobReplyMultiError
- type GetUserJobReplyValidationError
- func (e GetUserJobReplyValidationError) Cause() error
- func (e GetUserJobReplyValidationError) Error() string
- func (e GetUserJobReplyValidationError) ErrorName() string
- func (e GetUserJobReplyValidationError) Field() string
- func (e GetUserJobReplyValidationError) Key() bool
- func (e GetUserJobReplyValidationError) Reason() string
- type GetUserJobRequest
- func (*GetUserJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserJobRequest) GetId() uint32
- func (*GetUserJobRequest) ProtoMessage()
- func (x *GetUserJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserJobRequest) Reset()
- func (x *GetUserJobRequest) String() string
- func (m *GetUserJobRequest) Validate() error
- func (m *GetUserJobRequest) ValidateAll() error
- type GetUserJobRequestMultiError
- type GetUserJobRequestValidationError
- func (e GetUserJobRequestValidationError) Cause() error
- func (e GetUserJobRequestValidationError) Error() string
- func (e GetUserJobRequestValidationError) ErrorName() string
- func (e GetUserJobRequestValidationError) Field() string
- func (e GetUserJobRequestValidationError) Key() bool
- func (e GetUserJobRequestValidationError) Reason() string
- type GetUserReply
- func (*GetUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserReply) GetUser() *User
- func (*GetUserReply) ProtoMessage()
- func (x *GetUserReply) ProtoReflect() protoreflect.Message
- func (x *GetUserReply) Reset()
- func (x *GetUserReply) String() string
- func (m *GetUserReply) Validate() error
- func (m *GetUserReply) ValidateAll() error
- type GetUserReplyMultiError
- type GetUserReplyValidationError
- func (e GetUserReplyValidationError) Cause() error
- func (e GetUserReplyValidationError) Error() string
- func (e GetUserReplyValidationError) ErrorName() string
- func (e GetUserReplyValidationError) Field() string
- func (e GetUserReplyValidationError) Key() bool
- func (e GetUserReplyValidationError) Reason() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetId() uint32
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type GetUserRolesReply
- func (*GetUserRolesReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRolesReply) GetUserRole() []*UserRole
- func (*GetUserRolesReply) ProtoMessage()
- func (x *GetUserRolesReply) ProtoReflect() protoreflect.Message
- func (x *GetUserRolesReply) Reset()
- func (x *GetUserRolesReply) String() string
- func (m *GetUserRolesReply) Validate() error
- func (m *GetUserRolesReply) ValidateAll() error
- type GetUserRolesReplyMultiError
- type GetUserRolesReplyValidationError
- func (e GetUserRolesReplyValidationError) Cause() error
- func (e GetUserRolesReplyValidationError) Error() string
- func (e GetUserRolesReplyValidationError) ErrorName() string
- func (e GetUserRolesReplyValidationError) Field() string
- func (e GetUserRolesReplyValidationError) Key() bool
- func (e GetUserRolesReplyValidationError) Reason() string
- type GetUserRolesRequest
- func (*GetUserRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRolesRequest) GetUserId() uint32
- func (*GetUserRolesRequest) ProtoMessage()
- func (x *GetUserRolesRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRolesRequest) Reset()
- func (x *GetUserRolesRequest) String() string
- func (m *GetUserRolesRequest) Validate() error
- func (m *GetUserRolesRequest) ValidateAll() error
- type GetUserRolesRequestMultiError
- type GetUserRolesRequestValidationError
- func (e GetUserRolesRequestValidationError) Cause() error
- func (e GetUserRolesRequestValidationError) Error() string
- func (e GetUserRolesRequestValidationError) ErrorName() string
- func (e GetUserRolesRequestValidationError) Field() string
- func (e GetUserRolesRequestValidationError) Key() bool
- func (e GetUserRolesRequestValidationError) Reason() string
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetCreatedAt() uint32
- func (x *Job) GetDescription() string
- func (x *Job) GetId() uint32
- func (x *Job) GetKeyword() string
- func (x *Job) GetName() string
- func (x *Job) GetUpdatedAt() uint32
- func (x *Job) GetWeight() uint32
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- func (m *Job) Validate() error
- func (m *Job) ValidateAll() error
- type JobMultiError
- type JobValidationError
- type LoginCaptchaReply
- func (*LoginCaptchaReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginCaptchaReply) GetCaptcha() string
- func (x *LoginCaptchaReply) GetExpire() uint32
- func (x *LoginCaptchaReply) GetUuid() string
- func (*LoginCaptchaReply) ProtoMessage()
- func (x *LoginCaptchaReply) ProtoReflect() protoreflect.Message
- func (x *LoginCaptchaReply) Reset()
- func (x *LoginCaptchaReply) String() string
- func (m *LoginCaptchaReply) Validate() error
- func (m *LoginCaptchaReply) ValidateAll() error
- type LoginCaptchaReplyMultiError
- type LoginCaptchaReplyValidationError
- func (e LoginCaptchaReplyValidationError) Cause() error
- func (e LoginCaptchaReplyValidationError) Error() string
- func (e LoginCaptchaReplyValidationError) ErrorName() string
- func (e LoginCaptchaReplyValidationError) Field() string
- func (e LoginCaptchaReplyValidationError) Key() bool
- func (e LoginCaptchaReplyValidationError) Reason() string
- type LoginReply
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- 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) GetCaptcha() string
- func (x *LoginRequest) GetCaptchaId() string
- func (x *LoginRequest) GetPassword() 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 Menu
- func (*Menu) Descriptor() ([]byte, []int)deprecated
- func (x *Menu) GetApi() string
- func (x *Menu) GetApp() string
- func (x *Menu) GetChildren() []*Menu
- func (x *Menu) GetComponent() string
- func (x *Menu) GetCreatedAt() uint32
- func (x *Menu) GetIcon() string
- func (x *Menu) GetId() uint32
- func (x *Menu) GetIsAffix() bool
- func (x *Menu) GetIsCache() bool
- func (x *Menu) GetIsHidden() bool
- func (x *Menu) GetIsHome() bool
- func (x *Menu) GetKeyword() string
- func (x *Menu) GetMethod() string
- func (x *Menu) GetParentId() uint32
- func (x *Menu) GetPath() string
- func (x *Menu) GetPermission() string
- func (x *Menu) GetRedirect() string
- func (x *Menu) GetTitle() string
- func (x *Menu) GetType() string
- func (x *Menu) GetUpdatedAt() uint32
- func (x *Menu) GetWeight() int32
- func (*Menu) ProtoMessage()
- func (x *Menu) ProtoReflect() protoreflect.Message
- func (x *Menu) Reset()
- func (x *Menu) String() string
- func (m *Menu) Validate() error
- func (m *Menu) ValidateAll() error
- type MenuMultiError
- type MenuValidationError
- type OfflineUserRequest
- func (*OfflineUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OfflineUserRequest) GetId() uint32
- func (*OfflineUserRequest) ProtoMessage()
- func (x *OfflineUserRequest) ProtoReflect() protoreflect.Message
- func (x *OfflineUserRequest) Reset()
- func (x *OfflineUserRequest) String() string
- func (m *OfflineUserRequest) Validate() error
- func (m *OfflineUserRequest) ValidateAll() error
- type OfflineUserRequestMultiError
- type OfflineUserRequestValidationError
- func (e OfflineUserRequestValidationError) Cause() error
- func (e OfflineUserRequestValidationError) Error() string
- func (e OfflineUserRequestValidationError) ErrorName() string
- func (e OfflineUserRequestValidationError) Field() string
- func (e OfflineUserRequestValidationError) Key() bool
- func (e OfflineUserRequestValidationError) Reason() string
- type PageDictReply
- func (*PageDictReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageDictReply) GetList() []*Dict
- func (x *PageDictReply) GetTotal() uint32
- func (*PageDictReply) ProtoMessage()
- func (x *PageDictReply) ProtoReflect() protoreflect.Message
- func (x *PageDictReply) Reset()
- func (x *PageDictReply) String() string
- func (m *PageDictReply) Validate() error
- func (m *PageDictReply) ValidateAll() error
- type PageDictReplyMultiError
- type PageDictReplyValidationError
- func (e PageDictReplyValidationError) Cause() error
- func (e PageDictReplyValidationError) Error() string
- func (e PageDictReplyValidationError) ErrorName() string
- func (e PageDictReplyValidationError) Field() string
- func (e PageDictReplyValidationError) Key() bool
- func (e PageDictReplyValidationError) Reason() string
- type PageDictRequest
- func (*PageDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageDictRequest) GetKeyword() string
- func (x *PageDictRequest) GetName() string
- func (x *PageDictRequest) GetPage() uint32
- func (x *PageDictRequest) GetPageSize() uint32
- func (*PageDictRequest) ProtoMessage()
- func (x *PageDictRequest) ProtoReflect() protoreflect.Message
- func (x *PageDictRequest) Reset()
- func (x *PageDictRequest) String() string
- func (m *PageDictRequest) Validate() error
- func (m *PageDictRequest) ValidateAll() error
- type PageDictRequestMultiError
- type PageDictRequestValidationError
- func (e PageDictRequestValidationError) Cause() error
- func (e PageDictRequestValidationError) Error() string
- func (e PageDictRequestValidationError) ErrorName() string
- func (e PageDictRequestValidationError) Field() string
- func (e PageDictRequestValidationError) Key() bool
- func (e PageDictRequestValidationError) Reason() string
- type PageDictValueReply
- func (*PageDictValueReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageDictValueReply) GetList() []*DictValue
- func (x *PageDictValueReply) GetTotal() uint32
- func (*PageDictValueReply) ProtoMessage()
- func (x *PageDictValueReply) ProtoReflect() protoreflect.Message
- func (x *PageDictValueReply) Reset()
- func (x *PageDictValueReply) String() string
- func (m *PageDictValueReply) Validate() error
- func (m *PageDictValueReply) ValidateAll() error
- type PageDictValueReplyMultiError
- type PageDictValueReplyValidationError
- func (e PageDictValueReplyValidationError) Cause() error
- func (e PageDictValueReplyValidationError) Error() string
- func (e PageDictValueReplyValidationError) ErrorName() string
- func (e PageDictValueReplyValidationError) Field() string
- func (e PageDictValueReplyValidationError) Key() bool
- func (e PageDictValueReplyValidationError) Reason() string
- type PageDictValueRequest
- func (*PageDictValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageDictValueRequest) GetLabel() string
- func (x *PageDictValueRequest) GetPage() uint32
- func (x *PageDictValueRequest) GetPageSize() uint32
- func (x *PageDictValueRequest) GetValue() string
- func (*PageDictValueRequest) ProtoMessage()
- func (x *PageDictValueRequest) ProtoReflect() protoreflect.Message
- func (x *PageDictValueRequest) Reset()
- func (x *PageDictValueRequest) String() string
- func (m *PageDictValueRequest) Validate() error
- func (m *PageDictValueRequest) ValidateAll() error
- type PageDictValueRequestMultiError
- type PageDictValueRequestValidationError
- func (e PageDictValueRequestValidationError) Cause() error
- func (e PageDictValueRequestValidationError) Error() string
- func (e PageDictValueRequestValidationError) ErrorName() string
- func (e PageDictValueRequestValidationError) Field() string
- func (e PageDictValueRequestValidationError) Key() bool
- func (e PageDictValueRequestValidationError) Reason() string
- type PageJobReply
- func (*PageJobReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageJobReply) GetList() []*Job
- func (x *PageJobReply) GetTotal() uint32
- func (*PageJobReply) ProtoMessage()
- func (x *PageJobReply) ProtoReflect() protoreflect.Message
- func (x *PageJobReply) Reset()
- func (x *PageJobReply) String() string
- func (m *PageJobReply) Validate() error
- func (m *PageJobReply) ValidateAll() error
- type PageJobReplyMultiError
- type PageJobReplyValidationError
- func (e PageJobReplyValidationError) Cause() error
- func (e PageJobReplyValidationError) Error() string
- func (e PageJobReplyValidationError) ErrorName() string
- func (e PageJobReplyValidationError) Field() string
- func (e PageJobReplyValidationError) Key() bool
- func (e PageJobReplyValidationError) Reason() string
- type PageJobRequest
- func (*PageJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageJobRequest) GetKeyword() string
- func (x *PageJobRequest) GetPage() uint32
- func (x *PageJobRequest) GetPageSize() uint32
- func (*PageJobRequest) ProtoMessage()
- func (x *PageJobRequest) ProtoReflect() protoreflect.Message
- func (x *PageJobRequest) Reset()
- func (x *PageJobRequest) String() string
- func (m *PageJobRequest) Validate() error
- func (m *PageJobRequest) ValidateAll() error
- type PageJobRequestMultiError
- type PageJobRequestValidationError
- func (e PageJobRequestValidationError) Cause() error
- func (e PageJobRequestValidationError) Error() string
- func (e PageJobRequestValidationError) ErrorName() string
- func (e PageJobRequestValidationError) Field() string
- func (e PageJobRequestValidationError) Key() bool
- func (e PageJobRequestValidationError) Reason() string
- type PageUserReply
- func (*PageUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *PageUserReply) GetList() []*User
- func (x *PageUserReply) GetTotal() uint32
- func (*PageUserReply) ProtoMessage()
- func (x *PageUserReply) ProtoReflect() protoreflect.Message
- func (x *PageUserReply) Reset()
- func (x *PageUserReply) String() string
- func (m *PageUserReply) Validate() error
- func (m *PageUserReply) ValidateAll() error
- type PageUserReplyMultiError
- type PageUserReplyValidationError
- func (e PageUserReplyValidationError) Cause() error
- func (e PageUserReplyValidationError) Error() string
- func (e PageUserReplyValidationError) ErrorName() string
- func (e PageUserReplyValidationError) Field() string
- func (e PageUserReplyValidationError) Key() bool
- func (e PageUserReplyValidationError) Reason() string
- type PageUserRequest
- func (*PageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageUserRequest) GetDepartmentId() uint32
- func (x *PageUserRequest) GetEndTime() uint32
- func (x *PageUserRequest) GetName() string
- func (x *PageUserRequest) GetPage() uint32
- func (x *PageUserRequest) GetPageSize() uint32
- func (x *PageUserRequest) GetRoleId() uint32
- func (x *PageUserRequest) GetStartTime() uint32
- func (x *PageUserRequest) GetStatus() bool
- func (x *PageUserRequest) GetUsername() string
- func (*PageUserRequest) ProtoMessage()
- func (x *PageUserRequest) ProtoReflect() protoreflect.Message
- func (x *PageUserRequest) Reset()
- func (x *PageUserRequest) String() string
- func (m *PageUserRequest) Validate() error
- func (m *PageUserRequest) ValidateAll() error
- type PageUserRequestMultiError
- type PageUserRequestValidationError
- func (e PageUserRequestValidationError) Cause() error
- func (e PageUserRequestValidationError) Error() string
- func (e PageUserRequestValidationError) ErrorName() string
- func (e PageUserRequestValidationError) Field() string
- func (e PageUserRequestValidationError) Key() bool
- func (e PageUserRequestValidationError) Reason() string
- type ParseTokenReply
- func (*ParseTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTokenReply) GetRoleId() uint32
- func (x *ParseTokenReply) GetUserId() uint32
- func (*ParseTokenReply) ProtoMessage()
- func (x *ParseTokenReply) ProtoReflect() protoreflect.Message
- func (x *ParseTokenReply) Reset()
- func (x *ParseTokenReply) String() string
- func (m *ParseTokenReply) Validate() error
- func (m *ParseTokenReply) ValidateAll() error
- type ParseTokenReplyMultiError
- type ParseTokenReplyValidationError
- func (e ParseTokenReplyValidationError) Cause() error
- func (e ParseTokenReplyValidationError) Error() string
- func (e ParseTokenReplyValidationError) ErrorName() string
- func (e ParseTokenReplyValidationError) Field() string
- func (e ParseTokenReplyValidationError) Key() bool
- func (e ParseTokenReplyValidationError) Reason() string
- type RefreshTokenReply
- func (*RefreshTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenReply) GetToken() string
- func (*RefreshTokenReply) ProtoMessage()
- func (x *RefreshTokenReply) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenReply) Reset()
- func (x *RefreshTokenReply) String() string
- func (m *RefreshTokenReply) Validate() error
- func (m *RefreshTokenReply) ValidateAll() error
- type RefreshTokenReplyMultiError
- type RefreshTokenReplyValidationError
- func (e RefreshTokenReplyValidationError) Cause() error
- func (e RefreshTokenReplyValidationError) Error() string
- func (e RefreshTokenReplyValidationError) ErrorName() string
- func (e RefreshTokenReplyValidationError) Field() string
- func (e RefreshTokenReplyValidationError) Key() bool
- func (e RefreshTokenReplyValidationError) Reason() string
- type ResetUserPasswordRequest
- func (*ResetUserPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetUserPasswordRequest) GetId() uint32
- func (*ResetUserPasswordRequest) ProtoMessage()
- func (x *ResetUserPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetUserPasswordRequest) Reset()
- func (x *ResetUserPasswordRequest) String() string
- func (m *ResetUserPasswordRequest) Validate() error
- func (m *ResetUserPasswordRequest) ValidateAll() error
- type ResetUserPasswordRequestMultiError
- type ResetUserPasswordRequestValidationError
- func (e ResetUserPasswordRequestValidationError) Cause() error
- func (e ResetUserPasswordRequestValidationError) Error() string
- func (e ResetUserPasswordRequestValidationError) ErrorName() string
- func (e ResetUserPasswordRequestValidationError) Field() string
- func (e ResetUserPasswordRequestValidationError) Key() bool
- func (e ResetUserPasswordRequestValidationError) Reason() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetChildren() []*Role
- func (x *Role) GetCreatedAt() uint32
- func (x *Role) GetDataScope() string
- func (x *Role) GetDepartmentIds() string
- func (x *Role) GetDescription() string
- func (x *Role) GetId() uint32
- func (x *Role) GetKeyword() string
- func (x *Role) GetName() string
- func (x *Role) GetParentId() uint32
- func (x *Role) GetStatus() bool
- func (x *Role) GetUpdatedAt() uint32
- 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 RoleMenu
- func (*RoleMenu) Descriptor() ([]byte, []int)deprecated
- func (x *RoleMenu) GetMenu() *Menu
- func (x *RoleMenu) GetMenuId() uint32
- func (x *RoleMenu) GetRoleId() uint32
- func (*RoleMenu) ProtoMessage()
- func (x *RoleMenu) ProtoReflect() protoreflect.Message
- func (x *RoleMenu) Reset()
- func (x *RoleMenu) String() string
- func (m *RoleMenu) Validate() error
- func (m *RoleMenu) ValidateAll() error
- type RoleMenuMultiError
- type RoleMenuValidationError
- type RoleMultiError
- type RoleValidationError
- type ServiceClient
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- func (c *ServiceHTTPClientImpl) AddDepartment(ctx context.Context, in *AddDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) AddDict(ctx context.Context, in *AddDictRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) AddDictValue(ctx context.Context, in *AddDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) AddJob(ctx context.Context, in *AddJobRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) AddMenu(ctx context.Context, in *AddMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) AddRole(ctx context.Context, in *AddRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) AddUser(ctx context.Context, in *AddUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) Auth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ChangeUserPassword(ctx context.Context, in *ChangeUserPasswordRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) ChangeUserPasswordCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ChangeUserPasswordCaptchaReply, error)
- func (c *ServiceHTTPClientImpl) CurrentRoleMenuTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CurrentRoleMenuTreeReply, error)
- func (c *ServiceHTTPClientImpl) CurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserReply, error)
- func (c *ServiceHTTPClientImpl) CurrentUserRoles(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserRolesReply, error)
- func (c *ServiceHTTPClientImpl) DeleteDepartment(ctx context.Context, in *DeleteDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteDict(ctx context.Context, in *DeleteDictRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteDictValue(ctx context.Context, in *DeleteDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteMenu(ctx context.Context, in *DeleteMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) DisableUser(ctx context.Context, in *DisableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) EnableUser(ctx context.Context, in *EnableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) GetDepartmentTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetDepartmentTreeReply, error)
- func (c *ServiceHTTPClientImpl) GetMenuTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetMenuTreeReply, error)
- func (c *ServiceHTTPClientImpl) GetRoleMenuIds(ctx context.Context, in *GetRoleMenuIdsRequest, opts ...http.CallOption) (*GetRoleMenuIdsReply, error)
- func (c *ServiceHTTPClientImpl) GetRoleTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetRoleTreeReply, error)
- func (c *ServiceHTTPClientImpl) GetSetting(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetSettingReply, error)
- func (c *ServiceHTTPClientImpl) GetUserJob(ctx context.Context, in *GetUserJobRequest, opts ...http.CallOption) (*GetUserJobReply, error)
- func (c *ServiceHTTPClientImpl) GetUserRoles(ctx context.Context, in *GetUserRolesRequest, opts ...http.CallOption) (*GetUserRolesReply, error)
- func (c *ServiceHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *ServiceHTTPClientImpl) LoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*LoginCaptchaReply, error)
- func (c *ServiceHTTPClientImpl) Logout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) OfflineUser(ctx context.Context, in *OfflineUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) PageDict(ctx context.Context, in *PageDictRequest, opts ...http.CallOption) (*PageDictReply, error)
- func (c *ServiceHTTPClientImpl) PageDictValue(ctx context.Context, in *PageDictValueRequest, opts ...http.CallOption) (*PageDictValueReply, error)
- func (c *ServiceHTTPClientImpl) PageJob(ctx context.Context, in *PageJobRequest, opts ...http.CallOption) (*PageJobReply, error)
- func (c *ServiceHTTPClientImpl) PageUser(ctx context.Context, in *PageUserRequest, opts ...http.CallOption) (*PageUserReply, error)
- func (c *ServiceHTTPClientImpl) ParseToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ParseTokenReply, error)
- func (c *ServiceHTTPClientImpl) RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*RefreshTokenReply, error)
- func (c *ServiceHTTPClientImpl) ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) SwitchCurrentUserRole(ctx context.Context, in *SwitchCurrentUserRoleRequest, opts ...http.CallOption) (*SwitchCurrentUserRoleReply, error)
- func (c *ServiceHTTPClientImpl) UpdateDepartment(ctx context.Context, in *UpdateDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateDict(ctx context.Context, in *UpdateDictRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateDictValue(ctx context.Context, in *UpdateDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateMenu(ctx context.Context, in *UpdateMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateRoleMenus(ctx context.Context, in *UpdateRoleMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- func (c *ServiceHTTPClientImpl) UpdateUserBasic(ctx context.Context, in *UpdateUserBasicRequest, opts ...http.CallOption) (*emptypb.Empty, error)
- type ServiceHTTPServer
- type ServiceServer
- type SwitchCurrentUserRoleReply
- func (*SwitchCurrentUserRoleReply) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchCurrentUserRoleReply) GetToken() string
- func (*SwitchCurrentUserRoleReply) ProtoMessage()
- func (x *SwitchCurrentUserRoleReply) ProtoReflect() protoreflect.Message
- func (x *SwitchCurrentUserRoleReply) Reset()
- func (x *SwitchCurrentUserRoleReply) String() string
- func (m *SwitchCurrentUserRoleReply) Validate() error
- func (m *SwitchCurrentUserRoleReply) ValidateAll() error
- type SwitchCurrentUserRoleReplyMultiError
- type SwitchCurrentUserRoleReplyValidationError
- func (e SwitchCurrentUserRoleReplyValidationError) Cause() error
- func (e SwitchCurrentUserRoleReplyValidationError) Error() string
- func (e SwitchCurrentUserRoleReplyValidationError) ErrorName() string
- func (e SwitchCurrentUserRoleReplyValidationError) Field() string
- func (e SwitchCurrentUserRoleReplyValidationError) Key() bool
- func (e SwitchCurrentUserRoleReplyValidationError) Reason() string
- type SwitchCurrentUserRoleRequest
- func (*SwitchCurrentUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchCurrentUserRoleRequest) GetRoleId() uint32
- func (*SwitchCurrentUserRoleRequest) ProtoMessage()
- func (x *SwitchCurrentUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchCurrentUserRoleRequest) Reset()
- func (x *SwitchCurrentUserRoleRequest) String() string
- func (m *SwitchCurrentUserRoleRequest) Validate() error
- func (m *SwitchCurrentUserRoleRequest) ValidateAll() error
- type SwitchCurrentUserRoleRequestMultiError
- type SwitchCurrentUserRoleRequestValidationError
- func (e SwitchCurrentUserRoleRequestValidationError) Cause() error
- func (e SwitchCurrentUserRoleRequestValidationError) Error() string
- func (e SwitchCurrentUserRoleRequestValidationError) ErrorName() string
- func (e SwitchCurrentUserRoleRequestValidationError) Field() string
- func (e SwitchCurrentUserRoleRequestValidationError) Key() bool
- func (e SwitchCurrentUserRoleRequestValidationError) Reason() string
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) AddDepartment(context.Context, *AddDepartmentRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) AddDict(context.Context, *AddDictRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) AddDictValue(context.Context, *AddDictValueRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) AddJob(context.Context, *AddJobRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) AddMenu(context.Context, *AddMenuRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) AddRole(context.Context, *AddRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) Auth(context.Context, *AuthRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*ChangeUserPasswordCaptchaReply, error)
- func (UnimplementedServiceServer) CurrentRoleMenuTree(context.Context, *emptypb.Empty) (*CurrentRoleMenuTreeReply, error)
- func (UnimplementedServiceServer) CurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error)
- func (UnimplementedServiceServer) CurrentUserRoles(context.Context, *emptypb.Empty) (*GetUserRolesReply, error)
- func (UnimplementedServiceServer) DeleteDepartment(context.Context, *DeleteDepartmentRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteDict(context.Context, *DeleteDictRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteDictValue(context.Context, *DeleteDictValueRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteMenu(context.Context, *DeleteMenuRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) GetDepartment(context.Context, *GetDepartmentRequest) (*GetDepartmentReply, error)
- func (UnimplementedServiceServer) GetDepartmentTree(context.Context, *emptypb.Empty) (*GetDepartmentTreeReply, error)
- func (UnimplementedServiceServer) GetJob(context.Context, *GetJobRequest) (*GetJobReply, error)
- func (UnimplementedServiceServer) GetMenuTree(context.Context, *emptypb.Empty) (*GetMenuTreeReply, error)
- func (UnimplementedServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error)
- func (UnimplementedServiceServer) GetRoleMenuIds(context.Context, *GetRoleMenuIdsRequest) (*GetRoleMenuIdsReply, error)
- func (UnimplementedServiceServer) GetRoleTree(context.Context, *emptypb.Empty) (*GetRoleTreeReply, error)
- func (UnimplementedServiceServer) GetSetting(context.Context, *emptypb.Empty) (*GetSettingReply, error)
- func (UnimplementedServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
- func (UnimplementedServiceServer) GetUserJob(context.Context, *GetUserJobRequest) (*GetUserJobReply, error)
- func (UnimplementedServiceServer) GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesReply, error)
- func (UnimplementedServiceServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
- func (UnimplementedServiceServer) LoginCaptcha(context.Context, *emptypb.Empty) (*LoginCaptchaReply, error)
- func (UnimplementedServiceServer) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) PageDict(context.Context, *PageDictRequest) (*PageDictReply, error)
- func (UnimplementedServiceServer) PageDictValue(context.Context, *PageDictValueRequest) (*PageDictValueReply, error)
- func (UnimplementedServiceServer) PageJob(context.Context, *PageJobRequest) (*PageJobReply, error)
- func (UnimplementedServiceServer) PageUser(context.Context, *PageUserRequest) (*PageUserReply, error)
- func (UnimplementedServiceServer) ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error)
- func (UnimplementedServiceServer) RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenReply, error)
- func (UnimplementedServiceServer) ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) SwitchCurrentUserRole(context.Context, *SwitchCurrentUserRoleRequest) (*SwitchCurrentUserRoleReply, error)
- func (UnimplementedServiceServer) UpdateDepartment(context.Context, *UpdateDepartmentRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateDict(context.Context, *UpdateDictRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateDictValue(context.Context, *UpdateDictValueRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateMenu(context.Context, *UpdateMenuRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateRoleMenus(context.Context, *UpdateRoleMenuRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
- func (UnimplementedServiceServer) UpdateUserBasic(context.Context, *UpdateUserBasicRequest) (*emptypb.Empty, error)
- type UnsafeServiceServer
- type UpdateDepartmentRequest
- func (*UpdateDepartmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDepartmentRequest) GetDescription() string
- func (x *UpdateDepartmentRequest) GetId() uint32
- func (x *UpdateDepartmentRequest) GetName() string
- func (x *UpdateDepartmentRequest) GetParentId() uint32
- func (*UpdateDepartmentRequest) ProtoMessage()
- func (x *UpdateDepartmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDepartmentRequest) Reset()
- func (x *UpdateDepartmentRequest) String() string
- func (m *UpdateDepartmentRequest) Validate() error
- func (m *UpdateDepartmentRequest) ValidateAll() error
- type UpdateDepartmentRequestMultiError
- type UpdateDepartmentRequestValidationError
- func (e UpdateDepartmentRequestValidationError) Cause() error
- func (e UpdateDepartmentRequestValidationError) Error() string
- func (e UpdateDepartmentRequestValidationError) ErrorName() string
- func (e UpdateDepartmentRequestValidationError) Field() string
- func (e UpdateDepartmentRequestValidationError) Key() bool
- func (e UpdateDepartmentRequestValidationError) Reason() string
- type UpdateDictRequest
- func (*UpdateDictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDictRequest) GetDescription() string
- func (x *UpdateDictRequest) GetId() uint32
- func (x *UpdateDictRequest) GetName() string
- func (x *UpdateDictRequest) GetWeight() uint32
- func (*UpdateDictRequest) ProtoMessage()
- func (x *UpdateDictRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDictRequest) Reset()
- func (x *UpdateDictRequest) String() string
- func (m *UpdateDictRequest) Validate() error
- func (m *UpdateDictRequest) ValidateAll() error
- type UpdateDictRequestMultiError
- type UpdateDictRequestValidationError
- func (e UpdateDictRequestValidationError) Cause() error
- func (e UpdateDictRequestValidationError) Error() string
- func (e UpdateDictRequestValidationError) ErrorName() string
- func (e UpdateDictRequestValidationError) Field() string
- func (e UpdateDictRequestValidationError) Key() bool
- func (e UpdateDictRequestValidationError) Reason() string
- type UpdateDictValueRequest
- func (*UpdateDictValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDictValueRequest) GetDescription() string
- func (x *UpdateDictValueRequest) GetDictId() uint32
- func (x *UpdateDictValueRequest) GetExtra() string
- func (x *UpdateDictValueRequest) GetId() uint32
- func (x *UpdateDictValueRequest) GetLabel() string
- func (x *UpdateDictValueRequest) GetStatus() bool
- func (x *UpdateDictValueRequest) GetType() string
- func (x *UpdateDictValueRequest) GetValue() string
- func (x *UpdateDictValueRequest) GetWeight() uint32
- func (*UpdateDictValueRequest) ProtoMessage()
- func (x *UpdateDictValueRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDictValueRequest) Reset()
- func (x *UpdateDictValueRequest) String() string
- func (m *UpdateDictValueRequest) Validate() error
- func (m *UpdateDictValueRequest) ValidateAll() error
- type UpdateDictValueRequestMultiError
- type UpdateDictValueRequestValidationError
- func (e UpdateDictValueRequestValidationError) Cause() error
- func (e UpdateDictValueRequestValidationError) Error() string
- func (e UpdateDictValueRequestValidationError) ErrorName() string
- func (e UpdateDictValueRequestValidationError) Field() string
- func (e UpdateDictValueRequestValidationError) Key() bool
- func (e UpdateDictValueRequestValidationError) Reason() string
- type UpdateJobRequest
- func (*UpdateJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJobRequest) GetDescription() string
- func (x *UpdateJobRequest) GetId() uint32
- func (x *UpdateJobRequest) GetName() string
- func (x *UpdateJobRequest) GetWeight() uint32
- func (*UpdateJobRequest) ProtoMessage()
- func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateJobRequest) Reset()
- func (x *UpdateJobRequest) String() string
- func (m *UpdateJobRequest) Validate() error
- func (m *UpdateJobRequest) ValidateAll() error
- type UpdateJobRequestMultiError
- type UpdateJobRequestValidationError
- func (e UpdateJobRequestValidationError) Cause() error
- func (e UpdateJobRequestValidationError) Error() string
- func (e UpdateJobRequestValidationError) ErrorName() string
- func (e UpdateJobRequestValidationError) Field() string
- func (e UpdateJobRequestValidationError) Key() bool
- func (e UpdateJobRequestValidationError) Reason() string
- type UpdateMenuRequest
- func (*UpdateMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMenuRequest) GetApi() string
- func (x *UpdateMenuRequest) GetComponent() string
- func (x *UpdateMenuRequest) GetIcon() string
- func (x *UpdateMenuRequest) GetId() uint32
- func (x *UpdateMenuRequest) GetIsAffix() bool
- func (x *UpdateMenuRequest) GetIsCache() bool
- func (x *UpdateMenuRequest) GetIsHidden() bool
- func (x *UpdateMenuRequest) GetIsHome() bool
- func (x *UpdateMenuRequest) GetKeyword() string
- func (x *UpdateMenuRequest) GetMethod() string
- func (x *UpdateMenuRequest) GetParentId() uint32
- func (x *UpdateMenuRequest) GetPath() string
- func (x *UpdateMenuRequest) GetPermission() string
- func (x *UpdateMenuRequest) GetRedirect() string
- func (x *UpdateMenuRequest) GetTitle() string
- func (x *UpdateMenuRequest) GetType() string
- func (x *UpdateMenuRequest) GetWeight() int32
- func (*UpdateMenuRequest) ProtoMessage()
- func (x *UpdateMenuRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMenuRequest) Reset()
- func (x *UpdateMenuRequest) String() string
- func (m *UpdateMenuRequest) Validate() error
- func (m *UpdateMenuRequest) ValidateAll() error
- type UpdateMenuRequestMultiError
- type UpdateMenuRequestValidationError
- func (e UpdateMenuRequestValidationError) Cause() error
- func (e UpdateMenuRequestValidationError) Error() string
- func (e UpdateMenuRequestValidationError) ErrorName() string
- func (e UpdateMenuRequestValidationError) Field() string
- func (e UpdateMenuRequestValidationError) Key() bool
- func (e UpdateMenuRequestValidationError) Reason() string
- type UpdateRoleMenuRequest
- func (*UpdateRoleMenuRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleMenuRequest) GetMenuIds() []uint32
- func (x *UpdateRoleMenuRequest) GetRoleId() uint32
- func (*UpdateRoleMenuRequest) ProtoMessage()
- func (x *UpdateRoleMenuRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleMenuRequest) Reset()
- func (x *UpdateRoleMenuRequest) String() string
- func (m *UpdateRoleMenuRequest) Validate() error
- func (m *UpdateRoleMenuRequest) ValidateAll() error
- type UpdateRoleMenuRequestMultiError
- type UpdateRoleMenuRequestValidationError
- func (e UpdateRoleMenuRequestValidationError) Cause() error
- func (e UpdateRoleMenuRequestValidationError) Error() string
- func (e UpdateRoleMenuRequestValidationError) ErrorName() string
- func (e UpdateRoleMenuRequestValidationError) Field() string
- func (e UpdateRoleMenuRequestValidationError) Key() bool
- func (e UpdateRoleMenuRequestValidationError) Reason() string
- type UpdateRoleRequest
- func (*UpdateRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleRequest) GetDataScope() string
- func (x *UpdateRoleRequest) GetDepartmentIds() string
- func (x *UpdateRoleRequest) GetDescription() string
- func (x *UpdateRoleRequest) GetId() uint32
- func (x *UpdateRoleRequest) GetName() string
- func (x *UpdateRoleRequest) GetParentId() uint32
- func (x *UpdateRoleRequest) GetStatus() bool
- 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 UpdateUserBasicRequest
- func (*UpdateUserBasicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserBasicRequest) GetGender() string
- func (x *UpdateUserBasicRequest) GetNickname() string
- func (*UpdateUserBasicRequest) ProtoMessage()
- func (x *UpdateUserBasicRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserBasicRequest) Reset()
- func (x *UpdateUserBasicRequest) String() string
- func (m *UpdateUserBasicRequest) Validate() error
- func (m *UpdateUserBasicRequest) ValidateAll() error
- type UpdateUserBasicRequestMultiError
- type UpdateUserBasicRequestValidationError
- func (e UpdateUserBasicRequestValidationError) Cause() error
- func (e UpdateUserBasicRequestValidationError) Error() string
- func (e UpdateUserBasicRequestValidationError) ErrorName() string
- func (e UpdateUserBasicRequestValidationError) Field() string
- func (e UpdateUserBasicRequestValidationError) Key() bool
- func (e UpdateUserBasicRequestValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetDepartmentId() uint32
- func (x *UpdateUserRequest) GetEmail() string
- func (x *UpdateUserRequest) GetGender() string
- func (x *UpdateUserRequest) GetId() uint32
- func (x *UpdateUserRequest) GetJobIds() []uint32
- func (x *UpdateUserRequest) GetName() string
- func (x *UpdateUserRequest) GetPhone() string
- func (x *UpdateUserRequest) GetRoleIds() []uint32
- 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 User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatar() string
- func (x *User) GetCreatedAt() uint32
- func (x *User) GetDepartment() *Department
- func (x *User) GetDepartmentId() uint32
- func (x *User) GetDisabled() string
- func (x *User) GetEmail() string
- func (x *User) GetGender() string
- func (x *User) GetId() uint32
- func (x *User) GetJobs() []*Job
- func (x *User) GetLastLogin() uint32
- func (x *User) GetName() string
- func (x *User) GetNickname() string
- func (x *User) GetPhone() string
- func (x *User) GetRole() *Role
- func (x *User) GetRoleId() uint32
- func (x *User) GetRoles() []*Role
- func (x *User) GetStatus() bool
- func (x *User) GetUpdatedAt() uint32
- 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 UserMultiError
- type UserRole
- func (*UserRole) Descriptor() ([]byte, []int)deprecated
- func (x *UserRole) GetRole() *Role
- func (x *UserRole) GetRoleId() uint32
- func (x *UserRole) GetUser() *User
- func (x *UserRole) GetUserId() uint32
- func (*UserRole) ProtoMessage()
- func (x *UserRole) ProtoReflect() protoreflect.Message
- func (x *UserRole) Reset()
- func (x *UserRole) String() string
- func (m *UserRole) Validate() error
- func (m *UserRole) ValidateAll() error
- type UserRoleMultiError
- type UserRoleValidationError
- type UserValidationError
Constants ¶
const ( Service_Auth_FullMethodName = "/manager.Service/Auth" Service_Login_FullMethodName = "/manager.Service/Login" Service_LoginCaptcha_FullMethodName = "/manager.Service/LoginCaptcha" Service_Logout_FullMethodName = "/manager.Service/Logout" Service_ParseToken_FullMethodName = "/manager.Service/ParseToken" Service_RefreshToken_FullMethodName = "/manager.Service/RefreshToken" Service_GetSetting_FullMethodName = "/manager.Service/GetSetting" Service_GetRole_FullMethodName = "/manager.Service/GetRole" Service_CurrentRoleMenuTree_FullMethodName = "/manager.Service/CurrentRoleMenuTree" Service_GetRoleMenuIds_FullMethodName = "/manager.Service/GetRoleMenuIds" Service_UpdateRoleMenus_FullMethodName = "/manager.Service/UpdateRoleMenus" Service_GetRoleTree_FullMethodName = "/manager.Service/GetRoleTree" Service_AddRole_FullMethodName = "/manager.Service/AddRole" Service_UpdateRole_FullMethodName = "/manager.Service/UpdateRole" Service_DeleteRole_FullMethodName = "/manager.Service/DeleteRole" Service_GetMenuTree_FullMethodName = "/manager.Service/GetMenuTree" Service_AddMenu_FullMethodName = "/manager.Service/AddMenu" Service_UpdateMenu_FullMethodName = "/manager.Service/UpdateMenu" Service_DeleteMenu_FullMethodName = "/manager.Service/DeleteMenu" Service_GetDepartmentTree_FullMethodName = "/manager.Service/GetDepartmentTree" Service_GetDepartment_FullMethodName = "/manager.Service/GetDepartment" Service_AddDepartment_FullMethodName = "/manager.Service/AddDepartment" Service_UpdateDepartment_FullMethodName = "/manager.Service/UpdateDepartment" Service_DeleteDepartment_FullMethodName = "/manager.Service/DeleteDepartment" Service_GetUser_FullMethodName = "/manager.Service/GetUser" Service_CurrentUser_FullMethodName = "/manager.Service/CurrentUser" Service_PageUser_FullMethodName = "/manager.Service/PageUser" Service_AddUser_FullMethodName = "/manager.Service/AddUser" Service_ChangeUserPasswordCaptcha_FullMethodName = "/manager.Service/ChangeUserPasswordCaptcha" Service_ResetUserPassword_FullMethodName = "/manager.Service/ResetUserPassword" Service_ChangeUserPassword_FullMethodName = "/manager.Service/ChangeUserPassword" Service_DisableUser_FullMethodName = "/manager.Service/DisableUser" Service_EnableUser_FullMethodName = "/manager.Service/EnableUser" Service_OfflineUser_FullMethodName = "/manager.Service/OfflineUser" Service_UpdateUser_FullMethodName = "/manager.Service/UpdateUser" Service_UpdateUserBasic_FullMethodName = "/manager.Service/UpdateUserBasic" Service_DeleteUser_FullMethodName = "/manager.Service/DeleteUser" Service_CurrentUserRoles_FullMethodName = "/manager.Service/CurrentUserRoles" Service_SwitchCurrentUserRole_FullMethodName = "/manager.Service/SwitchCurrentUserRole" Service_GetUserRoles_FullMethodName = "/manager.Service/GetUserRoles" Service_GetJob_FullMethodName = "/manager.Service/GetJob" Service_GetUserJob_FullMethodName = "/manager.Service/GetUserJob" Service_PageJob_FullMethodName = "/manager.Service/PageJob" Service_AddJob_FullMethodName = "/manager.Service/AddJob" Service_UpdateJob_FullMethodName = "/manager.Service/UpdateJob" Service_DeleteJob_FullMethodName = "/manager.Service/DeleteJob" Service_PageDict_FullMethodName = "/manager.Service/PageDict" Service_AddDict_FullMethodName = "/manager.Service/AddDict" Service_UpdateDict_FullMethodName = "/manager.Service/UpdateDict" Service_DeleteDict_FullMethodName = "/manager.Service/DeleteDict" Service_PageDictValue_FullMethodName = "/manager.Service/PageDictValue" Service_AddDictValue_FullMethodName = "/manager.Service/AddDictValue" Service_UpdateDictValue_FullMethodName = "/manager.Service/UpdateDictValue" Service_DeleteDictValue_FullMethodName = "/manager.Service/DeleteDictValue" )
const OperationServiceAddDepartment = "/manager.Service/AddDepartment"
const OperationServiceAddDict = "/manager.Service/AddDict"
const OperationServiceAddDictValue = "/manager.Service/AddDictValue"
const OperationServiceAddJob = "/manager.Service/AddJob"
const OperationServiceAddMenu = "/manager.Service/AddMenu"
const OperationServiceAddRole = "/manager.Service/AddRole"
const OperationServiceAddUser = "/manager.Service/AddUser"
const OperationServiceAuth = "/manager.Service/Auth"
const OperationServiceChangeUserPassword = "/manager.Service/ChangeUserPassword"
const OperationServiceChangeUserPasswordCaptcha = "/manager.Service/ChangeUserPasswordCaptcha"
const OperationServiceCurrentRoleMenuTree = "/manager.Service/CurrentRoleMenuTree"
const OperationServiceCurrentUser = "/manager.Service/CurrentUser"
const OperationServiceCurrentUserRoles = "/manager.Service/CurrentUserRoles"
const OperationServiceDeleteDepartment = "/manager.Service/DeleteDepartment"
const OperationServiceDeleteDict = "/manager.Service/DeleteDict"
const OperationServiceDeleteDictValue = "/manager.Service/DeleteDictValue"
const OperationServiceDeleteJob = "/manager.Service/DeleteJob"
const OperationServiceDeleteMenu = "/manager.Service/DeleteMenu"
const OperationServiceDeleteRole = "/manager.Service/DeleteRole"
const OperationServiceDeleteUser = "/manager.Service/DeleteUser"
const OperationServiceDisableUser = "/manager.Service/DisableUser"
const OperationServiceEnableUser = "/manager.Service/EnableUser"
const OperationServiceGetDepartmentTree = "/manager.Service/GetDepartmentTree"
const OperationServiceGetMenuTree = "/manager.Service/GetMenuTree"
const OperationServiceGetRoleMenuIds = "/manager.Service/GetRoleMenuIds"
const OperationServiceGetRoleTree = "/manager.Service/GetRoleTree"
const OperationServiceGetSetting = "/manager.Service/GetSetting"
const OperationServiceGetUserJob = "/manager.Service/GetUserJob"
const OperationServiceGetUserRoles = "/manager.Service/GetUserRoles"
const OperationServiceLogin = "/manager.Service/Login"
const OperationServiceLoginCaptcha = "/manager.Service/LoginCaptcha"
const OperationServiceLogout = "/manager.Service/Logout"
const OperationServiceOfflineUser = "/manager.Service/OfflineUser"
const OperationServicePageDict = "/manager.Service/PageDict"
const OperationServicePageDictValue = "/manager.Service/PageDictValue"
const OperationServicePageJob = "/manager.Service/PageJob"
const OperationServicePageUser = "/manager.Service/PageUser"
const OperationServiceParseToken = "/manager.Service/ParseToken"
const OperationServiceRefreshToken = "/manager.Service/RefreshToken"
const OperationServiceResetUserPassword = "/manager.Service/ResetUserPassword"
const OperationServiceSwitchCurrentUserRole = "/manager.Service/SwitchCurrentUserRole"
const OperationServiceUpdateDepartment = "/manager.Service/UpdateDepartment"
const OperationServiceUpdateDict = "/manager.Service/UpdateDict"
const OperationServiceUpdateDictValue = "/manager.Service/UpdateDictValue"
const OperationServiceUpdateJob = "/manager.Service/UpdateJob"
const OperationServiceUpdateMenu = "/manager.Service/UpdateMenu"
const OperationServiceUpdateRole = "/manager.Service/UpdateRole"
const OperationServiceUpdateRoleMenus = "/manager.Service/UpdateRoleMenus"
const OperationServiceUpdateUser = "/manager.Service/UpdateUser"
const OperationServiceUpdateUserBasic = "/manager.Service/UpdateUserBasic"
Variables ¶
var ( ErrorReason_name = map[int32]string{ 0: "NotFoundError", 1: "DatabaseError", 2: "MetadataError", 3: "TransformError", 4: "DepartmentPermissionsError", 5: "RolePermissionsError", 6: "UserPermissionsError", 7: "MenuPermissionsError", 8: "EditSystemDataError", 9: "DeleteSystemDataError", 10: "NewCaptchaError", 11: "VerifyCaptchaError", 12: "RsaDecodeError", 13: "PasswordFormatError", 14: "PasswordExpireError", 15: "UserDisableError", 16: "RoleDisableError", 17: "UserPasswordError", 18: "NewTokenError", 19: "ParseTokenError", 20: "RefreshTokenError", 21: "EmptyTokenError", 22: "DeleteSelfRoleError", 23: "DeleteSelfDepartmentError", 24: "ParentMenuError", 25: "SendEmailCaptchaError", 26: "UsernameFormatError", 27: "UsernameNotExistError", 28: "DisableSelfUserError", 29: "ForbiddenError", 30: "DeleteSelfUserError", 31: "ResetSelfUserPasswordError", } ErrorReason_value = map[string]int32{ "NotFoundError": 0, "DatabaseError": 1, "MetadataError": 2, "TransformError": 3, "DepartmentPermissionsError": 4, "RolePermissionsError": 5, "UserPermissionsError": 6, "MenuPermissionsError": 7, "EditSystemDataError": 8, "DeleteSystemDataError": 9, "NewCaptchaError": 10, "VerifyCaptchaError": 11, "RsaDecodeError": 12, "PasswordFormatError": 13, "PasswordExpireError": 14, "UserDisableError": 15, "RoleDisableError": 16, "UserPasswordError": 17, "NewTokenError": 18, "ParseTokenError": 19, "RefreshTokenError": 20, "EmptyTokenError": 21, "DeleteSelfRoleError": 22, "DeleteSelfDepartmentError": 23, "ParentMenuError": 24, "SendEmailCaptchaError": 25, "UsernameFormatError": 26, "UsernameNotExistError": 27, "DisableSelfUserError": 28, "ForbiddenError": 29, "DeleteSelfUserError": 30, "ResetSelfUserPasswordError": 31, } )
Enum value maps for ErrorReason.
var File_manager_auth_proto protoreflect.FileDescriptor
var File_manager_department_proto protoreflect.FileDescriptor
var File_manager_dict_proto protoreflect.FileDescriptor
var File_manager_dict_value_proto protoreflect.FileDescriptor
var File_manager_error_reason_proto protoreflect.FileDescriptor
var File_manager_job_proto protoreflect.FileDescriptor
var File_manager_role_proto protoreflect.FileDescriptor
var File_manager_service_proto protoreflect.FileDescriptor
var File_manager_setting_proto protoreflect.FileDescriptor
var File_manager_user_proto protoreflect.FileDescriptor
var File_manager_user_role_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "manager.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Auth", Handler: _Service_Auth_Handler, }, { MethodName: "Login", Handler: _Service_Login_Handler, }, { MethodName: "LoginCaptcha", Handler: _Service_LoginCaptcha_Handler, }, { MethodName: "Logout", Handler: _Service_Logout_Handler, }, { MethodName: "ParseToken", Handler: _Service_ParseToken_Handler, }, { MethodName: "RefreshToken", Handler: _Service_RefreshToken_Handler, }, { MethodName: "GetSetting", Handler: _Service_GetSetting_Handler, }, { MethodName: "GetRole", Handler: _Service_GetRole_Handler, }, { MethodName: "CurrentRoleMenuTree", Handler: _Service_CurrentRoleMenuTree_Handler, }, { MethodName: "GetRoleMenuIds", Handler: _Service_GetRoleMenuIds_Handler, }, { MethodName: "UpdateRoleMenus", Handler: _Service_UpdateRoleMenus_Handler, }, { MethodName: "GetRoleTree", Handler: _Service_GetRoleTree_Handler, }, { MethodName: "AddRole", Handler: _Service_AddRole_Handler, }, { MethodName: "UpdateRole", Handler: _Service_UpdateRole_Handler, }, { MethodName: "DeleteRole", Handler: _Service_DeleteRole_Handler, }, { MethodName: "GetMenuTree", Handler: _Service_GetMenuTree_Handler, }, { MethodName: "AddMenu", Handler: _Service_AddMenu_Handler, }, { MethodName: "UpdateMenu", Handler: _Service_UpdateMenu_Handler, }, { MethodName: "DeleteMenu", Handler: _Service_DeleteMenu_Handler, }, { MethodName: "GetDepartmentTree", Handler: _Service_GetDepartmentTree_Handler, }, { MethodName: "GetDepartment", Handler: _Service_GetDepartment_Handler, }, { MethodName: "AddDepartment", Handler: _Service_AddDepartment_Handler, }, { MethodName: "UpdateDepartment", Handler: _Service_UpdateDepartment_Handler, }, { MethodName: "DeleteDepartment", Handler: _Service_DeleteDepartment_Handler, }, { MethodName: "GetUser", Handler: _Service_GetUser_Handler, }, { MethodName: "CurrentUser", Handler: _Service_CurrentUser_Handler, }, { MethodName: "PageUser", Handler: _Service_PageUser_Handler, }, { MethodName: "AddUser", Handler: _Service_AddUser_Handler, }, { MethodName: "ChangeUserPasswordCaptcha", Handler: _Service_ChangeUserPasswordCaptcha_Handler, }, { MethodName: "ResetUserPassword", Handler: _Service_ResetUserPassword_Handler, }, { MethodName: "ChangeUserPassword", Handler: _Service_ChangeUserPassword_Handler, }, { MethodName: "DisableUser", Handler: _Service_DisableUser_Handler, }, { MethodName: "EnableUser", Handler: _Service_EnableUser_Handler, }, { MethodName: "OfflineUser", Handler: _Service_OfflineUser_Handler, }, { MethodName: "UpdateUser", Handler: _Service_UpdateUser_Handler, }, { MethodName: "UpdateUserBasic", Handler: _Service_UpdateUserBasic_Handler, }, { MethodName: "DeleteUser", Handler: _Service_DeleteUser_Handler, }, { MethodName: "CurrentUserRoles", Handler: _Service_CurrentUserRoles_Handler, }, { MethodName: "SwitchCurrentUserRole", Handler: _Service_SwitchCurrentUserRole_Handler, }, { MethodName: "GetUserRoles", Handler: _Service_GetUserRoles_Handler, }, { MethodName: "GetJob", Handler: _Service_GetJob_Handler, }, { MethodName: "GetUserJob", Handler: _Service_GetUserJob_Handler, }, { MethodName: "PageJob", Handler: _Service_PageJob_Handler, }, { MethodName: "AddJob", Handler: _Service_AddJob_Handler, }, { MethodName: "UpdateJob", Handler: _Service_UpdateJob_Handler, }, { MethodName: "DeleteJob", Handler: _Service_DeleteJob_Handler, }, { MethodName: "PageDict", Handler: _Service_PageDict_Handler, }, { MethodName: "AddDict", Handler: _Service_AddDict_Handler, }, { MethodName: "UpdateDict", Handler: _Service_UpdateDict_Handler, }, { MethodName: "DeleteDict", Handler: _Service_DeleteDict_Handler, }, { MethodName: "PageDictValue", Handler: _Service_PageDictValue_Handler, }, { MethodName: "AddDictValue", Handler: _Service_AddDictValue_Handler, }, { MethodName: "UpdateDictValue", Handler: _Service_UpdateDictValue_Handler, }, { MethodName: "DeleteDictValue", Handler: _Service_DeleteDictValue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "manager_service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DatabaseError ¶
func DeleteSelfRoleError ¶
func DeleteSelfUserError ¶
func DeleteSystemDataError ¶
func DisableSelfUserError ¶
func EditSystemDataError ¶
func EmptyTokenError ¶
func ForbiddenError ¶
func IsDatabaseError ¶
func IsDeleteSelfRoleError ¶
func IsDeleteSelfUserError ¶
func IsDeleteSystemDataError ¶
func IsDisableSelfUserError ¶
func IsEditSystemDataError ¶
func IsEmptyTokenError ¶
func IsForbiddenError ¶
func IsMenuPermissionsError ¶
func IsMetadataError ¶
func IsNewCaptchaError ¶
func IsNewTokenError ¶
func IsNotFoundError ¶
func IsParentMenuError ¶
func IsParseTokenError ¶
func IsPasswordExpireError ¶
func IsPasswordFormatError ¶
func IsRefreshTokenError ¶
func IsRoleDisableError ¶
func IsRolePermissionsError ¶
func IsRsaDecodeError ¶
func IsSendEmailCaptchaError ¶
func IsTransformError ¶
func IsUserDisableError ¶
func IsUserPasswordError ¶
func IsUserPermissionsError ¶
func IsUsernameFormatError ¶
func IsUsernameNotExistError ¶
func IsVerifyCaptchaError ¶
func MenuPermissionsError ¶
func MetadataError ¶
func NewCaptchaError ¶
func NewTokenError ¶
func NotFoundError ¶
func ParentMenuError ¶
func ParseTokenError ¶
func PasswordExpireError ¶
func PasswordFormatError ¶
func RefreshTokenError ¶
func RefreshTokenErrorFormat ¶
func RegisterServiceHTTPServer ¶
func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
func RoleDisableError ¶
func RolePermissionsError ¶
func RsaDecodeError ¶
func SendEmailCaptchaError ¶
func TransformError ¶
func UserDisableError ¶
func UserPasswordError ¶
func UserPasswordErrorFormat ¶
func UserPermissionsError ¶
func UsernameFormatError ¶
func UsernameNotExistError ¶
func VerifyCaptchaError ¶
Types ¶
type AddDepartmentRequest ¶
type AddDepartmentRequest struct { ParentId uint32 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AddDepartmentRequest) Descriptor
deprecated
func (*AddDepartmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDepartmentRequest.ProtoReflect.Descriptor instead.
func (*AddDepartmentRequest) GetDescription ¶
func (x *AddDepartmentRequest) GetDescription() string
func (*AddDepartmentRequest) GetKeyword ¶
func (x *AddDepartmentRequest) GetKeyword() string
func (*AddDepartmentRequest) GetName ¶
func (x *AddDepartmentRequest) GetName() string
func (*AddDepartmentRequest) GetParentId ¶
func (x *AddDepartmentRequest) GetParentId() uint32
func (*AddDepartmentRequest) ProtoMessage ¶
func (*AddDepartmentRequest) ProtoMessage()
func (*AddDepartmentRequest) ProtoReflect ¶
func (x *AddDepartmentRequest) ProtoReflect() protoreflect.Message
func (*AddDepartmentRequest) Reset ¶
func (x *AddDepartmentRequest) Reset()
func (*AddDepartmentRequest) String ¶
func (x *AddDepartmentRequest) String() string
func (*AddDepartmentRequest) Validate ¶
func (m *AddDepartmentRequest) Validate() error
Validate checks the field values on AddDepartmentRequest 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 (*AddDepartmentRequest) ValidateAll ¶
func (m *AddDepartmentRequest) ValidateAll() error
ValidateAll checks the field values on AddDepartmentRequest 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 AddDepartmentRequestMultiError, or nil if none found.
type AddDepartmentRequestMultiError ¶
type AddDepartmentRequestMultiError []error
AddDepartmentRequestMultiError is an error wrapping multiple validation errors returned by AddDepartmentRequest.ValidateAll() if the designated constraints aren't met.
func (AddDepartmentRequestMultiError) AllErrors ¶
func (m AddDepartmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDepartmentRequestMultiError) Error ¶
func (m AddDepartmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDepartmentRequestValidationError ¶
type AddDepartmentRequestValidationError struct {
// contains filtered or unexported fields
}
AddDepartmentRequestValidationError is the validation error returned by AddDepartmentRequest.Validate if the designated constraints aren't met.
func (AddDepartmentRequestValidationError) Cause ¶
func (e AddDepartmentRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDepartmentRequestValidationError) Error ¶
func (e AddDepartmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDepartmentRequestValidationError) ErrorName ¶
func (e AddDepartmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDepartmentRequestValidationError) Field ¶
func (e AddDepartmentRequestValidationError) Field() string
Field function returns field value.
func (AddDepartmentRequestValidationError) Key ¶
func (e AddDepartmentRequestValidationError) Key() bool
Key function returns key value.
func (AddDepartmentRequestValidationError) Reason ¶
func (e AddDepartmentRequestValidationError) Reason() string
Reason function returns reason value.
type AddDictRequest ¶
type AddDictRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,4,opt,name=weight,proto3,oneof" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*AddDictRequest) Descriptor
deprecated
func (*AddDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDictRequest.ProtoReflect.Descriptor instead.
func (*AddDictRequest) GetDescription ¶
func (x *AddDictRequest) GetDescription() string
func (*AddDictRequest) GetKeyword ¶
func (x *AddDictRequest) GetKeyword() string
func (*AddDictRequest) GetName ¶
func (x *AddDictRequest) GetName() string
func (*AddDictRequest) GetWeight ¶
func (x *AddDictRequest) GetWeight() uint32
func (*AddDictRequest) ProtoMessage ¶
func (*AddDictRequest) ProtoMessage()
func (*AddDictRequest) ProtoReflect ¶
func (x *AddDictRequest) ProtoReflect() protoreflect.Message
func (*AddDictRequest) Reset ¶
func (x *AddDictRequest) Reset()
func (*AddDictRequest) String ¶
func (x *AddDictRequest) String() string
func (*AddDictRequest) Validate ¶
func (m *AddDictRequest) Validate() error
Validate checks the field values on AddDictRequest 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 (*AddDictRequest) ValidateAll ¶
func (m *AddDictRequest) ValidateAll() error
ValidateAll checks the field values on AddDictRequest 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 AddDictRequestMultiError, or nil if none found.
type AddDictRequestMultiError ¶
type AddDictRequestMultiError []error
AddDictRequestMultiError is an error wrapping multiple validation errors returned by AddDictRequest.ValidateAll() if the designated constraints aren't met.
func (AddDictRequestMultiError) AllErrors ¶
func (m AddDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDictRequestMultiError) Error ¶
func (m AddDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDictRequestValidationError ¶
type AddDictRequestValidationError struct {
// contains filtered or unexported fields
}
AddDictRequestValidationError is the validation error returned by AddDictRequest.Validate if the designated constraints aren't met.
func (AddDictRequestValidationError) Cause ¶
func (e AddDictRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDictRequestValidationError) Error ¶
func (e AddDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDictRequestValidationError) ErrorName ¶
func (e AddDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDictRequestValidationError) Field ¶
func (e AddDictRequestValidationError) Field() string
Field function returns field value.
func (AddDictRequestValidationError) Key ¶
func (e AddDictRequestValidationError) Key() bool
Key function returns key value.
func (AddDictRequestValidationError) Reason ¶
func (e AddDictRequestValidationError) Reason() string
Reason function returns reason value.
type AddDictValueRequest ¶
type AddDictValueRequest struct { DictId uint32 `protobuf:"varint,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Type *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"` Extra *string `protobuf:"bytes,6,opt,name=extra,proto3,oneof" json:"extra,omitempty"` Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,8,opt,name=weight,proto3,oneof" json:"weight,omitempty"` Status *bool `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AddDictValueRequest) Descriptor
deprecated
func (*AddDictValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDictValueRequest.ProtoReflect.Descriptor instead.
func (*AddDictValueRequest) GetDescription ¶
func (x *AddDictValueRequest) GetDescription() string
func (*AddDictValueRequest) GetDictId ¶
func (x *AddDictValueRequest) GetDictId() uint32
func (*AddDictValueRequest) GetExtra ¶
func (x *AddDictValueRequest) GetExtra() string
func (*AddDictValueRequest) GetLabel ¶
func (x *AddDictValueRequest) GetLabel() string
func (*AddDictValueRequest) GetStatus ¶
func (x *AddDictValueRequest) GetStatus() bool
func (*AddDictValueRequest) GetType ¶
func (x *AddDictValueRequest) GetType() string
func (*AddDictValueRequest) GetValue ¶
func (x *AddDictValueRequest) GetValue() string
func (*AddDictValueRequest) GetWeight ¶
func (x *AddDictValueRequest) GetWeight() uint32
func (*AddDictValueRequest) ProtoMessage ¶
func (*AddDictValueRequest) ProtoMessage()
func (*AddDictValueRequest) ProtoReflect ¶
func (x *AddDictValueRequest) ProtoReflect() protoreflect.Message
func (*AddDictValueRequest) Reset ¶
func (x *AddDictValueRequest) Reset()
func (*AddDictValueRequest) String ¶
func (x *AddDictValueRequest) String() string
func (*AddDictValueRequest) Validate ¶
func (m *AddDictValueRequest) Validate() error
Validate checks the field values on AddDictValueRequest 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 (*AddDictValueRequest) ValidateAll ¶
func (m *AddDictValueRequest) ValidateAll() error
ValidateAll checks the field values on AddDictValueRequest 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 AddDictValueRequestMultiError, or nil if none found.
type AddDictValueRequestMultiError ¶
type AddDictValueRequestMultiError []error
AddDictValueRequestMultiError is an error wrapping multiple validation errors returned by AddDictValueRequest.ValidateAll() if the designated constraints aren't met.
func (AddDictValueRequestMultiError) AllErrors ¶
func (m AddDictValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddDictValueRequestMultiError) Error ¶
func (m AddDictValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddDictValueRequestValidationError ¶
type AddDictValueRequestValidationError struct {
// contains filtered or unexported fields
}
AddDictValueRequestValidationError is the validation error returned by AddDictValueRequest.Validate if the designated constraints aren't met.
func (AddDictValueRequestValidationError) Cause ¶
func (e AddDictValueRequestValidationError) Cause() error
Cause function returns cause value.
func (AddDictValueRequestValidationError) Error ¶
func (e AddDictValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddDictValueRequestValidationError) ErrorName ¶
func (e AddDictValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddDictValueRequestValidationError) Field ¶
func (e AddDictValueRequestValidationError) Field() string
Field function returns field value.
func (AddDictValueRequestValidationError) Key ¶
func (e AddDictValueRequestValidationError) Key() bool
Key function returns key value.
func (AddDictValueRequestValidationError) Reason ¶
func (e AddDictValueRequestValidationError) Reason() string
Reason function returns reason value.
type AddJobRequest ¶
type AddJobRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,4,opt,name=weight,proto3,oneof" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*AddJobRequest) Descriptor
deprecated
func (*AddJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddJobRequest.ProtoReflect.Descriptor instead.
func (*AddJobRequest) GetDescription ¶
func (x *AddJobRequest) GetDescription() string
func (*AddJobRequest) GetKeyword ¶
func (x *AddJobRequest) GetKeyword() string
func (*AddJobRequest) GetName ¶
func (x *AddJobRequest) GetName() string
func (*AddJobRequest) GetWeight ¶
func (x *AddJobRequest) GetWeight() uint32
func (*AddJobRequest) ProtoMessage ¶
func (*AddJobRequest) ProtoMessage()
func (*AddJobRequest) ProtoReflect ¶
func (x *AddJobRequest) ProtoReflect() protoreflect.Message
func (*AddJobRequest) Reset ¶
func (x *AddJobRequest) Reset()
func (*AddJobRequest) String ¶
func (x *AddJobRequest) String() string
func (*AddJobRequest) Validate ¶
func (m *AddJobRequest) Validate() error
Validate checks the field values on AddJobRequest 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 (*AddJobRequest) ValidateAll ¶
func (m *AddJobRequest) ValidateAll() error
ValidateAll checks the field values on AddJobRequest 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 AddJobRequestMultiError, or nil if none found.
type AddJobRequestMultiError ¶
type AddJobRequestMultiError []error
AddJobRequestMultiError is an error wrapping multiple validation errors returned by AddJobRequest.ValidateAll() if the designated constraints aren't met.
func (AddJobRequestMultiError) AllErrors ¶
func (m AddJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddJobRequestMultiError) Error ¶
func (m AddJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddJobRequestValidationError ¶
type AddJobRequestValidationError struct {
// contains filtered or unexported fields
}
AddJobRequestValidationError is the validation error returned by AddJobRequest.Validate if the designated constraints aren't met.
func (AddJobRequestValidationError) Cause ¶
func (e AddJobRequestValidationError) Cause() error
Cause function returns cause value.
func (AddJobRequestValidationError) Error ¶
func (e AddJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddJobRequestValidationError) ErrorName ¶
func (e AddJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddJobRequestValidationError) Field ¶
func (e AddJobRequestValidationError) Field() string
Field function returns field value.
func (AddJobRequestValidationError) Key ¶
func (e AddJobRequestValidationError) Key() bool
Key function returns key value.
func (AddJobRequestValidationError) Reason ¶
func (e AddJobRequestValidationError) Reason() string
Reason function returns reason value.
type AddMenuRequest ¶
type AddMenuRequest struct { ParentId uint32 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Icon *string `protobuf:"bytes,5,opt,name=icon,proto3,oneof" json:"icon,omitempty"` Path *string `protobuf:"bytes,6,opt,name=path,proto3,oneof" json:"path,omitempty"` Keyword *string `protobuf:"bytes,7,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` Permission *string `protobuf:"bytes,8,opt,name=permission,proto3,oneof" json:"permission,omitempty"` Component *string `protobuf:"bytes,9,opt,name=component,proto3,oneof" json:"component,omitempty"` Api *string `protobuf:"bytes,10,opt,name=api,proto3,oneof" json:"api,omitempty"` Method *string `protobuf:"bytes,11,opt,name=method,proto3,oneof" json:"method,omitempty"` Redirect *string `protobuf:"bytes,12,opt,name=redirect,proto3,oneof" json:"redirect,omitempty"` Weight *int32 `protobuf:"varint,13,opt,name=weight,proto3,oneof" json:"weight,omitempty"` IsHidden *bool `protobuf:"varint,14,opt,name=is_hidden,json=isHidden,proto3,oneof" json:"is_hidden,omitempty"` IsCache *bool `protobuf:"varint,15,opt,name=is_cache,json=isCache,proto3,oneof" json:"is_cache,omitempty"` IsHome *bool `protobuf:"varint,16,opt,name=is_home,json=isHome,proto3,oneof" json:"is_home,omitempty"` IsAffix *bool `protobuf:"varint,17,opt,name=is_affix,json=isAffix,proto3,oneof" json:"is_affix,omitempty"` // contains filtered or unexported fields }
func (*AddMenuRequest) Descriptor
deprecated
func (*AddMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddMenuRequest.ProtoReflect.Descriptor instead.
func (*AddMenuRequest) GetApi ¶
func (x *AddMenuRequest) GetApi() string
func (*AddMenuRequest) GetApp ¶
func (x *AddMenuRequest) GetApp() string
func (*AddMenuRequest) GetComponent ¶
func (x *AddMenuRequest) GetComponent() string
func (*AddMenuRequest) GetIcon ¶
func (x *AddMenuRequest) GetIcon() string
func (*AddMenuRequest) GetIsAffix ¶
func (x *AddMenuRequest) GetIsAffix() bool
func (*AddMenuRequest) GetIsCache ¶
func (x *AddMenuRequest) GetIsCache() bool
func (*AddMenuRequest) GetIsHidden ¶
func (x *AddMenuRequest) GetIsHidden() bool
func (*AddMenuRequest) GetIsHome ¶
func (x *AddMenuRequest) GetIsHome() bool
func (*AddMenuRequest) GetKeyword ¶
func (x *AddMenuRequest) GetKeyword() string
func (*AddMenuRequest) GetMethod ¶
func (x *AddMenuRequest) GetMethod() string
func (*AddMenuRequest) GetParentId ¶
func (x *AddMenuRequest) GetParentId() uint32
func (*AddMenuRequest) GetPath ¶
func (x *AddMenuRequest) GetPath() string
func (*AddMenuRequest) GetPermission ¶
func (x *AddMenuRequest) GetPermission() string
func (*AddMenuRequest) GetRedirect ¶
func (x *AddMenuRequest) GetRedirect() string
func (*AddMenuRequest) GetTitle ¶
func (x *AddMenuRequest) GetTitle() string
func (*AddMenuRequest) GetType ¶
func (x *AddMenuRequest) GetType() string
func (*AddMenuRequest) GetWeight ¶
func (x *AddMenuRequest) GetWeight() int32
func (*AddMenuRequest) ProtoMessage ¶
func (*AddMenuRequest) ProtoMessage()
func (*AddMenuRequest) ProtoReflect ¶
func (x *AddMenuRequest) ProtoReflect() protoreflect.Message
func (*AddMenuRequest) Reset ¶
func (x *AddMenuRequest) Reset()
func (*AddMenuRequest) String ¶
func (x *AddMenuRequest) String() string
func (*AddMenuRequest) Validate ¶
func (m *AddMenuRequest) Validate() error
Validate checks the field values on AddMenuRequest 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 (*AddMenuRequest) ValidateAll ¶
func (m *AddMenuRequest) ValidateAll() error
ValidateAll checks the field values on AddMenuRequest 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 AddMenuRequestMultiError, or nil if none found.
type AddMenuRequestMultiError ¶
type AddMenuRequestMultiError []error
AddMenuRequestMultiError is an error wrapping multiple validation errors returned by AddMenuRequest.ValidateAll() if the designated constraints aren't met.
func (AddMenuRequestMultiError) AllErrors ¶
func (m AddMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddMenuRequestMultiError) Error ¶
func (m AddMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddMenuRequestValidationError ¶
type AddMenuRequestValidationError struct {
// contains filtered or unexported fields
}
AddMenuRequestValidationError is the validation error returned by AddMenuRequest.Validate if the designated constraints aren't met.
func (AddMenuRequestValidationError) Cause ¶
func (e AddMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (AddMenuRequestValidationError) Error ¶
func (e AddMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddMenuRequestValidationError) ErrorName ¶
func (e AddMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddMenuRequestValidationError) Field ¶
func (e AddMenuRequestValidationError) Field() string
Field function returns field value.
func (AddMenuRequestValidationError) Key ¶
func (e AddMenuRequestValidationError) Key() bool
Key function returns key value.
func (AddMenuRequestValidationError) Reason ¶
func (e AddMenuRequestValidationError) Reason() string
Reason function returns reason value.
type AddRoleRequest ¶
type AddRoleRequest struct { ParentId uint32 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` DepartmentIds string `protobuf:"bytes,6,opt,name=department_ids,json=departmentIds,proto3" json:"department_ids,omitempty"` DataScope string `protobuf:"bytes,7,opt,name=data_scope,json=dataScope,proto3" json:"data_scope,omitempty"` // contains filtered or unexported fields }
func (*AddRoleRequest) Descriptor
deprecated
func (*AddRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.
func (*AddRoleRequest) GetDataScope ¶
func (x *AddRoleRequest) GetDataScope() string
func (*AddRoleRequest) GetDepartmentIds ¶
func (x *AddRoleRequest) GetDepartmentIds() string
func (*AddRoleRequest) GetDescription ¶
func (x *AddRoleRequest) GetDescription() string
func (*AddRoleRequest) GetKeyword ¶
func (x *AddRoleRequest) GetKeyword() string
func (*AddRoleRequest) GetName ¶
func (x *AddRoleRequest) GetName() string
func (*AddRoleRequest) GetParentId ¶
func (x *AddRoleRequest) GetParentId() uint32
func (*AddRoleRequest) GetStatus ¶
func (x *AddRoleRequest) GetStatus() bool
func (*AddRoleRequest) ProtoMessage ¶
func (*AddRoleRequest) ProtoMessage()
func (*AddRoleRequest) ProtoReflect ¶
func (x *AddRoleRequest) ProtoReflect() protoreflect.Message
func (*AddRoleRequest) Reset ¶
func (x *AddRoleRequest) Reset()
func (*AddRoleRequest) String ¶
func (x *AddRoleRequest) String() string
func (*AddRoleRequest) Validate ¶
func (m *AddRoleRequest) Validate() error
Validate checks the field values on AddRoleRequest 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 (*AddRoleRequest) ValidateAll ¶
func (m *AddRoleRequest) ValidateAll() error
ValidateAll checks the field values on AddRoleRequest 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 AddRoleRequestMultiError, or nil if none found.
type AddRoleRequestMultiError ¶
type AddRoleRequestMultiError []error
AddRoleRequestMultiError is an error wrapping multiple validation errors returned by AddRoleRequest.ValidateAll() if the designated constraints aren't met.
func (AddRoleRequestMultiError) AllErrors ¶
func (m AddRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddRoleRequestMultiError) Error ¶
func (m AddRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddRoleRequestValidationError ¶
type AddRoleRequestValidationError struct {
// contains filtered or unexported fields
}
AddRoleRequestValidationError is the validation error returned by AddRoleRequest.Validate if the designated constraints aren't met.
func (AddRoleRequestValidationError) Cause ¶
func (e AddRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (AddRoleRequestValidationError) Error ¶
func (e AddRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddRoleRequestValidationError) ErrorName ¶
func (e AddRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddRoleRequestValidationError) Field ¶
func (e AddRoleRequestValidationError) Field() string
Field function returns field value.
func (AddRoleRequestValidationError) Key ¶
func (e AddRoleRequestValidationError) Key() bool
Key function returns key value.
func (AddRoleRequestValidationError) Reason ¶
func (e AddRoleRequestValidationError) Reason() string
Reason function returns reason value.
type AddUserRequest ¶
type AddUserRequest struct { DepartmentId uint32 `protobuf:"varint,1,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` RoleIds []uint32 `protobuf:"varint,2,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` JobIds []uint32 `protobuf:"varint,8,rep,packed,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` Status bool `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AddUserRequest) Descriptor
deprecated
func (*AddUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddUserRequest.ProtoReflect.Descriptor instead.
func (*AddUserRequest) GetDepartmentId ¶
func (x *AddUserRequest) GetDepartmentId() uint32
func (*AddUserRequest) GetEmail ¶
func (x *AddUserRequest) GetEmail() string
func (*AddUserRequest) GetGender ¶
func (x *AddUserRequest) GetGender() string
func (*AddUserRequest) GetJobIds ¶
func (x *AddUserRequest) GetJobIds() []uint32
func (*AddUserRequest) GetName ¶
func (x *AddUserRequest) GetName() string
func (*AddUserRequest) GetPhone ¶
func (x *AddUserRequest) GetPhone() string
func (*AddUserRequest) GetRoleIds ¶
func (x *AddUserRequest) GetRoleIds() []uint32
func (*AddUserRequest) GetStatus ¶
func (x *AddUserRequest) GetStatus() bool
func (*AddUserRequest) ProtoMessage ¶
func (*AddUserRequest) ProtoMessage()
func (*AddUserRequest) ProtoReflect ¶
func (x *AddUserRequest) ProtoReflect() protoreflect.Message
func (*AddUserRequest) Reset ¶
func (x *AddUserRequest) Reset()
func (*AddUserRequest) String ¶
func (x *AddUserRequest) String() string
func (*AddUserRequest) Validate ¶
func (m *AddUserRequest) Validate() error
Validate checks the field values on AddUserRequest 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 (*AddUserRequest) ValidateAll ¶
func (m *AddUserRequest) ValidateAll() error
ValidateAll checks the field values on AddUserRequest 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 AddUserRequestMultiError, or nil if none found.
type AddUserRequestMultiError ¶
type AddUserRequestMultiError []error
AddUserRequestMultiError is an error wrapping multiple validation errors returned by AddUserRequest.ValidateAll() if the designated constraints aren't met.
func (AddUserRequestMultiError) AllErrors ¶
func (m AddUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddUserRequestMultiError) Error ¶
func (m AddUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddUserRequestValidationError ¶
type AddUserRequestValidationError struct {
// contains filtered or unexported fields
}
AddUserRequestValidationError is the validation error returned by AddUserRequest.Validate if the designated constraints aren't met.
func (AddUserRequestValidationError) Cause ¶
func (e AddUserRequestValidationError) Cause() error
Cause function returns cause value.
func (AddUserRequestValidationError) Error ¶
func (e AddUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddUserRequestValidationError) ErrorName ¶
func (e AddUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddUserRequestValidationError) Field ¶
func (e AddUserRequestValidationError) Field() string
Field function returns field value.
func (AddUserRequestValidationError) Key ¶
func (e AddUserRequestValidationError) Key() bool
Key function returns key value.
func (AddUserRequestValidationError) Reason ¶
func (e AddUserRequestValidationError) Reason() string
Reason function returns reason value.
type AuthRequest ¶
type AuthRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetMethod ¶
func (x *AuthRequest) GetMethod() string
func (*AuthRequest) GetPath ¶
func (x *AuthRequest) GetPath() string
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
func (*AuthRequest) Validate ¶
func (m *AuthRequest) Validate() error
Validate checks the field values on AuthRequest 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 (*AuthRequest) ValidateAll ¶
func (m *AuthRequest) ValidateAll() error
ValidateAll checks the field values on AuthRequest 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 AuthRequestMultiError, or nil if none found.
type AuthRequestMultiError ¶
type AuthRequestMultiError []error
AuthRequestMultiError is an error wrapping multiple validation errors returned by AuthRequest.ValidateAll() if the designated constraints aren't met.
func (AuthRequestMultiError) AllErrors ¶
func (m AuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthRequestMultiError) Error ¶
func (m AuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthRequestValidationError ¶
type AuthRequestValidationError struct {
// contains filtered or unexported fields
}
AuthRequestValidationError is the validation error returned by AuthRequest.Validate if the designated constraints aren't met.
func (AuthRequestValidationError) Cause ¶
func (e AuthRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthRequestValidationError) Error ¶
func (e AuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthRequestValidationError) ErrorName ¶
func (e AuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthRequestValidationError) Field ¶
func (e AuthRequestValidationError) Field() string
Field function returns field value.
func (AuthRequestValidationError) Key ¶
func (e AuthRequestValidationError) Key() bool
Key function returns key value.
func (AuthRequestValidationError) Reason ¶
func (e AuthRequestValidationError) Reason() string
Reason function returns reason value.
type ChangeUserPasswordCaptchaReply ¶
type ChangeUserPasswordCaptchaReply struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Captcha string `protobuf:"bytes,2,opt,name=captcha,proto3" json:"captcha,omitempty"` Expire uint32 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*ChangeUserPasswordCaptchaReply) Descriptor
deprecated
func (*ChangeUserPasswordCaptchaReply) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUserPasswordCaptchaReply.ProtoReflect.Descriptor instead.
func (*ChangeUserPasswordCaptchaReply) GetCaptcha ¶
func (x *ChangeUserPasswordCaptchaReply) GetCaptcha() string
func (*ChangeUserPasswordCaptchaReply) GetExpire ¶
func (x *ChangeUserPasswordCaptchaReply) GetExpire() uint32
func (*ChangeUserPasswordCaptchaReply) GetUuid ¶
func (x *ChangeUserPasswordCaptchaReply) GetUuid() string
func (*ChangeUserPasswordCaptchaReply) ProtoMessage ¶
func (*ChangeUserPasswordCaptchaReply) ProtoMessage()
func (*ChangeUserPasswordCaptchaReply) ProtoReflect ¶
func (x *ChangeUserPasswordCaptchaReply) ProtoReflect() protoreflect.Message
func (*ChangeUserPasswordCaptchaReply) Reset ¶
func (x *ChangeUserPasswordCaptchaReply) Reset()
func (*ChangeUserPasswordCaptchaReply) String ¶
func (x *ChangeUserPasswordCaptchaReply) String() string
func (*ChangeUserPasswordCaptchaReply) Validate ¶
func (m *ChangeUserPasswordCaptchaReply) Validate() error
Validate checks the field values on ChangeUserPasswordCaptchaReply 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 (*ChangeUserPasswordCaptchaReply) ValidateAll ¶
func (m *ChangeUserPasswordCaptchaReply) ValidateAll() error
ValidateAll checks the field values on ChangeUserPasswordCaptchaReply 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 ChangeUserPasswordCaptchaReplyMultiError, or nil if none found.
type ChangeUserPasswordCaptchaReplyMultiError ¶
type ChangeUserPasswordCaptchaReplyMultiError []error
ChangeUserPasswordCaptchaReplyMultiError is an error wrapping multiple validation errors returned by ChangeUserPasswordCaptchaReply.ValidateAll() if the designated constraints aren't met.
func (ChangeUserPasswordCaptchaReplyMultiError) AllErrors ¶
func (m ChangeUserPasswordCaptchaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeUserPasswordCaptchaReplyMultiError) Error ¶
func (m ChangeUserPasswordCaptchaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeUserPasswordCaptchaReplyValidationError ¶
type ChangeUserPasswordCaptchaReplyValidationError struct {
// contains filtered or unexported fields
}
ChangeUserPasswordCaptchaReplyValidationError is the validation error returned by ChangeUserPasswordCaptchaReply.Validate if the designated constraints aren't met.
func (ChangeUserPasswordCaptchaReplyValidationError) Cause ¶
func (e ChangeUserPasswordCaptchaReplyValidationError) Cause() error
Cause function returns cause value.
func (ChangeUserPasswordCaptchaReplyValidationError) Error ¶
func (e ChangeUserPasswordCaptchaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeUserPasswordCaptchaReplyValidationError) ErrorName ¶
func (e ChangeUserPasswordCaptchaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeUserPasswordCaptchaReplyValidationError) Field ¶
func (e ChangeUserPasswordCaptchaReplyValidationError) Field() string
Field function returns field value.
func (ChangeUserPasswordCaptchaReplyValidationError) Key ¶
func (e ChangeUserPasswordCaptchaReplyValidationError) Key() bool
Key function returns key value.
func (ChangeUserPasswordCaptchaReplyValidationError) Reason ¶
func (e ChangeUserPasswordCaptchaReplyValidationError) Reason() string
Reason function returns reason value.
type ChangeUserPasswordRequest ¶
type ChangeUserPasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` CaptchaId string `protobuf:"bytes,2,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` Captcha string `protobuf:"bytes,3,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*ChangeUserPasswordRequest) Descriptor
deprecated
func (*ChangeUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangeUserPasswordRequest) GetCaptcha ¶
func (x *ChangeUserPasswordRequest) GetCaptcha() string
func (*ChangeUserPasswordRequest) GetCaptchaId ¶
func (x *ChangeUserPasswordRequest) GetCaptchaId() string
func (*ChangeUserPasswordRequest) GetPassword ¶
func (x *ChangeUserPasswordRequest) GetPassword() string
func (*ChangeUserPasswordRequest) ProtoMessage ¶
func (*ChangeUserPasswordRequest) ProtoMessage()
func (*ChangeUserPasswordRequest) ProtoReflect ¶
func (x *ChangeUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangeUserPasswordRequest) Reset ¶
func (x *ChangeUserPasswordRequest) Reset()
func (*ChangeUserPasswordRequest) String ¶
func (x *ChangeUserPasswordRequest) String() string
func (*ChangeUserPasswordRequest) Validate ¶
func (m *ChangeUserPasswordRequest) Validate() error
Validate checks the field values on ChangeUserPasswordRequest 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 (*ChangeUserPasswordRequest) ValidateAll ¶
func (m *ChangeUserPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ChangeUserPasswordRequest 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 ChangeUserPasswordRequestMultiError, or nil if none found.
type ChangeUserPasswordRequestMultiError ¶
type ChangeUserPasswordRequestMultiError []error
ChangeUserPasswordRequestMultiError is an error wrapping multiple validation errors returned by ChangeUserPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ChangeUserPasswordRequestMultiError) AllErrors ¶
func (m ChangeUserPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeUserPasswordRequestMultiError) Error ¶
func (m ChangeUserPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeUserPasswordRequestValidationError ¶
type ChangeUserPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ChangeUserPasswordRequestValidationError is the validation error returned by ChangeUserPasswordRequest.Validate if the designated constraints aren't met.
func (ChangeUserPasswordRequestValidationError) Cause ¶
func (e ChangeUserPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangeUserPasswordRequestValidationError) Error ¶
func (e ChangeUserPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeUserPasswordRequestValidationError) ErrorName ¶
func (e ChangeUserPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeUserPasswordRequestValidationError) Field ¶
func (e ChangeUserPasswordRequestValidationError) Field() string
Field function returns field value.
func (ChangeUserPasswordRequestValidationError) Key ¶
func (e ChangeUserPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ChangeUserPasswordRequestValidationError) Reason ¶
func (e ChangeUserPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type CurrentRoleMenuTreeReply ¶
type CurrentRoleMenuTreeReply struct { List []*Menu `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*CurrentRoleMenuTreeReply) Descriptor
deprecated
func (*CurrentRoleMenuTreeReply) Descriptor() ([]byte, []int)
Deprecated: Use CurrentRoleMenuTreeReply.ProtoReflect.Descriptor instead.
func (*CurrentRoleMenuTreeReply) GetList ¶
func (x *CurrentRoleMenuTreeReply) GetList() []*Menu
func (*CurrentRoleMenuTreeReply) ProtoMessage ¶
func (*CurrentRoleMenuTreeReply) ProtoMessage()
func (*CurrentRoleMenuTreeReply) ProtoReflect ¶
func (x *CurrentRoleMenuTreeReply) ProtoReflect() protoreflect.Message
func (*CurrentRoleMenuTreeReply) Reset ¶
func (x *CurrentRoleMenuTreeReply) Reset()
func (*CurrentRoleMenuTreeReply) String ¶
func (x *CurrentRoleMenuTreeReply) String() string
func (*CurrentRoleMenuTreeReply) Validate ¶
func (m *CurrentRoleMenuTreeReply) Validate() error
Validate checks the field values on CurrentRoleMenuTreeReply 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 (*CurrentRoleMenuTreeReply) ValidateAll ¶
func (m *CurrentRoleMenuTreeReply) ValidateAll() error
ValidateAll checks the field values on CurrentRoleMenuTreeReply 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 CurrentRoleMenuTreeReplyMultiError, or nil if none found.
type CurrentRoleMenuTreeReplyMultiError ¶
type CurrentRoleMenuTreeReplyMultiError []error
CurrentRoleMenuTreeReplyMultiError is an error wrapping multiple validation errors returned by CurrentRoleMenuTreeReply.ValidateAll() if the designated constraints aren't met.
func (CurrentRoleMenuTreeReplyMultiError) AllErrors ¶
func (m CurrentRoleMenuTreeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CurrentRoleMenuTreeReplyMultiError) Error ¶
func (m CurrentRoleMenuTreeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CurrentRoleMenuTreeReplyValidationError ¶
type CurrentRoleMenuTreeReplyValidationError struct {
// contains filtered or unexported fields
}
CurrentRoleMenuTreeReplyValidationError is the validation error returned by CurrentRoleMenuTreeReply.Validate if the designated constraints aren't met.
func (CurrentRoleMenuTreeReplyValidationError) Cause ¶
func (e CurrentRoleMenuTreeReplyValidationError) Cause() error
Cause function returns cause value.
func (CurrentRoleMenuTreeReplyValidationError) Error ¶
func (e CurrentRoleMenuTreeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CurrentRoleMenuTreeReplyValidationError) ErrorName ¶
func (e CurrentRoleMenuTreeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CurrentRoleMenuTreeReplyValidationError) Field ¶
func (e CurrentRoleMenuTreeReplyValidationError) Field() string
Field function returns field value.
func (CurrentRoleMenuTreeReplyValidationError) Key ¶
func (e CurrentRoleMenuTreeReplyValidationError) Key() bool
Key function returns key value.
func (CurrentRoleMenuTreeReplyValidationError) Reason ¶
func (e CurrentRoleMenuTreeReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteDepartmentRequest ¶
type DeleteDepartmentRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDepartmentRequest) Descriptor
deprecated
func (*DeleteDepartmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDepartmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDepartmentRequest) GetId ¶
func (x *DeleteDepartmentRequest) GetId() uint32
func (*DeleteDepartmentRequest) ProtoMessage ¶
func (*DeleteDepartmentRequest) ProtoMessage()
func (*DeleteDepartmentRequest) ProtoReflect ¶
func (x *DeleteDepartmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteDepartmentRequest) Reset ¶
func (x *DeleteDepartmentRequest) Reset()
func (*DeleteDepartmentRequest) String ¶
func (x *DeleteDepartmentRequest) String() string
func (*DeleteDepartmentRequest) Validate ¶
func (m *DeleteDepartmentRequest) Validate() error
Validate checks the field values on DeleteDepartmentRequest 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 (*DeleteDepartmentRequest) ValidateAll ¶
func (m *DeleteDepartmentRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDepartmentRequest 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 DeleteDepartmentRequestMultiError, or nil if none found.
type DeleteDepartmentRequestMultiError ¶
type DeleteDepartmentRequestMultiError []error
DeleteDepartmentRequestMultiError is an error wrapping multiple validation errors returned by DeleteDepartmentRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDepartmentRequestMultiError) AllErrors ¶
func (m DeleteDepartmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDepartmentRequestMultiError) Error ¶
func (m DeleteDepartmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDepartmentRequestValidationError ¶
type DeleteDepartmentRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDepartmentRequestValidationError is the validation error returned by DeleteDepartmentRequest.Validate if the designated constraints aren't met.
func (DeleteDepartmentRequestValidationError) Cause ¶
func (e DeleteDepartmentRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDepartmentRequestValidationError) Error ¶
func (e DeleteDepartmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDepartmentRequestValidationError) ErrorName ¶
func (e DeleteDepartmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDepartmentRequestValidationError) Field ¶
func (e DeleteDepartmentRequestValidationError) Field() string
Field function returns field value.
func (DeleteDepartmentRequestValidationError) Key ¶
func (e DeleteDepartmentRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDepartmentRequestValidationError) Reason ¶
func (e DeleteDepartmentRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDictRequest ¶
type DeleteDictRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDictRequest) Descriptor
deprecated
func (*DeleteDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDictRequest.ProtoReflect.Descriptor instead.
func (*DeleteDictRequest) GetId ¶
func (x *DeleteDictRequest) GetId() uint32
func (*DeleteDictRequest) ProtoMessage ¶
func (*DeleteDictRequest) ProtoMessage()
func (*DeleteDictRequest) ProtoReflect ¶
func (x *DeleteDictRequest) ProtoReflect() protoreflect.Message
func (*DeleteDictRequest) Reset ¶
func (x *DeleteDictRequest) Reset()
func (*DeleteDictRequest) String ¶
func (x *DeleteDictRequest) String() string
func (*DeleteDictRequest) Validate ¶
func (m *DeleteDictRequest) Validate() error
Validate checks the field values on DeleteDictRequest 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 (*DeleteDictRequest) ValidateAll ¶
func (m *DeleteDictRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDictRequest 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 DeleteDictRequestMultiError, or nil if none found.
type DeleteDictRequestMultiError ¶
type DeleteDictRequestMultiError []error
DeleteDictRequestMultiError is an error wrapping multiple validation errors returned by DeleteDictRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDictRequestMultiError) AllErrors ¶
func (m DeleteDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDictRequestMultiError) Error ¶
func (m DeleteDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDictRequestValidationError ¶
type DeleteDictRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDictRequestValidationError is the validation error returned by DeleteDictRequest.Validate if the designated constraints aren't met.
func (DeleteDictRequestValidationError) Cause ¶
func (e DeleteDictRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDictRequestValidationError) Error ¶
func (e DeleteDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDictRequestValidationError) ErrorName ¶
func (e DeleteDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDictRequestValidationError) Field ¶
func (e DeleteDictRequestValidationError) Field() string
Field function returns field value.
func (DeleteDictRequestValidationError) Key ¶
func (e DeleteDictRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDictRequestValidationError) Reason ¶
func (e DeleteDictRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteDictValueRequest ¶
type DeleteDictValueRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDictValueRequest) Descriptor
deprecated
func (*DeleteDictValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDictValueRequest.ProtoReflect.Descriptor instead.
func (*DeleteDictValueRequest) GetId ¶
func (x *DeleteDictValueRequest) GetId() uint32
func (*DeleteDictValueRequest) ProtoMessage ¶
func (*DeleteDictValueRequest) ProtoMessage()
func (*DeleteDictValueRequest) ProtoReflect ¶
func (x *DeleteDictValueRequest) ProtoReflect() protoreflect.Message
func (*DeleteDictValueRequest) Reset ¶
func (x *DeleteDictValueRequest) Reset()
func (*DeleteDictValueRequest) String ¶
func (x *DeleteDictValueRequest) String() string
func (*DeleteDictValueRequest) Validate ¶
func (m *DeleteDictValueRequest) Validate() error
Validate checks the field values on DeleteDictValueRequest 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 (*DeleteDictValueRequest) ValidateAll ¶
func (m *DeleteDictValueRequest) ValidateAll() error
ValidateAll checks the field values on DeleteDictValueRequest 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 DeleteDictValueRequestMultiError, or nil if none found.
type DeleteDictValueRequestMultiError ¶
type DeleteDictValueRequestMultiError []error
DeleteDictValueRequestMultiError is an error wrapping multiple validation errors returned by DeleteDictValueRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteDictValueRequestMultiError) AllErrors ¶
func (m DeleteDictValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteDictValueRequestMultiError) Error ¶
func (m DeleteDictValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteDictValueRequestValidationError ¶
type DeleteDictValueRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteDictValueRequestValidationError is the validation error returned by DeleteDictValueRequest.Validate if the designated constraints aren't met.
func (DeleteDictValueRequestValidationError) Cause ¶
func (e DeleteDictValueRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteDictValueRequestValidationError) Error ¶
func (e DeleteDictValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteDictValueRequestValidationError) ErrorName ¶
func (e DeleteDictValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteDictValueRequestValidationError) Field ¶
func (e DeleteDictValueRequestValidationError) Field() string
Field function returns field value.
func (DeleteDictValueRequestValidationError) Key ¶
func (e DeleteDictValueRequestValidationError) Key() bool
Key function returns key value.
func (DeleteDictValueRequestValidationError) Reason ¶
func (e DeleteDictValueRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteJobRequest ¶
type DeleteJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteJobRequest) Descriptor
deprecated
func (*DeleteJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobRequest) GetId ¶
func (x *DeleteJobRequest) GetId() uint32
func (*DeleteJobRequest) ProtoMessage ¶
func (*DeleteJobRequest) ProtoMessage()
func (*DeleteJobRequest) ProtoReflect ¶
func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobRequest) Reset ¶
func (x *DeleteJobRequest) Reset()
func (*DeleteJobRequest) String ¶
func (x *DeleteJobRequest) String() string
func (*DeleteJobRequest) Validate ¶
func (m *DeleteJobRequest) Validate() error
Validate checks the field values on DeleteJobRequest 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 (*DeleteJobRequest) ValidateAll ¶
func (m *DeleteJobRequest) ValidateAll() error
ValidateAll checks the field values on DeleteJobRequest 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 DeleteJobRequestMultiError, or nil if none found.
type DeleteJobRequestMultiError ¶
type DeleteJobRequestMultiError []error
DeleteJobRequestMultiError is an error wrapping multiple validation errors returned by DeleteJobRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteJobRequestMultiError) AllErrors ¶
func (m DeleteJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteJobRequestMultiError) Error ¶
func (m DeleteJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteJobRequestValidationError ¶
type DeleteJobRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteJobRequestValidationError is the validation error returned by DeleteJobRequest.Validate if the designated constraints aren't met.
func (DeleteJobRequestValidationError) Cause ¶
func (e DeleteJobRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteJobRequestValidationError) Error ¶
func (e DeleteJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteJobRequestValidationError) ErrorName ¶
func (e DeleteJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteJobRequestValidationError) Field ¶
func (e DeleteJobRequestValidationError) Field() string
Field function returns field value.
func (DeleteJobRequestValidationError) Key ¶
func (e DeleteJobRequestValidationError) Key() bool
Key function returns key value.
func (DeleteJobRequestValidationError) Reason ¶
func (e DeleteJobRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteMenuRequest ¶
type DeleteMenuRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMenuRequest) Descriptor
deprecated
func (*DeleteMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMenuRequest.ProtoReflect.Descriptor instead.
func (*DeleteMenuRequest) GetId ¶
func (x *DeleteMenuRequest) GetId() uint32
func (*DeleteMenuRequest) ProtoMessage ¶
func (*DeleteMenuRequest) ProtoMessage()
func (*DeleteMenuRequest) ProtoReflect ¶
func (x *DeleteMenuRequest) ProtoReflect() protoreflect.Message
func (*DeleteMenuRequest) Reset ¶
func (x *DeleteMenuRequest) Reset()
func (*DeleteMenuRequest) String ¶
func (x *DeleteMenuRequest) String() string
func (*DeleteMenuRequest) Validate ¶
func (m *DeleteMenuRequest) Validate() error
Validate checks the field values on DeleteMenuRequest 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 (*DeleteMenuRequest) ValidateAll ¶
func (m *DeleteMenuRequest) ValidateAll() error
ValidateAll checks the field values on DeleteMenuRequest 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 DeleteMenuRequestMultiError, or nil if none found.
type DeleteMenuRequestMultiError ¶
type DeleteMenuRequestMultiError []error
DeleteMenuRequestMultiError is an error wrapping multiple validation errors returned by DeleteMenuRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteMenuRequestMultiError) AllErrors ¶
func (m DeleteMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteMenuRequestMultiError) Error ¶
func (m DeleteMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteMenuRequestValidationError ¶
type DeleteMenuRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteMenuRequestValidationError is the validation error returned by DeleteMenuRequest.Validate if the designated constraints aren't met.
func (DeleteMenuRequestValidationError) Cause ¶
func (e DeleteMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteMenuRequestValidationError) Error ¶
func (e DeleteMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMenuRequestValidationError) ErrorName ¶
func (e DeleteMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMenuRequestValidationError) Field ¶
func (e DeleteMenuRequestValidationError) Field() string
Field function returns field value.
func (DeleteMenuRequestValidationError) Key ¶
func (e DeleteMenuRequestValidationError) Key() bool
Key function returns key value.
func (DeleteMenuRequestValidationError) Reason ¶
func (e DeleteMenuRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetId ¶
func (x *DeleteRoleRequest) GetId() uint32
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
func (*DeleteRoleRequest) Validate ¶
func (m *DeleteRoleRequest) Validate() error
Validate checks the field values on DeleteRoleRequest 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 (*DeleteRoleRequest) ValidateAll ¶
func (m *DeleteRoleRequest) ValidateAll() error
ValidateAll checks the field values on DeleteRoleRequest 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 DeleteRoleRequestMultiError, or nil if none found.
type DeleteRoleRequestMultiError ¶
type DeleteRoleRequestMultiError []error
DeleteRoleRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleRequestMultiError) AllErrors ¶
func (m DeleteRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleRequestMultiError) Error ¶
func (m DeleteRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleRequestValidationError ¶
type DeleteRoleRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleRequestValidationError is the validation error returned by DeleteRoleRequest.Validate if the designated constraints aren't met.
func (DeleteRoleRequestValidationError) Cause ¶
func (e DeleteRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleRequestValidationError) Error ¶
func (e DeleteRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleRequestValidationError) ErrorName ¶
func (e DeleteRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleRequestValidationError) Field ¶
func (e DeleteRoleRequestValidationError) Field() string
Field function returns field value.
func (DeleteRoleRequestValidationError) Key ¶
func (e DeleteRoleRequestValidationError) Key() bool
Key function returns key value.
func (DeleteRoleRequestValidationError) Reason ¶
func (e DeleteRoleRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetId ¶
func (x *DeleteUserRequest) GetId() uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
func (*DeleteUserRequest) Validate ¶
func (m *DeleteUserRequest) Validate() error
Validate checks the field values on DeleteUserRequest 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 (*DeleteUserRequest) ValidateAll ¶
func (m *DeleteUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserRequest 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 DeleteUserRequestMultiError, or nil if none found.
type DeleteUserRequestMultiError ¶
type DeleteUserRequestMultiError []error
DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserRequestMultiError) AllErrors ¶
func (m DeleteUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserRequestMultiError) Error ¶
func (m DeleteUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserRequestValidationError ¶
type DeleteUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.
func (DeleteUserRequestValidationError) Cause ¶
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶
func (e DeleteUserRequestValidationError) Reason() string
Reason function returns reason value.
type Department ¶
type Department struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` CreatedAt uint32 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Children []*Department `protobuf:"bytes,8,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*Department) Descriptor
deprecated
func (*Department) Descriptor() ([]byte, []int)
Deprecated: Use Department.ProtoReflect.Descriptor instead.
func (*Department) GetChildren ¶
func (x *Department) GetChildren() []*Department
func (*Department) GetCreatedAt ¶
func (x *Department) GetCreatedAt() uint32
func (*Department) GetDescription ¶
func (x *Department) GetDescription() string
func (*Department) GetId ¶
func (x *Department) GetId() uint32
func (*Department) GetKeyword ¶
func (x *Department) GetKeyword() string
func (*Department) GetName ¶
func (x *Department) GetName() string
func (*Department) GetParentId ¶
func (x *Department) GetParentId() uint32
func (*Department) GetUpdatedAt ¶
func (x *Department) GetUpdatedAt() uint32
func (*Department) ProtoMessage ¶
func (*Department) ProtoMessage()
func (*Department) ProtoReflect ¶
func (x *Department) ProtoReflect() protoreflect.Message
func (*Department) Reset ¶
func (x *Department) Reset()
func (*Department) String ¶
func (x *Department) String() string
func (*Department) Validate ¶
func (m *Department) Validate() error
Validate checks the field values on Department 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 (*Department) ValidateAll ¶
func (m *Department) ValidateAll() error
ValidateAll checks the field values on Department 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 DepartmentMultiError, or nil if none found.
type DepartmentMultiError ¶
type DepartmentMultiError []error
DepartmentMultiError is an error wrapping multiple validation errors returned by Department.ValidateAll() if the designated constraints aren't met.
func (DepartmentMultiError) AllErrors ¶
func (m DepartmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DepartmentMultiError) Error ¶
func (m DepartmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DepartmentValidationError ¶
type DepartmentValidationError struct {
// contains filtered or unexported fields
}
DepartmentValidationError is the validation error returned by Department.Validate if the designated constraints aren't met.
func (DepartmentValidationError) Cause ¶
func (e DepartmentValidationError) Cause() error
Cause function returns cause value.
func (DepartmentValidationError) Error ¶
func (e DepartmentValidationError) Error() string
Error satisfies the builtin error interface
func (DepartmentValidationError) ErrorName ¶
func (e DepartmentValidationError) ErrorName() string
ErrorName returns error name.
func (DepartmentValidationError) Field ¶
func (e DepartmentValidationError) Field() string
Field function returns field value.
func (DepartmentValidationError) Key ¶
func (e DepartmentValidationError) Key() bool
Key function returns key value.
func (DepartmentValidationError) Reason ¶
func (e DepartmentValidationError) Reason() string
Reason function returns reason value.
type Dict ¶
type Dict struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,6,opt,name=weight,proto3,oneof" json:"weight,omitempty"` CreatedAt *uint32 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *uint32 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Dict) Descriptor
deprecated
func (*Dict) GetCreatedAt ¶
func (*Dict) GetDescription ¶
func (*Dict) GetKeyword ¶
func (*Dict) GetUpdatedAt ¶
func (*Dict) ProtoMessage ¶
func (*Dict) ProtoMessage()
func (*Dict) ProtoReflect ¶
func (x *Dict) ProtoReflect() protoreflect.Message
func (*Dict) Validate ¶
Validate checks the field values on Dict 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 (*Dict) ValidateAll ¶
ValidateAll checks the field values on Dict 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 DictMultiError, or nil if none found.
type DictMultiError ¶
type DictMultiError []error
DictMultiError is an error wrapping multiple validation errors returned by Dict.ValidateAll() if the designated constraints aren't met.
func (DictMultiError) AllErrors ¶
func (m DictMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DictMultiError) Error ¶
func (m DictMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DictValidationError ¶
type DictValidationError struct {
// contains filtered or unexported fields
}
DictValidationError is the validation error returned by Dict.Validate if the designated constraints aren't met.
func (DictValidationError) Cause ¶
func (e DictValidationError) Cause() error
Cause function returns cause value.
func (DictValidationError) Error ¶
func (e DictValidationError) Error() string
Error satisfies the builtin error interface
func (DictValidationError) ErrorName ¶
func (e DictValidationError) ErrorName() string
ErrorName returns error name.
func (DictValidationError) Field ¶
func (e DictValidationError) Field() string
Field function returns field value.
func (DictValidationError) Key ¶
func (e DictValidationError) Key() bool
Key function returns key value.
func (DictValidationError) Reason ¶
func (e DictValidationError) Reason() string
Reason function returns reason value.
type DictValue ¶
type DictValue struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DictId uint32 `protobuf:"varint,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Status bool `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Weight *uint32 `protobuf:"varint,6,opt,name=weight,proto3,oneof" json:"weight,omitempty"` Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` CreatedAt *uint32 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *uint32 `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*DictValue) Descriptor
deprecated
func (*DictValue) GetCreatedAt ¶
func (*DictValue) GetDescription ¶
func (*DictValue) GetUpdatedAt ¶
func (*DictValue) ProtoMessage ¶
func (*DictValue) ProtoMessage()
func (*DictValue) ProtoReflect ¶
func (x *DictValue) ProtoReflect() protoreflect.Message
func (*DictValue) Validate ¶
Validate checks the field values on DictValue 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 (*DictValue) ValidateAll ¶
ValidateAll checks the field values on DictValue 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 DictValueMultiError, or nil if none found.
type DictValueMultiError ¶
type DictValueMultiError []error
DictValueMultiError is an error wrapping multiple validation errors returned by DictValue.ValidateAll() if the designated constraints aren't met.
func (DictValueMultiError) AllErrors ¶
func (m DictValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DictValueMultiError) Error ¶
func (m DictValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DictValueValidationError ¶
type DictValueValidationError struct {
// contains filtered or unexported fields
}
DictValueValidationError is the validation error returned by DictValue.Validate if the designated constraints aren't met.
func (DictValueValidationError) Cause ¶
func (e DictValueValidationError) Cause() error
Cause function returns cause value.
func (DictValueValidationError) Error ¶
func (e DictValueValidationError) Error() string
Error satisfies the builtin error interface
func (DictValueValidationError) ErrorName ¶
func (e DictValueValidationError) ErrorName() string
ErrorName returns error name.
func (DictValueValidationError) Field ¶
func (e DictValueValidationError) Field() string
Field function returns field value.
func (DictValueValidationError) Key ¶
func (e DictValueValidationError) Key() bool
Key function returns key value.
func (DictValueValidationError) Reason ¶
func (e DictValueValidationError) Reason() string
Reason function returns reason value.
type DisableUserRequest ¶
type DisableUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*DisableUserRequest) Descriptor
deprecated
func (*DisableUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableUserRequest.ProtoReflect.Descriptor instead.
func (*DisableUserRequest) GetDesc ¶
func (x *DisableUserRequest) GetDesc() string
func (*DisableUserRequest) GetId ¶
func (x *DisableUserRequest) GetId() uint32
func (*DisableUserRequest) ProtoMessage ¶
func (*DisableUserRequest) ProtoMessage()
func (*DisableUserRequest) ProtoReflect ¶
func (x *DisableUserRequest) ProtoReflect() protoreflect.Message
func (*DisableUserRequest) Reset ¶
func (x *DisableUserRequest) Reset()
func (*DisableUserRequest) String ¶
func (x *DisableUserRequest) String() string
func (*DisableUserRequest) Validate ¶
func (m *DisableUserRequest) Validate() error
Validate checks the field values on DisableUserRequest 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 (*DisableUserRequest) ValidateAll ¶
func (m *DisableUserRequest) ValidateAll() error
ValidateAll checks the field values on DisableUserRequest 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 DisableUserRequestMultiError, or nil if none found.
type DisableUserRequestMultiError ¶
type DisableUserRequestMultiError []error
DisableUserRequestMultiError is an error wrapping multiple validation errors returned by DisableUserRequest.ValidateAll() if the designated constraints aren't met.
func (DisableUserRequestMultiError) AllErrors ¶
func (m DisableUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisableUserRequestMultiError) Error ¶
func (m DisableUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisableUserRequestValidationError ¶
type DisableUserRequestValidationError struct {
// contains filtered or unexported fields
}
DisableUserRequestValidationError is the validation error returned by DisableUserRequest.Validate if the designated constraints aren't met.
func (DisableUserRequestValidationError) Cause ¶
func (e DisableUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DisableUserRequestValidationError) Error ¶
func (e DisableUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DisableUserRequestValidationError) ErrorName ¶
func (e DisableUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DisableUserRequestValidationError) Field ¶
func (e DisableUserRequestValidationError) Field() string
Field function returns field value.
func (DisableUserRequestValidationError) Key ¶
func (e DisableUserRequestValidationError) Key() bool
Key function returns key value.
func (DisableUserRequestValidationError) Reason ¶
func (e DisableUserRequestValidationError) Reason() string
Reason function returns reason value.
type EnableUserRequest ¶
type EnableUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EnableUserRequest) Descriptor
deprecated
func (*EnableUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableUserRequest.ProtoReflect.Descriptor instead.
func (*EnableUserRequest) GetId ¶
func (x *EnableUserRequest) GetId() uint32
func (*EnableUserRequest) ProtoMessage ¶
func (*EnableUserRequest) ProtoMessage()
func (*EnableUserRequest) ProtoReflect ¶
func (x *EnableUserRequest) ProtoReflect() protoreflect.Message
func (*EnableUserRequest) Reset ¶
func (x *EnableUserRequest) Reset()
func (*EnableUserRequest) String ¶
func (x *EnableUserRequest) String() string
func (*EnableUserRequest) Validate ¶
func (m *EnableUserRequest) Validate() error
Validate checks the field values on EnableUserRequest 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 (*EnableUserRequest) ValidateAll ¶
func (m *EnableUserRequest) ValidateAll() error
ValidateAll checks the field values on EnableUserRequest 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 EnableUserRequestMultiError, or nil if none found.
type EnableUserRequestMultiError ¶
type EnableUserRequestMultiError []error
EnableUserRequestMultiError is an error wrapping multiple validation errors returned by EnableUserRequest.ValidateAll() if the designated constraints aren't met.
func (EnableUserRequestMultiError) AllErrors ¶
func (m EnableUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnableUserRequestMultiError) Error ¶
func (m EnableUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnableUserRequestValidationError ¶
type EnableUserRequestValidationError struct {
// contains filtered or unexported fields
}
EnableUserRequestValidationError is the validation error returned by EnableUserRequest.Validate if the designated constraints aren't met.
func (EnableUserRequestValidationError) Cause ¶
func (e EnableUserRequestValidationError) Cause() error
Cause function returns cause value.
func (EnableUserRequestValidationError) Error ¶
func (e EnableUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EnableUserRequestValidationError) ErrorName ¶
func (e EnableUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EnableUserRequestValidationError) Field ¶
func (e EnableUserRequestValidationError) Field() string
Field function returns field value.
func (EnableUserRequestValidationError) Key ¶
func (e EnableUserRequestValidationError) Key() bool
Key function returns key value.
func (EnableUserRequestValidationError) Reason ¶
func (e EnableUserRequestValidationError) Reason() string
Reason function returns reason value.
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_NotFoundError ErrorReason = 0 ErrorReason_DatabaseError ErrorReason = 1 ErrorReason_MetadataError ErrorReason = 2 ErrorReason_TransformError ErrorReason = 3 ErrorReason_DepartmentPermissionsError ErrorReason = 4 ErrorReason_RolePermissionsError ErrorReason = 5 ErrorReason_UserPermissionsError ErrorReason = 6 ErrorReason_MenuPermissionsError ErrorReason = 7 ErrorReason_EditSystemDataError ErrorReason = 8 ErrorReason_DeleteSystemDataError ErrorReason = 9 ErrorReason_NewCaptchaError ErrorReason = 10 ErrorReason_VerifyCaptchaError ErrorReason = 11 ErrorReason_RsaDecodeError ErrorReason = 12 ErrorReason_PasswordFormatError ErrorReason = 13 ErrorReason_PasswordExpireError ErrorReason = 14 ErrorReason_UserDisableError ErrorReason = 15 ErrorReason_RoleDisableError ErrorReason = 16 ErrorReason_UserPasswordError ErrorReason = 17 ErrorReason_NewTokenError ErrorReason = 18 ErrorReason_ParseTokenError ErrorReason = 19 ErrorReason_RefreshTokenError ErrorReason = 20 ErrorReason_EmptyTokenError ErrorReason = 21 ErrorReason_DeleteSelfRoleError ErrorReason = 22 ErrorReason_DeleteSelfDepartmentError ErrorReason = 23 ErrorReason_ParentMenuError ErrorReason = 24 ErrorReason_SendEmailCaptchaError ErrorReason = 25 ErrorReason_UsernameFormatError ErrorReason = 26 ErrorReason_UsernameNotExistError ErrorReason = 27 ErrorReason_DisableSelfUserError ErrorReason = 28 ErrorReason_ForbiddenError ErrorReason = 29 ErrorReason_DeleteSelfUserError ErrorReason = 30 ErrorReason_ResetSelfUserPasswordError ErrorReason = 31 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type GetDepartmentReply ¶
type GetDepartmentReply struct { Department *Department `protobuf:"bytes,1,opt,name=department,proto3" json:"department,omitempty"` // contains filtered or unexported fields }
func (*GetDepartmentReply) Descriptor
deprecated
func (*GetDepartmentReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDepartmentReply.ProtoReflect.Descriptor instead.
func (*GetDepartmentReply) GetDepartment ¶
func (x *GetDepartmentReply) GetDepartment() *Department
func (*GetDepartmentReply) ProtoMessage ¶
func (*GetDepartmentReply) ProtoMessage()
func (*GetDepartmentReply) ProtoReflect ¶
func (x *GetDepartmentReply) ProtoReflect() protoreflect.Message
func (*GetDepartmentReply) Reset ¶
func (x *GetDepartmentReply) Reset()
func (*GetDepartmentReply) String ¶
func (x *GetDepartmentReply) String() string
func (*GetDepartmentReply) Validate ¶
func (m *GetDepartmentReply) Validate() error
Validate checks the field values on GetDepartmentReply 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 (*GetDepartmentReply) ValidateAll ¶
func (m *GetDepartmentReply) ValidateAll() error
ValidateAll checks the field values on GetDepartmentReply 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 GetDepartmentReplyMultiError, or nil if none found.
type GetDepartmentReplyMultiError ¶
type GetDepartmentReplyMultiError []error
GetDepartmentReplyMultiError is an error wrapping multiple validation errors returned by GetDepartmentReply.ValidateAll() if the designated constraints aren't met.
func (GetDepartmentReplyMultiError) AllErrors ¶
func (m GetDepartmentReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDepartmentReplyMultiError) Error ¶
func (m GetDepartmentReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDepartmentReplyValidationError ¶
type GetDepartmentReplyValidationError struct {
// contains filtered or unexported fields
}
GetDepartmentReplyValidationError is the validation error returned by GetDepartmentReply.Validate if the designated constraints aren't met.
func (GetDepartmentReplyValidationError) Cause ¶
func (e GetDepartmentReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDepartmentReplyValidationError) Error ¶
func (e GetDepartmentReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDepartmentReplyValidationError) ErrorName ¶
func (e GetDepartmentReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDepartmentReplyValidationError) Field ¶
func (e GetDepartmentReplyValidationError) Field() string
Field function returns field value.
func (GetDepartmentReplyValidationError) Key ¶
func (e GetDepartmentReplyValidationError) Key() bool
Key function returns key value.
func (GetDepartmentReplyValidationError) Reason ¶
func (e GetDepartmentReplyValidationError) Reason() string
Reason function returns reason value.
type GetDepartmentRequest ¶
type GetDepartmentRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDepartmentRequest) Descriptor
deprecated
func (*GetDepartmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDepartmentRequest.ProtoReflect.Descriptor instead.
func (*GetDepartmentRequest) GetId ¶
func (x *GetDepartmentRequest) GetId() uint32
func (*GetDepartmentRequest) ProtoMessage ¶
func (*GetDepartmentRequest) ProtoMessage()
func (*GetDepartmentRequest) ProtoReflect ¶
func (x *GetDepartmentRequest) ProtoReflect() protoreflect.Message
func (*GetDepartmentRequest) Reset ¶
func (x *GetDepartmentRequest) Reset()
func (*GetDepartmentRequest) String ¶
func (x *GetDepartmentRequest) String() string
func (*GetDepartmentRequest) Validate ¶
func (m *GetDepartmentRequest) Validate() error
Validate checks the field values on GetDepartmentRequest 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 (*GetDepartmentRequest) ValidateAll ¶
func (m *GetDepartmentRequest) ValidateAll() error
ValidateAll checks the field values on GetDepartmentRequest 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 GetDepartmentRequestMultiError, or nil if none found.
type GetDepartmentRequestMultiError ¶
type GetDepartmentRequestMultiError []error
GetDepartmentRequestMultiError is an error wrapping multiple validation errors returned by GetDepartmentRequest.ValidateAll() if the designated constraints aren't met.
func (GetDepartmentRequestMultiError) AllErrors ¶
func (m GetDepartmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDepartmentRequestMultiError) Error ¶
func (m GetDepartmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDepartmentRequestValidationError ¶
type GetDepartmentRequestValidationError struct {
// contains filtered or unexported fields
}
GetDepartmentRequestValidationError is the validation error returned by GetDepartmentRequest.Validate if the designated constraints aren't met.
func (GetDepartmentRequestValidationError) Cause ¶
func (e GetDepartmentRequestValidationError) Cause() error
Cause function returns cause value.
func (GetDepartmentRequestValidationError) Error ¶
func (e GetDepartmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetDepartmentRequestValidationError) ErrorName ¶
func (e GetDepartmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetDepartmentRequestValidationError) Field ¶
func (e GetDepartmentRequestValidationError) Field() string
Field function returns field value.
func (GetDepartmentRequestValidationError) Key ¶
func (e GetDepartmentRequestValidationError) Key() bool
Key function returns key value.
func (GetDepartmentRequestValidationError) Reason ¶
func (e GetDepartmentRequestValidationError) Reason() string
Reason function returns reason value.
type GetDepartmentTreeReply ¶
type GetDepartmentTreeReply struct { List []*Department `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetDepartmentTreeReply) Descriptor
deprecated
func (*GetDepartmentTreeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDepartmentTreeReply.ProtoReflect.Descriptor instead.
func (*GetDepartmentTreeReply) GetList ¶
func (x *GetDepartmentTreeReply) GetList() []*Department
func (*GetDepartmentTreeReply) ProtoMessage ¶
func (*GetDepartmentTreeReply) ProtoMessage()
func (*GetDepartmentTreeReply) ProtoReflect ¶
func (x *GetDepartmentTreeReply) ProtoReflect() protoreflect.Message
func (*GetDepartmentTreeReply) Reset ¶
func (x *GetDepartmentTreeReply) Reset()
func (*GetDepartmentTreeReply) String ¶
func (x *GetDepartmentTreeReply) String() string
func (*GetDepartmentTreeReply) Validate ¶
func (m *GetDepartmentTreeReply) Validate() error
Validate checks the field values on GetDepartmentTreeReply 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 (*GetDepartmentTreeReply) ValidateAll ¶
func (m *GetDepartmentTreeReply) ValidateAll() error
ValidateAll checks the field values on GetDepartmentTreeReply 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 GetDepartmentTreeReplyMultiError, or nil if none found.
type GetDepartmentTreeReplyMultiError ¶
type GetDepartmentTreeReplyMultiError []error
GetDepartmentTreeReplyMultiError is an error wrapping multiple validation errors returned by GetDepartmentTreeReply.ValidateAll() if the designated constraints aren't met.
func (GetDepartmentTreeReplyMultiError) AllErrors ¶
func (m GetDepartmentTreeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDepartmentTreeReplyMultiError) Error ¶
func (m GetDepartmentTreeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDepartmentTreeReplyValidationError ¶
type GetDepartmentTreeReplyValidationError struct {
// contains filtered or unexported fields
}
GetDepartmentTreeReplyValidationError is the validation error returned by GetDepartmentTreeReply.Validate if the designated constraints aren't met.
func (GetDepartmentTreeReplyValidationError) Cause ¶
func (e GetDepartmentTreeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDepartmentTreeReplyValidationError) Error ¶
func (e GetDepartmentTreeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDepartmentTreeReplyValidationError) ErrorName ¶
func (e GetDepartmentTreeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDepartmentTreeReplyValidationError) Field ¶
func (e GetDepartmentTreeReplyValidationError) Field() string
Field function returns field value.
func (GetDepartmentTreeReplyValidationError) Key ¶
func (e GetDepartmentTreeReplyValidationError) Key() bool
Key function returns key value.
func (GetDepartmentTreeReplyValidationError) Reason ¶
func (e GetDepartmentTreeReplyValidationError) Reason() string
Reason function returns reason value.
type GetJobReply ¶
type GetJobReply struct { Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // contains filtered or unexported fields }
func (*GetJobReply) Descriptor
deprecated
func (*GetJobReply) Descriptor() ([]byte, []int)
Deprecated: Use GetJobReply.ProtoReflect.Descriptor instead.
func (*GetJobReply) GetJob ¶
func (x *GetJobReply) GetJob() *Job
func (*GetJobReply) ProtoMessage ¶
func (*GetJobReply) ProtoMessage()
func (*GetJobReply) ProtoReflect ¶
func (x *GetJobReply) ProtoReflect() protoreflect.Message
func (*GetJobReply) Reset ¶
func (x *GetJobReply) Reset()
func (*GetJobReply) String ¶
func (x *GetJobReply) String() string
func (*GetJobReply) Validate ¶
func (m *GetJobReply) Validate() error
Validate checks the field values on GetJobReply 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 (*GetJobReply) ValidateAll ¶
func (m *GetJobReply) ValidateAll() error
ValidateAll checks the field values on GetJobReply 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 GetJobReplyMultiError, or nil if none found.
type GetJobReplyMultiError ¶
type GetJobReplyMultiError []error
GetJobReplyMultiError is an error wrapping multiple validation errors returned by GetJobReply.ValidateAll() if the designated constraints aren't met.
func (GetJobReplyMultiError) AllErrors ¶
func (m GetJobReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetJobReplyMultiError) Error ¶
func (m GetJobReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetJobReplyValidationError ¶
type GetJobReplyValidationError struct {
// contains filtered or unexported fields
}
GetJobReplyValidationError is the validation error returned by GetJobReply.Validate if the designated constraints aren't met.
func (GetJobReplyValidationError) Cause ¶
func (e GetJobReplyValidationError) Cause() error
Cause function returns cause value.
func (GetJobReplyValidationError) Error ¶
func (e GetJobReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetJobReplyValidationError) ErrorName ¶
func (e GetJobReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetJobReplyValidationError) Field ¶
func (e GetJobReplyValidationError) Field() string
Field function returns field value.
func (GetJobReplyValidationError) Key ¶
func (e GetJobReplyValidationError) Key() bool
Key function returns key value.
func (GetJobReplyValidationError) Reason ¶
func (e GetJobReplyValidationError) Reason() string
Reason function returns reason value.
type GetJobRequest ¶
type GetJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetJobRequest) Descriptor
deprecated
func (*GetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
func (*GetJobRequest) GetId ¶
func (x *GetJobRequest) GetId() uint32
func (*GetJobRequest) ProtoMessage ¶
func (*GetJobRequest) ProtoMessage()
func (*GetJobRequest) ProtoReflect ¶
func (x *GetJobRequest) ProtoReflect() protoreflect.Message
func (*GetJobRequest) Reset ¶
func (x *GetJobRequest) Reset()
func (*GetJobRequest) String ¶
func (x *GetJobRequest) String() string
func (*GetJobRequest) Validate ¶
func (m *GetJobRequest) Validate() error
Validate checks the field values on GetJobRequest 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 (*GetJobRequest) ValidateAll ¶
func (m *GetJobRequest) ValidateAll() error
ValidateAll checks the field values on GetJobRequest 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 GetJobRequestMultiError, or nil if none found.
type GetJobRequestMultiError ¶
type GetJobRequestMultiError []error
GetJobRequestMultiError is an error wrapping multiple validation errors returned by GetJobRequest.ValidateAll() if the designated constraints aren't met.
func (GetJobRequestMultiError) AllErrors ¶
func (m GetJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetJobRequestMultiError) Error ¶
func (m GetJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetJobRequestValidationError ¶
type GetJobRequestValidationError struct {
// contains filtered or unexported fields
}
GetJobRequestValidationError is the validation error returned by GetJobRequest.Validate if the designated constraints aren't met.
func (GetJobRequestValidationError) Cause ¶
func (e GetJobRequestValidationError) Cause() error
Cause function returns cause value.
func (GetJobRequestValidationError) Error ¶
func (e GetJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetJobRequestValidationError) ErrorName ¶
func (e GetJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetJobRequestValidationError) Field ¶
func (e GetJobRequestValidationError) Field() string
Field function returns field value.
func (GetJobRequestValidationError) Key ¶
func (e GetJobRequestValidationError) Key() bool
Key function returns key value.
func (GetJobRequestValidationError) Reason ¶
func (e GetJobRequestValidationError) Reason() string
Reason function returns reason value.
type GetMenuTreeReply ¶
type GetMenuTreeReply struct { List []*Menu `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetMenuTreeReply) Descriptor
deprecated
func (*GetMenuTreeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetMenuTreeReply.ProtoReflect.Descriptor instead.
func (*GetMenuTreeReply) GetList ¶
func (x *GetMenuTreeReply) GetList() []*Menu
func (*GetMenuTreeReply) ProtoMessage ¶
func (*GetMenuTreeReply) ProtoMessage()
func (*GetMenuTreeReply) ProtoReflect ¶
func (x *GetMenuTreeReply) ProtoReflect() protoreflect.Message
func (*GetMenuTreeReply) Reset ¶
func (x *GetMenuTreeReply) Reset()
func (*GetMenuTreeReply) String ¶
func (x *GetMenuTreeReply) String() string
func (*GetMenuTreeReply) Validate ¶
func (m *GetMenuTreeReply) Validate() error
Validate checks the field values on GetMenuTreeReply 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 (*GetMenuTreeReply) ValidateAll ¶
func (m *GetMenuTreeReply) ValidateAll() error
ValidateAll checks the field values on GetMenuTreeReply 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 GetMenuTreeReplyMultiError, or nil if none found.
type GetMenuTreeReplyMultiError ¶
type GetMenuTreeReplyMultiError []error
GetMenuTreeReplyMultiError is an error wrapping multiple validation errors returned by GetMenuTreeReply.ValidateAll() if the designated constraints aren't met.
func (GetMenuTreeReplyMultiError) AllErrors ¶
func (m GetMenuTreeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetMenuTreeReplyMultiError) Error ¶
func (m GetMenuTreeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetMenuTreeReplyValidationError ¶
type GetMenuTreeReplyValidationError struct {
// contains filtered or unexported fields
}
GetMenuTreeReplyValidationError is the validation error returned by GetMenuTreeReply.Validate if the designated constraints aren't met.
func (GetMenuTreeReplyValidationError) Cause ¶
func (e GetMenuTreeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetMenuTreeReplyValidationError) Error ¶
func (e GetMenuTreeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetMenuTreeReplyValidationError) ErrorName ¶
func (e GetMenuTreeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetMenuTreeReplyValidationError) Field ¶
func (e GetMenuTreeReplyValidationError) Field() string
Field function returns field value.
func (GetMenuTreeReplyValidationError) Key ¶
func (e GetMenuTreeReplyValidationError) Key() bool
Key function returns key value.
func (GetMenuTreeReplyValidationError) Reason ¶
func (e GetMenuTreeReplyValidationError) Reason() string
Reason function returns reason value.
type GetRoleMenuIdsReply ¶
type GetRoleMenuIdsReply struct { List []uint32 `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*GetRoleMenuIdsReply) Descriptor
deprecated
func (*GetRoleMenuIdsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleMenuIdsReply.ProtoReflect.Descriptor instead.
func (*GetRoleMenuIdsReply) GetList ¶
func (x *GetRoleMenuIdsReply) GetList() []uint32
func (*GetRoleMenuIdsReply) ProtoMessage ¶
func (*GetRoleMenuIdsReply) ProtoMessage()
func (*GetRoleMenuIdsReply) ProtoReflect ¶
func (x *GetRoleMenuIdsReply) ProtoReflect() protoreflect.Message
func (*GetRoleMenuIdsReply) Reset ¶
func (x *GetRoleMenuIdsReply) Reset()
func (*GetRoleMenuIdsReply) String ¶
func (x *GetRoleMenuIdsReply) String() string
func (*GetRoleMenuIdsReply) Validate ¶
func (m *GetRoleMenuIdsReply) Validate() error
Validate checks the field values on GetRoleMenuIdsReply 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 (*GetRoleMenuIdsReply) ValidateAll ¶
func (m *GetRoleMenuIdsReply) ValidateAll() error
ValidateAll checks the field values on GetRoleMenuIdsReply 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 GetRoleMenuIdsReplyMultiError, or nil if none found.
type GetRoleMenuIdsReplyMultiError ¶
type GetRoleMenuIdsReplyMultiError []error
GetRoleMenuIdsReplyMultiError is an error wrapping multiple validation errors returned by GetRoleMenuIdsReply.ValidateAll() if the designated constraints aren't met.
func (GetRoleMenuIdsReplyMultiError) AllErrors ¶
func (m GetRoleMenuIdsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleMenuIdsReplyMultiError) Error ¶
func (m GetRoleMenuIdsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleMenuIdsReplyValidationError ¶
type GetRoleMenuIdsReplyValidationError struct {
// contains filtered or unexported fields
}
GetRoleMenuIdsReplyValidationError is the validation error returned by GetRoleMenuIdsReply.Validate if the designated constraints aren't met.
func (GetRoleMenuIdsReplyValidationError) Cause ¶
func (e GetRoleMenuIdsReplyValidationError) Cause() error
Cause function returns cause value.
func (GetRoleMenuIdsReplyValidationError) Error ¶
func (e GetRoleMenuIdsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleMenuIdsReplyValidationError) ErrorName ¶
func (e GetRoleMenuIdsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleMenuIdsReplyValidationError) Field ¶
func (e GetRoleMenuIdsReplyValidationError) Field() string
Field function returns field value.
func (GetRoleMenuIdsReplyValidationError) Key ¶
func (e GetRoleMenuIdsReplyValidationError) Key() bool
Key function returns key value.
func (GetRoleMenuIdsReplyValidationError) Reason ¶
func (e GetRoleMenuIdsReplyValidationError) Reason() string
Reason function returns reason value.
type GetRoleMenuIdsRequest ¶
type GetRoleMenuIdsRequest struct { RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*GetRoleMenuIdsRequest) Descriptor
deprecated
func (*GetRoleMenuIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleMenuIdsRequest.ProtoReflect.Descriptor instead.
func (*GetRoleMenuIdsRequest) GetRoleId ¶
func (x *GetRoleMenuIdsRequest) GetRoleId() uint32
func (*GetRoleMenuIdsRequest) ProtoMessage ¶
func (*GetRoleMenuIdsRequest) ProtoMessage()
func (*GetRoleMenuIdsRequest) ProtoReflect ¶
func (x *GetRoleMenuIdsRequest) ProtoReflect() protoreflect.Message
func (*GetRoleMenuIdsRequest) Reset ¶
func (x *GetRoleMenuIdsRequest) Reset()
func (*GetRoleMenuIdsRequest) String ¶
func (x *GetRoleMenuIdsRequest) String() string
func (*GetRoleMenuIdsRequest) Validate ¶
func (m *GetRoleMenuIdsRequest) Validate() error
Validate checks the field values on GetRoleMenuIdsRequest 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 (*GetRoleMenuIdsRequest) ValidateAll ¶
func (m *GetRoleMenuIdsRequest) ValidateAll() error
ValidateAll checks the field values on GetRoleMenuIdsRequest 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 GetRoleMenuIdsRequestMultiError, or nil if none found.
type GetRoleMenuIdsRequestMultiError ¶
type GetRoleMenuIdsRequestMultiError []error
GetRoleMenuIdsRequestMultiError is an error wrapping multiple validation errors returned by GetRoleMenuIdsRequest.ValidateAll() if the designated constraints aren't met.
func (GetRoleMenuIdsRequestMultiError) AllErrors ¶
func (m GetRoleMenuIdsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleMenuIdsRequestMultiError) Error ¶
func (m GetRoleMenuIdsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleMenuIdsRequestValidationError ¶
type GetRoleMenuIdsRequestValidationError struct {
// contains filtered or unexported fields
}
GetRoleMenuIdsRequestValidationError is the validation error returned by GetRoleMenuIdsRequest.Validate if the designated constraints aren't met.
func (GetRoleMenuIdsRequestValidationError) Cause ¶
func (e GetRoleMenuIdsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRoleMenuIdsRequestValidationError) Error ¶
func (e GetRoleMenuIdsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleMenuIdsRequestValidationError) ErrorName ¶
func (e GetRoleMenuIdsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleMenuIdsRequestValidationError) Field ¶
func (e GetRoleMenuIdsRequestValidationError) Field() string
Field function returns field value.
func (GetRoleMenuIdsRequestValidationError) Key ¶
func (e GetRoleMenuIdsRequestValidationError) Key() bool
Key function returns key value.
func (GetRoleMenuIdsRequestValidationError) Reason ¶
func (e GetRoleMenuIdsRequestValidationError) Reason() string
Reason function returns reason value.
type GetRoleReply ¶
type GetRoleReply struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
获取指定的角色
func (*GetRoleReply) Descriptor
deprecated
func (*GetRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleReply.ProtoReflect.Descriptor instead.
func (*GetRoleReply) GetRole ¶
func (x *GetRoleReply) GetRole() *Role
func (*GetRoleReply) ProtoMessage ¶
func (*GetRoleReply) ProtoMessage()
func (*GetRoleReply) ProtoReflect ¶
func (x *GetRoleReply) ProtoReflect() protoreflect.Message
func (*GetRoleReply) Reset ¶
func (x *GetRoleReply) Reset()
func (*GetRoleReply) String ¶
func (x *GetRoleReply) String() string
func (*GetRoleReply) Validate ¶
func (m *GetRoleReply) Validate() error
Validate checks the field values on GetRoleReply 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 (*GetRoleReply) ValidateAll ¶
func (m *GetRoleReply) ValidateAll() error
ValidateAll checks the field values on GetRoleReply 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 GetRoleReplyMultiError, or nil if none found.
type GetRoleReplyMultiError ¶
type GetRoleReplyMultiError []error
GetRoleReplyMultiError is an error wrapping multiple validation errors returned by GetRoleReply.ValidateAll() if the designated constraints aren't met.
func (GetRoleReplyMultiError) AllErrors ¶
func (m GetRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleReplyMultiError) Error ¶
func (m GetRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleReplyValidationError ¶
type GetRoleReplyValidationError struct {
// contains filtered or unexported fields
}
GetRoleReplyValidationError is the validation error returned by GetRoleReply.Validate if the designated constraints aren't met.
func (GetRoleReplyValidationError) Cause ¶
func (e GetRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (GetRoleReplyValidationError) Error ¶
func (e GetRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleReplyValidationError) ErrorName ¶
func (e GetRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleReplyValidationError) Field ¶
func (e GetRoleReplyValidationError) Field() string
Field function returns field value.
func (GetRoleReplyValidationError) Key ¶
func (e GetRoleReplyValidationError) Key() bool
Key function returns key value.
func (GetRoleReplyValidationError) Reason ¶
func (e GetRoleReplyValidationError) Reason() string
Reason function returns reason value.
type GetRoleRequest ¶
type GetRoleRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取指定的角色
func (*GetRoleRequest) Descriptor
deprecated
func (*GetRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.
func (*GetRoleRequest) GetId ¶
func (x *GetRoleRequest) GetId() uint32
func (*GetRoleRequest) ProtoMessage ¶
func (*GetRoleRequest) ProtoMessage()
func (*GetRoleRequest) ProtoReflect ¶
func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
func (*GetRoleRequest) Reset ¶
func (x *GetRoleRequest) Reset()
func (*GetRoleRequest) String ¶
func (x *GetRoleRequest) String() string
func (*GetRoleRequest) Validate ¶
func (m *GetRoleRequest) Validate() error
Validate checks the field values on GetRoleRequest 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 (*GetRoleRequest) ValidateAll ¶
func (m *GetRoleRequest) ValidateAll() error
ValidateAll checks the field values on GetRoleRequest 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 GetRoleRequestMultiError, or nil if none found.
type GetRoleRequestMultiError ¶
type GetRoleRequestMultiError []error
GetRoleRequestMultiError is an error wrapping multiple validation errors returned by GetRoleRequest.ValidateAll() if the designated constraints aren't met.
func (GetRoleRequestMultiError) AllErrors ¶
func (m GetRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleRequestMultiError) Error ¶
func (m GetRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleRequestValidationError ¶
type GetRoleRequestValidationError struct {
// contains filtered or unexported fields
}
GetRoleRequestValidationError is the validation error returned by GetRoleRequest.Validate if the designated constraints aren't met.
func (GetRoleRequestValidationError) Cause ¶
func (e GetRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRoleRequestValidationError) Error ¶
func (e GetRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleRequestValidationError) ErrorName ¶
func (e GetRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleRequestValidationError) Field ¶
func (e GetRoleRequestValidationError) Field() string
Field function returns field value.
func (GetRoleRequestValidationError) Key ¶
func (e GetRoleRequestValidationError) Key() bool
Key function returns key value.
func (GetRoleRequestValidationError) Reason ¶
func (e GetRoleRequestValidationError) Reason() string
Reason function returns reason value.
type GetRoleTreeReply ¶
type GetRoleTreeReply struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
获取当前的角色列表返回
func (*GetRoleTreeReply) Descriptor
deprecated
func (*GetRoleTreeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleTreeReply.ProtoReflect.Descriptor instead.
func (*GetRoleTreeReply) GetRole ¶
func (x *GetRoleTreeReply) GetRole() *Role
func (*GetRoleTreeReply) ProtoMessage ¶
func (*GetRoleTreeReply) ProtoMessage()
func (*GetRoleTreeReply) ProtoReflect ¶
func (x *GetRoleTreeReply) ProtoReflect() protoreflect.Message
func (*GetRoleTreeReply) Reset ¶
func (x *GetRoleTreeReply) Reset()
func (*GetRoleTreeReply) String ¶
func (x *GetRoleTreeReply) String() string
func (*GetRoleTreeReply) Validate ¶
func (m *GetRoleTreeReply) Validate() error
Validate checks the field values on GetRoleTreeReply 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 (*GetRoleTreeReply) ValidateAll ¶
func (m *GetRoleTreeReply) ValidateAll() error
ValidateAll checks the field values on GetRoleTreeReply 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 GetRoleTreeReplyMultiError, or nil if none found.
type GetRoleTreeReplyMultiError ¶
type GetRoleTreeReplyMultiError []error
GetRoleTreeReplyMultiError is an error wrapping multiple validation errors returned by GetRoleTreeReply.ValidateAll() if the designated constraints aren't met.
func (GetRoleTreeReplyMultiError) AllErrors ¶
func (m GetRoleTreeReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleTreeReplyMultiError) Error ¶
func (m GetRoleTreeReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleTreeReplyValidationError ¶
type GetRoleTreeReplyValidationError struct {
// contains filtered or unexported fields
}
GetRoleTreeReplyValidationError is the validation error returned by GetRoleTreeReply.Validate if the designated constraints aren't met.
func (GetRoleTreeReplyValidationError) Cause ¶
func (e GetRoleTreeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetRoleTreeReplyValidationError) Error ¶
func (e GetRoleTreeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleTreeReplyValidationError) ErrorName ¶
func (e GetRoleTreeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleTreeReplyValidationError) Field ¶
func (e GetRoleTreeReplyValidationError) Field() string
Field function returns field value.
func (GetRoleTreeReplyValidationError) Key ¶
func (e GetRoleTreeReplyValidationError) Key() bool
Key function returns key value.
func (GetRoleTreeReplyValidationError) Reason ¶
func (e GetRoleTreeReplyValidationError) Reason() string
Reason function returns reason value.
type GetSettingReply ¶
type GetSettingReply struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Debug bool `protobuf:"varint,2,opt,name=debug,proto3" json:"debug,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Desc string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"` Copyright string `protobuf:"bytes,5,opt,name=copyright,proto3" json:"copyright,omitempty"` Logo string `protobuf:"bytes,6,opt,name=logo,proto3" json:"logo,omitempty"` Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetSettingReply) Descriptor
deprecated
func (*GetSettingReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingReply.ProtoReflect.Descriptor instead.
func (*GetSettingReply) GetCopyright ¶
func (x *GetSettingReply) GetCopyright() string
func (*GetSettingReply) GetDebug ¶
func (x *GetSettingReply) GetDebug() bool
func (*GetSettingReply) GetDesc ¶
func (x *GetSettingReply) GetDesc() string
func (*GetSettingReply) GetId ¶
func (x *GetSettingReply) GetId() int64
func (*GetSettingReply) GetLogo ¶
func (x *GetSettingReply) GetLogo() string
func (*GetSettingReply) GetName ¶
func (x *GetSettingReply) GetName() string
func (*GetSettingReply) GetTitle ¶
func (x *GetSettingReply) GetTitle() string
func (*GetSettingReply) ProtoMessage ¶
func (*GetSettingReply) ProtoMessage()
func (*GetSettingReply) ProtoReflect ¶
func (x *GetSettingReply) ProtoReflect() protoreflect.Message
func (*GetSettingReply) Reset ¶
func (x *GetSettingReply) Reset()
func (*GetSettingReply) String ¶
func (x *GetSettingReply) String() string
func (*GetSettingReply) Validate ¶
func (m *GetSettingReply) Validate() error
Validate checks the field values on GetSettingReply 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 (*GetSettingReply) ValidateAll ¶
func (m *GetSettingReply) ValidateAll() error
ValidateAll checks the field values on GetSettingReply 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 GetSettingReplyMultiError, or nil if none found.
type GetSettingReplyMultiError ¶
type GetSettingReplyMultiError []error
GetSettingReplyMultiError is an error wrapping multiple validation errors returned by GetSettingReply.ValidateAll() if the designated constraints aren't met.
func (GetSettingReplyMultiError) AllErrors ¶
func (m GetSettingReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetSettingReplyMultiError) Error ¶
func (m GetSettingReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetSettingReplyValidationError ¶
type GetSettingReplyValidationError struct {
// contains filtered or unexported fields
}
GetSettingReplyValidationError is the validation error returned by GetSettingReply.Validate if the designated constraints aren't met.
func (GetSettingReplyValidationError) Cause ¶
func (e GetSettingReplyValidationError) Cause() error
Cause function returns cause value.
func (GetSettingReplyValidationError) Error ¶
func (e GetSettingReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetSettingReplyValidationError) ErrorName ¶
func (e GetSettingReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetSettingReplyValidationError) Field ¶
func (e GetSettingReplyValidationError) Field() string
Field function returns field value.
func (GetSettingReplyValidationError) Key ¶
func (e GetSettingReplyValidationError) Key() bool
Key function returns key value.
func (GetSettingReplyValidationError) Reason ¶
func (e GetSettingReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserJobReply ¶
type GetUserJobReply struct { Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // contains filtered or unexported fields }
func (*GetUserJobReply) Descriptor
deprecated
func (*GetUserJobReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserJobReply.ProtoReflect.Descriptor instead.
func (*GetUserJobReply) GetJobs ¶
func (x *GetUserJobReply) GetJobs() []*Job
func (*GetUserJobReply) ProtoMessage ¶
func (*GetUserJobReply) ProtoMessage()
func (*GetUserJobReply) ProtoReflect ¶
func (x *GetUserJobReply) ProtoReflect() protoreflect.Message
func (*GetUserJobReply) Reset ¶
func (x *GetUserJobReply) Reset()
func (*GetUserJobReply) String ¶
func (x *GetUserJobReply) String() string
func (*GetUserJobReply) Validate ¶
func (m *GetUserJobReply) Validate() error
Validate checks the field values on GetUserJobReply 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 (*GetUserJobReply) ValidateAll ¶
func (m *GetUserJobReply) ValidateAll() error
ValidateAll checks the field values on GetUserJobReply 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 GetUserJobReplyMultiError, or nil if none found.
type GetUserJobReplyMultiError ¶
type GetUserJobReplyMultiError []error
GetUserJobReplyMultiError is an error wrapping multiple validation errors returned by GetUserJobReply.ValidateAll() if the designated constraints aren't met.
func (GetUserJobReplyMultiError) AllErrors ¶
func (m GetUserJobReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserJobReplyMultiError) Error ¶
func (m GetUserJobReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserJobReplyValidationError ¶
type GetUserJobReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserJobReplyValidationError is the validation error returned by GetUserJobReply.Validate if the designated constraints aren't met.
func (GetUserJobReplyValidationError) Cause ¶
func (e GetUserJobReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserJobReplyValidationError) Error ¶
func (e GetUserJobReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserJobReplyValidationError) ErrorName ¶
func (e GetUserJobReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserJobReplyValidationError) Field ¶
func (e GetUserJobReplyValidationError) Field() string
Field function returns field value.
func (GetUserJobReplyValidationError) Key ¶
func (e GetUserJobReplyValidationError) Key() bool
Key function returns key value.
func (GetUserJobReplyValidationError) Reason ¶
func (e GetUserJobReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserJobRequest ¶
type GetUserJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserJobRequest) Descriptor
deprecated
func (*GetUserJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserJobRequest.ProtoReflect.Descriptor instead.
func (*GetUserJobRequest) GetId ¶
func (x *GetUserJobRequest) GetId() uint32
func (*GetUserJobRequest) ProtoMessage ¶
func (*GetUserJobRequest) ProtoMessage()
func (*GetUserJobRequest) ProtoReflect ¶
func (x *GetUserJobRequest) ProtoReflect() protoreflect.Message
func (*GetUserJobRequest) Reset ¶
func (x *GetUserJobRequest) Reset()
func (*GetUserJobRequest) String ¶
func (x *GetUserJobRequest) String() string
func (*GetUserJobRequest) Validate ¶
func (m *GetUserJobRequest) Validate() error
Validate checks the field values on GetUserJobRequest 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 (*GetUserJobRequest) ValidateAll ¶
func (m *GetUserJobRequest) ValidateAll() error
ValidateAll checks the field values on GetUserJobRequest 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 GetUserJobRequestMultiError, or nil if none found.
type GetUserJobRequestMultiError ¶
type GetUserJobRequestMultiError []error
GetUserJobRequestMultiError is an error wrapping multiple validation errors returned by GetUserJobRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserJobRequestMultiError) AllErrors ¶
func (m GetUserJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserJobRequestMultiError) Error ¶
func (m GetUserJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserJobRequestValidationError ¶
type GetUserJobRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserJobRequestValidationError is the validation error returned by GetUserJobRequest.Validate if the designated constraints aren't met.
func (GetUserJobRequestValidationError) Cause ¶
func (e GetUserJobRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserJobRequestValidationError) Error ¶
func (e GetUserJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserJobRequestValidationError) ErrorName ¶
func (e GetUserJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserJobRequestValidationError) Field ¶
func (e GetUserJobRequestValidationError) Field() string
Field function returns field value.
func (GetUserJobRequestValidationError) Key ¶
func (e GetUserJobRequestValidationError) Key() bool
Key function returns key value.
func (GetUserJobRequestValidationError) Reason ¶
func (e GetUserJobRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserReply ¶
type GetUserReply struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserReply) Descriptor
deprecated
func (*GetUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.
func (*GetUserReply) GetUser ¶
func (x *GetUserReply) GetUser() *User
func (*GetUserReply) ProtoMessage ¶
func (*GetUserReply) ProtoMessage()
func (*GetUserReply) ProtoReflect ¶
func (x *GetUserReply) ProtoReflect() protoreflect.Message
func (*GetUserReply) Reset ¶
func (x *GetUserReply) Reset()
func (*GetUserReply) String ¶
func (x *GetUserReply) String() string
func (*GetUserReply) Validate ¶
func (m *GetUserReply) Validate() error
Validate checks the field values on GetUserReply 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 (*GetUserReply) ValidateAll ¶
func (m *GetUserReply) ValidateAll() error
ValidateAll checks the field values on GetUserReply 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 GetUserReplyMultiError, or nil if none found.
type GetUserReplyMultiError ¶
type GetUserReplyMultiError []error
GetUserReplyMultiError is an error wrapping multiple validation errors returned by GetUserReply.ValidateAll() if the designated constraints aren't met.
func (GetUserReplyMultiError) AllErrors ¶
func (m GetUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserReplyMultiError) Error ¶
func (m GetUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserReplyValidationError ¶
type GetUserReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserReplyValidationError is the validation error returned by GetUserReply.Validate if the designated constraints aren't met.
func (GetUserReplyValidationError) Cause ¶
func (e GetUserReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserReplyValidationError) Error ¶
func (e GetUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserReplyValidationError) ErrorName ¶
func (e GetUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserReplyValidationError) Field ¶
func (e GetUserReplyValidationError) Field() string
Field function returns field value.
func (GetUserReplyValidationError) Key ¶
func (e GetUserReplyValidationError) Key() bool
Key function returns key value.
func (GetUserReplyValidationError) Reason ¶
func (e GetUserReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserRequest ¶
type GetUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() uint32
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() error
Validate checks the field values on GetUserRequest 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 (*GetUserRequest) ValidateAll ¶
func (m *GetUserRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRequest 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 GetUserRequestMultiError, or nil if none found.
type GetUserRequestMultiError ¶
type GetUserRequestMultiError []error
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRequestMultiError) AllErrors ¶
func (m GetUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRequestMultiError) Error ¶
func (m GetUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRequestValidationError ¶
type GetUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
func (GetUserRequestValidationError) Cause ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserRolesReply ¶
type GetUserRolesReply struct { UserRole []*UserRole `protobuf:"bytes,1,rep,name=user_role,json=userRole,proto3" json:"user_role,omitempty"` // contains filtered or unexported fields }
func (*GetUserRolesReply) Descriptor
deprecated
func (*GetUserRolesReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRolesReply.ProtoReflect.Descriptor instead.
func (*GetUserRolesReply) GetUserRole ¶
func (x *GetUserRolesReply) GetUserRole() []*UserRole
func (*GetUserRolesReply) ProtoMessage ¶
func (*GetUserRolesReply) ProtoMessage()
func (*GetUserRolesReply) ProtoReflect ¶
func (x *GetUserRolesReply) ProtoReflect() protoreflect.Message
func (*GetUserRolesReply) Reset ¶
func (x *GetUserRolesReply) Reset()
func (*GetUserRolesReply) String ¶
func (x *GetUserRolesReply) String() string
func (*GetUserRolesReply) Validate ¶
func (m *GetUserRolesReply) Validate() error
Validate checks the field values on GetUserRolesReply 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 (*GetUserRolesReply) ValidateAll ¶
func (m *GetUserRolesReply) ValidateAll() error
ValidateAll checks the field values on GetUserRolesReply 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 GetUserRolesReplyMultiError, or nil if none found.
type GetUserRolesReplyMultiError ¶
type GetUserRolesReplyMultiError []error
GetUserRolesReplyMultiError is an error wrapping multiple validation errors returned by GetUserRolesReply.ValidateAll() if the designated constraints aren't met.
func (GetUserRolesReplyMultiError) AllErrors ¶
func (m GetUserRolesReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRolesReplyMultiError) Error ¶
func (m GetUserRolesReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRolesReplyValidationError ¶
type GetUserRolesReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserRolesReplyValidationError is the validation error returned by GetUserRolesReply.Validate if the designated constraints aren't met.
func (GetUserRolesReplyValidationError) Cause ¶
func (e GetUserRolesReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserRolesReplyValidationError) Error ¶
func (e GetUserRolesReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRolesReplyValidationError) ErrorName ¶
func (e GetUserRolesReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRolesReplyValidationError) Field ¶
func (e GetUserRolesReplyValidationError) Field() string
Field function returns field value.
func (GetUserRolesReplyValidationError) Key ¶
func (e GetUserRolesReplyValidationError) Key() bool
Key function returns key value.
func (GetUserRolesReplyValidationError) Reason ¶
func (e GetUserRolesReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserRolesRequest ¶
type GetUserRolesRequest struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRolesRequest) Descriptor
deprecated
func (*GetUserRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRolesRequest.ProtoReflect.Descriptor instead.
func (*GetUserRolesRequest) GetUserId ¶
func (x *GetUserRolesRequest) GetUserId() uint32
func (*GetUserRolesRequest) ProtoMessage ¶
func (*GetUserRolesRequest) ProtoMessage()
func (*GetUserRolesRequest) ProtoReflect ¶
func (x *GetUserRolesRequest) ProtoReflect() protoreflect.Message
func (*GetUserRolesRequest) Reset ¶
func (x *GetUserRolesRequest) Reset()
func (*GetUserRolesRequest) String ¶
func (x *GetUserRolesRequest) String() string
func (*GetUserRolesRequest) Validate ¶
func (m *GetUserRolesRequest) Validate() error
Validate checks the field values on GetUserRolesRequest 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 (*GetUserRolesRequest) ValidateAll ¶
func (m *GetUserRolesRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRolesRequest 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 GetUserRolesRequestMultiError, or nil if none found.
type GetUserRolesRequestMultiError ¶
type GetUserRolesRequestMultiError []error
GetUserRolesRequestMultiError is an error wrapping multiple validation errors returned by GetUserRolesRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRolesRequestMultiError) AllErrors ¶
func (m GetUserRolesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRolesRequestMultiError) Error ¶
func (m GetUserRolesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRolesRequestValidationError ¶
type GetUserRolesRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRolesRequestValidationError is the validation error returned by GetUserRolesRequest.Validate if the designated constraints aren't met.
func (GetUserRolesRequestValidationError) Cause ¶
func (e GetUserRolesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRolesRequestValidationError) Error ¶
func (e GetUserRolesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRolesRequestValidationError) ErrorName ¶
func (e GetUserRolesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRolesRequestValidationError) Field ¶
func (e GetUserRolesRequestValidationError) Field() string
Field function returns field value.
func (GetUserRolesRequestValidationError) Key ¶
func (e GetUserRolesRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRolesRequestValidationError) Reason ¶
func (e GetUserRolesRequestValidationError) Reason() string
Reason function returns reason value.
type Job ¶
type Job struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,5,opt,name=weight,proto3,oneof" json:"weight,omitempty"` CreatedAt *uint32 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3,oneof" json:"created_at,omitempty"` UpdatedAt *uint32 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3,oneof" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Job) Descriptor
deprecated
func (*Job) GetCreatedAt ¶
func (*Job) GetDescription ¶
func (*Job) GetKeyword ¶
func (*Job) GetUpdatedAt ¶
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
func (*Job) Validate ¶
Validate checks the field values on Job 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 (*Job) ValidateAll ¶
ValidateAll checks the field values on Job 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 JobMultiError, or nil if none found.
type JobMultiError ¶
type JobMultiError []error
JobMultiError is an error wrapping multiple validation errors returned by Job.ValidateAll() if the designated constraints aren't met.
func (JobMultiError) AllErrors ¶
func (m JobMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JobMultiError) Error ¶
func (m JobMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JobValidationError ¶
type JobValidationError struct {
// contains filtered or unexported fields
}
JobValidationError is the validation error returned by Job.Validate if the designated constraints aren't met.
func (JobValidationError) Cause ¶
func (e JobValidationError) Cause() error
Cause function returns cause value.
func (JobValidationError) Error ¶
func (e JobValidationError) Error() string
Error satisfies the builtin error interface
func (JobValidationError) ErrorName ¶
func (e JobValidationError) ErrorName() string
ErrorName returns error name.
func (JobValidationError) Field ¶
func (e JobValidationError) Field() string
Field function returns field value.
func (JobValidationError) Key ¶
func (e JobValidationError) Key() bool
Key function returns key value.
func (JobValidationError) Reason ¶
func (e JobValidationError) Reason() string
Reason function returns reason value.
type LoginCaptchaReply ¶
type LoginCaptchaReply struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Captcha string `protobuf:"bytes,2,opt,name=captcha,proto3" json:"captcha,omitempty"` Expire uint32 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*LoginCaptchaReply) Descriptor
deprecated
func (*LoginCaptchaReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginCaptchaReply.ProtoReflect.Descriptor instead.
func (*LoginCaptchaReply) GetCaptcha ¶
func (x *LoginCaptchaReply) GetCaptcha() string
func (*LoginCaptchaReply) GetExpire ¶
func (x *LoginCaptchaReply) GetExpire() uint32
func (*LoginCaptchaReply) GetUuid ¶
func (x *LoginCaptchaReply) GetUuid() string
func (*LoginCaptchaReply) ProtoMessage ¶
func (*LoginCaptchaReply) ProtoMessage()
func (*LoginCaptchaReply) ProtoReflect ¶
func (x *LoginCaptchaReply) ProtoReflect() protoreflect.Message
func (*LoginCaptchaReply) Reset ¶
func (x *LoginCaptchaReply) Reset()
func (*LoginCaptchaReply) String ¶
func (x *LoginCaptchaReply) String() string
func (*LoginCaptchaReply) Validate ¶
func (m *LoginCaptchaReply) Validate() error
Validate checks the field values on LoginCaptchaReply 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 (*LoginCaptchaReply) ValidateAll ¶
func (m *LoginCaptchaReply) ValidateAll() error
ValidateAll checks the field values on LoginCaptchaReply 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 LoginCaptchaReplyMultiError, or nil if none found.
type LoginCaptchaReplyMultiError ¶
type LoginCaptchaReplyMultiError []error
LoginCaptchaReplyMultiError is an error wrapping multiple validation errors returned by LoginCaptchaReply.ValidateAll() if the designated constraints aren't met.
func (LoginCaptchaReplyMultiError) AllErrors ¶
func (m LoginCaptchaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginCaptchaReplyMultiError) Error ¶
func (m LoginCaptchaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginCaptchaReplyValidationError ¶
type LoginCaptchaReplyValidationError struct {
// contains filtered or unexported fields
}
LoginCaptchaReplyValidationError is the validation error returned by LoginCaptchaReply.Validate if the designated constraints aren't met.
func (LoginCaptchaReplyValidationError) Cause ¶
func (e LoginCaptchaReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginCaptchaReplyValidationError) Error ¶
func (e LoginCaptchaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginCaptchaReplyValidationError) ErrorName ¶
func (e LoginCaptchaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginCaptchaReplyValidationError) Field ¶
func (e LoginCaptchaReplyValidationError) Field() string
Field function returns field value.
func (LoginCaptchaReplyValidationError) Key ¶
func (e LoginCaptchaReplyValidationError) Key() bool
Key function returns key value.
func (LoginCaptchaReplyValidationError) Reason ¶
func (e LoginCaptchaReplyValidationError) Reason() string
Reason function returns reason value.
type LoginReply ¶
type LoginReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginReply) Descriptor
deprecated
func (*LoginReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
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"` CaptchaId string `protobuf:"bytes,3,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id,omitempty"` Captcha string `protobuf:"bytes,4,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
UserLoginRequest 用户登录
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetCaptcha ¶
func (x *LoginRequest) GetCaptcha() string
func (*LoginRequest) GetCaptchaId ¶
func (x *LoginRequest) GetCaptchaId() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() 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 Menu ¶
type Menu struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"` Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` Keyword string `protobuf:"bytes,7,opt,name=keyword,proto3" json:"keyword,omitempty"` Permission string `protobuf:"bytes,8,opt,name=permission,proto3" json:"permission,omitempty"` Component string `protobuf:"bytes,9,opt,name=component,proto3" json:"component,omitempty"` Api string `protobuf:"bytes,10,opt,name=api,proto3" json:"api,omitempty"` Method string `protobuf:"bytes,11,opt,name=method,proto3" json:"method,omitempty"` Redirect *string `protobuf:"bytes,12,opt,name=redirect,proto3,oneof" json:"redirect,omitempty"` Weight *int32 `protobuf:"varint,13,opt,name=weight,proto3,oneof" json:"weight,omitempty"` IsHidden *bool `protobuf:"varint,14,opt,name=is_hidden,json=isHidden,proto3,oneof" json:"is_hidden,omitempty"` IsCache *bool `protobuf:"varint,15,opt,name=is_cache,json=isCache,proto3,oneof" json:"is_cache,omitempty"` IsHome *bool `protobuf:"varint,16,opt,name=is_home,json=isHome,proto3,oneof" json:"is_home,omitempty"` IsAffix *bool `protobuf:"varint,17,opt,name=is_affix,json=isAffix,proto3,oneof" json:"is_affix,omitempty"` App string `protobuf:"bytes,18,opt,name=app,proto3" json:"app,omitempty"` Children []*Menu `protobuf:"bytes,19,rep,name=children,proto3" json:"children,omitempty"` CreatedAt uint32 `protobuf:"varint,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Menu) Descriptor
deprecated
func (*Menu) GetChildren ¶
func (*Menu) GetComponent ¶
func (*Menu) GetCreatedAt ¶
func (*Menu) GetIsAffix ¶
func (*Menu) GetIsCache ¶
func (*Menu) GetIsHidden ¶
func (*Menu) GetKeyword ¶
func (*Menu) GetParentId ¶
func (*Menu) GetPermission ¶
func (*Menu) GetRedirect ¶
func (*Menu) GetUpdatedAt ¶
func (*Menu) ProtoMessage ¶
func (*Menu) ProtoMessage()
func (*Menu) ProtoReflect ¶
func (x *Menu) ProtoReflect() protoreflect.Message
func (*Menu) Validate ¶
Validate checks the field values on Menu 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 (*Menu) ValidateAll ¶
ValidateAll checks the field values on Menu 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 MenuMultiError, or nil if none found.
type MenuMultiError ¶
type MenuMultiError []error
MenuMultiError is an error wrapping multiple validation errors returned by Menu.ValidateAll() if the designated constraints aren't met.
func (MenuMultiError) AllErrors ¶
func (m MenuMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MenuMultiError) Error ¶
func (m MenuMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MenuValidationError ¶
type MenuValidationError struct {
// contains filtered or unexported fields
}
MenuValidationError is the validation error returned by Menu.Validate if the designated constraints aren't met.
func (MenuValidationError) Cause ¶
func (e MenuValidationError) Cause() error
Cause function returns cause value.
func (MenuValidationError) Error ¶
func (e MenuValidationError) Error() string
Error satisfies the builtin error interface
func (MenuValidationError) ErrorName ¶
func (e MenuValidationError) ErrorName() string
ErrorName returns error name.
func (MenuValidationError) Field ¶
func (e MenuValidationError) Field() string
Field function returns field value.
func (MenuValidationError) Key ¶
func (e MenuValidationError) Key() bool
Key function returns key value.
func (MenuValidationError) Reason ¶
func (e MenuValidationError) Reason() string
Reason function returns reason value.
type OfflineUserRequest ¶
type OfflineUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*OfflineUserRequest) Descriptor
deprecated
func (*OfflineUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use OfflineUserRequest.ProtoReflect.Descriptor instead.
func (*OfflineUserRequest) GetId ¶
func (x *OfflineUserRequest) GetId() uint32
func (*OfflineUserRequest) ProtoMessage ¶
func (*OfflineUserRequest) ProtoMessage()
func (*OfflineUserRequest) ProtoReflect ¶
func (x *OfflineUserRequest) ProtoReflect() protoreflect.Message
func (*OfflineUserRequest) Reset ¶
func (x *OfflineUserRequest) Reset()
func (*OfflineUserRequest) String ¶
func (x *OfflineUserRequest) String() string
func (*OfflineUserRequest) Validate ¶
func (m *OfflineUserRequest) Validate() error
Validate checks the field values on OfflineUserRequest 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 (*OfflineUserRequest) ValidateAll ¶
func (m *OfflineUserRequest) ValidateAll() error
ValidateAll checks the field values on OfflineUserRequest 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 OfflineUserRequestMultiError, or nil if none found.
type OfflineUserRequestMultiError ¶
type OfflineUserRequestMultiError []error
OfflineUserRequestMultiError is an error wrapping multiple validation errors returned by OfflineUserRequest.ValidateAll() if the designated constraints aren't met.
func (OfflineUserRequestMultiError) AllErrors ¶
func (m OfflineUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OfflineUserRequestMultiError) Error ¶
func (m OfflineUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OfflineUserRequestValidationError ¶
type OfflineUserRequestValidationError struct {
// contains filtered or unexported fields
}
OfflineUserRequestValidationError is the validation error returned by OfflineUserRequest.Validate if the designated constraints aren't met.
func (OfflineUserRequestValidationError) Cause ¶
func (e OfflineUserRequestValidationError) Cause() error
Cause function returns cause value.
func (OfflineUserRequestValidationError) Error ¶
func (e OfflineUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OfflineUserRequestValidationError) ErrorName ¶
func (e OfflineUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OfflineUserRequestValidationError) Field ¶
func (e OfflineUserRequestValidationError) Field() string
Field function returns field value.
func (OfflineUserRequestValidationError) Key ¶
func (e OfflineUserRequestValidationError) Key() bool
Key function returns key value.
func (OfflineUserRequestValidationError) Reason ¶
func (e OfflineUserRequestValidationError) Reason() string
Reason function returns reason value.
type PageDictReply ¶
type PageDictReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*Dict `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageDictReply) Descriptor
deprecated
func (*PageDictReply) Descriptor() ([]byte, []int)
Deprecated: Use PageDictReply.ProtoReflect.Descriptor instead.
func (*PageDictReply) GetList ¶
func (x *PageDictReply) GetList() []*Dict
func (*PageDictReply) GetTotal ¶
func (x *PageDictReply) GetTotal() uint32
func (*PageDictReply) ProtoMessage ¶
func (*PageDictReply) ProtoMessage()
func (*PageDictReply) ProtoReflect ¶
func (x *PageDictReply) ProtoReflect() protoreflect.Message
func (*PageDictReply) Reset ¶
func (x *PageDictReply) Reset()
func (*PageDictReply) String ¶
func (x *PageDictReply) String() string
func (*PageDictReply) Validate ¶
func (m *PageDictReply) Validate() error
Validate checks the field values on PageDictReply 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 (*PageDictReply) ValidateAll ¶
func (m *PageDictReply) ValidateAll() error
ValidateAll checks the field values on PageDictReply 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 PageDictReplyMultiError, or nil if none found.
type PageDictReplyMultiError ¶
type PageDictReplyMultiError []error
PageDictReplyMultiError is an error wrapping multiple validation errors returned by PageDictReply.ValidateAll() if the designated constraints aren't met.
func (PageDictReplyMultiError) AllErrors ¶
func (m PageDictReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageDictReplyMultiError) Error ¶
func (m PageDictReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageDictReplyValidationError ¶
type PageDictReplyValidationError struct {
// contains filtered or unexported fields
}
PageDictReplyValidationError is the validation error returned by PageDictReply.Validate if the designated constraints aren't met.
func (PageDictReplyValidationError) Cause ¶
func (e PageDictReplyValidationError) Cause() error
Cause function returns cause value.
func (PageDictReplyValidationError) Error ¶
func (e PageDictReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageDictReplyValidationError) ErrorName ¶
func (e PageDictReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageDictReplyValidationError) Field ¶
func (e PageDictReplyValidationError) Field() string
Field function returns field value.
func (PageDictReplyValidationError) Key ¶
func (e PageDictReplyValidationError) Key() bool
Key function returns key value.
func (PageDictReplyValidationError) Reason ¶
func (e PageDictReplyValidationError) Reason() string
Reason function returns reason value.
type PageDictRequest ¶
type PageDictRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Keyword *string `protobuf:"bytes,3,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageDictRequest) Descriptor
deprecated
func (*PageDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageDictRequest.ProtoReflect.Descriptor instead.
func (*PageDictRequest) GetKeyword ¶
func (x *PageDictRequest) GetKeyword() string
func (*PageDictRequest) GetName ¶
func (x *PageDictRequest) GetName() string
func (*PageDictRequest) GetPage ¶
func (x *PageDictRequest) GetPage() uint32
func (*PageDictRequest) GetPageSize ¶
func (x *PageDictRequest) GetPageSize() uint32
func (*PageDictRequest) ProtoMessage ¶
func (*PageDictRequest) ProtoMessage()
func (*PageDictRequest) ProtoReflect ¶
func (x *PageDictRequest) ProtoReflect() protoreflect.Message
func (*PageDictRequest) Reset ¶
func (x *PageDictRequest) Reset()
func (*PageDictRequest) String ¶
func (x *PageDictRequest) String() string
func (*PageDictRequest) Validate ¶
func (m *PageDictRequest) Validate() error
Validate checks the field values on PageDictRequest 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 (*PageDictRequest) ValidateAll ¶
func (m *PageDictRequest) ValidateAll() error
ValidateAll checks the field values on PageDictRequest 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 PageDictRequestMultiError, or nil if none found.
type PageDictRequestMultiError ¶
type PageDictRequestMultiError []error
PageDictRequestMultiError is an error wrapping multiple validation errors returned by PageDictRequest.ValidateAll() if the designated constraints aren't met.
func (PageDictRequestMultiError) AllErrors ¶
func (m PageDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageDictRequestMultiError) Error ¶
func (m PageDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageDictRequestValidationError ¶
type PageDictRequestValidationError struct {
// contains filtered or unexported fields
}
PageDictRequestValidationError is the validation error returned by PageDictRequest.Validate if the designated constraints aren't met.
func (PageDictRequestValidationError) Cause ¶
func (e PageDictRequestValidationError) Cause() error
Cause function returns cause value.
func (PageDictRequestValidationError) Error ¶
func (e PageDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageDictRequestValidationError) ErrorName ¶
func (e PageDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageDictRequestValidationError) Field ¶
func (e PageDictRequestValidationError) Field() string
Field function returns field value.
func (PageDictRequestValidationError) Key ¶
func (e PageDictRequestValidationError) Key() bool
Key function returns key value.
func (PageDictRequestValidationError) Reason ¶
func (e PageDictRequestValidationError) Reason() string
Reason function returns reason value.
type PageDictValueReply ¶
type PageDictValueReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*DictValue `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageDictValueReply) Descriptor
deprecated
func (*PageDictValueReply) Descriptor() ([]byte, []int)
Deprecated: Use PageDictValueReply.ProtoReflect.Descriptor instead.
func (*PageDictValueReply) GetList ¶
func (x *PageDictValueReply) GetList() []*DictValue
func (*PageDictValueReply) GetTotal ¶
func (x *PageDictValueReply) GetTotal() uint32
func (*PageDictValueReply) ProtoMessage ¶
func (*PageDictValueReply) ProtoMessage()
func (*PageDictValueReply) ProtoReflect ¶
func (x *PageDictValueReply) ProtoReflect() protoreflect.Message
func (*PageDictValueReply) Reset ¶
func (x *PageDictValueReply) Reset()
func (*PageDictValueReply) String ¶
func (x *PageDictValueReply) String() string
func (*PageDictValueReply) Validate ¶
func (m *PageDictValueReply) Validate() error
Validate checks the field values on PageDictValueReply 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 (*PageDictValueReply) ValidateAll ¶
func (m *PageDictValueReply) ValidateAll() error
ValidateAll checks the field values on PageDictValueReply 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 PageDictValueReplyMultiError, or nil if none found.
type PageDictValueReplyMultiError ¶
type PageDictValueReplyMultiError []error
PageDictValueReplyMultiError is an error wrapping multiple validation errors returned by PageDictValueReply.ValidateAll() if the designated constraints aren't met.
func (PageDictValueReplyMultiError) AllErrors ¶
func (m PageDictValueReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageDictValueReplyMultiError) Error ¶
func (m PageDictValueReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageDictValueReplyValidationError ¶
type PageDictValueReplyValidationError struct {
// contains filtered or unexported fields
}
PageDictValueReplyValidationError is the validation error returned by PageDictValueReply.Validate if the designated constraints aren't met.
func (PageDictValueReplyValidationError) Cause ¶
func (e PageDictValueReplyValidationError) Cause() error
Cause function returns cause value.
func (PageDictValueReplyValidationError) Error ¶
func (e PageDictValueReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageDictValueReplyValidationError) ErrorName ¶
func (e PageDictValueReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageDictValueReplyValidationError) Field ¶
func (e PageDictValueReplyValidationError) Field() string
Field function returns field value.
func (PageDictValueReplyValidationError) Key ¶
func (e PageDictValueReplyValidationError) Key() bool
Key function returns key value.
func (PageDictValueReplyValidationError) Reason ¶
func (e PageDictValueReplyValidationError) Reason() string
Reason function returns reason value.
type PageDictValueRequest ¶
type PageDictValueRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Label *string `protobuf:"bytes,3,opt,name=label,proto3,oneof" json:"label,omitempty"` Value *string `protobuf:"bytes,4,opt,name=value,proto3,oneof" json:"value,omitempty"` // contains filtered or unexported fields }
func (*PageDictValueRequest) Descriptor
deprecated
func (*PageDictValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageDictValueRequest.ProtoReflect.Descriptor instead.
func (*PageDictValueRequest) GetLabel ¶
func (x *PageDictValueRequest) GetLabel() string
func (*PageDictValueRequest) GetPage ¶
func (x *PageDictValueRequest) GetPage() uint32
func (*PageDictValueRequest) GetPageSize ¶
func (x *PageDictValueRequest) GetPageSize() uint32
func (*PageDictValueRequest) GetValue ¶
func (x *PageDictValueRequest) GetValue() string
func (*PageDictValueRequest) ProtoMessage ¶
func (*PageDictValueRequest) ProtoMessage()
func (*PageDictValueRequest) ProtoReflect ¶
func (x *PageDictValueRequest) ProtoReflect() protoreflect.Message
func (*PageDictValueRequest) Reset ¶
func (x *PageDictValueRequest) Reset()
func (*PageDictValueRequest) String ¶
func (x *PageDictValueRequest) String() string
func (*PageDictValueRequest) Validate ¶
func (m *PageDictValueRequest) Validate() error
Validate checks the field values on PageDictValueRequest 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 (*PageDictValueRequest) ValidateAll ¶
func (m *PageDictValueRequest) ValidateAll() error
ValidateAll checks the field values on PageDictValueRequest 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 PageDictValueRequestMultiError, or nil if none found.
type PageDictValueRequestMultiError ¶
type PageDictValueRequestMultiError []error
PageDictValueRequestMultiError is an error wrapping multiple validation errors returned by PageDictValueRequest.ValidateAll() if the designated constraints aren't met.
func (PageDictValueRequestMultiError) AllErrors ¶
func (m PageDictValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageDictValueRequestMultiError) Error ¶
func (m PageDictValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageDictValueRequestValidationError ¶
type PageDictValueRequestValidationError struct {
// contains filtered or unexported fields
}
PageDictValueRequestValidationError is the validation error returned by PageDictValueRequest.Validate if the designated constraints aren't met.
func (PageDictValueRequestValidationError) Cause ¶
func (e PageDictValueRequestValidationError) Cause() error
Cause function returns cause value.
func (PageDictValueRequestValidationError) Error ¶
func (e PageDictValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageDictValueRequestValidationError) ErrorName ¶
func (e PageDictValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageDictValueRequestValidationError) Field ¶
func (e PageDictValueRequestValidationError) Field() string
Field function returns field value.
func (PageDictValueRequestValidationError) Key ¶
func (e PageDictValueRequestValidationError) Key() bool
Key function returns key value.
func (PageDictValueRequestValidationError) Reason ¶
func (e PageDictValueRequestValidationError) Reason() string
Reason function returns reason value.
type PageJobReply ¶
type PageJobReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*Job `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageJobReply) Descriptor
deprecated
func (*PageJobReply) Descriptor() ([]byte, []int)
Deprecated: Use PageJobReply.ProtoReflect.Descriptor instead.
func (*PageJobReply) GetList ¶
func (x *PageJobReply) GetList() []*Job
func (*PageJobReply) GetTotal ¶
func (x *PageJobReply) GetTotal() uint32
func (*PageJobReply) ProtoMessage ¶
func (*PageJobReply) ProtoMessage()
func (*PageJobReply) ProtoReflect ¶
func (x *PageJobReply) ProtoReflect() protoreflect.Message
func (*PageJobReply) Reset ¶
func (x *PageJobReply) Reset()
func (*PageJobReply) String ¶
func (x *PageJobReply) String() string
func (*PageJobReply) Validate ¶
func (m *PageJobReply) Validate() error
Validate checks the field values on PageJobReply 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 (*PageJobReply) ValidateAll ¶
func (m *PageJobReply) ValidateAll() error
ValidateAll checks the field values on PageJobReply 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 PageJobReplyMultiError, or nil if none found.
type PageJobReplyMultiError ¶
type PageJobReplyMultiError []error
PageJobReplyMultiError is an error wrapping multiple validation errors returned by PageJobReply.ValidateAll() if the designated constraints aren't met.
func (PageJobReplyMultiError) AllErrors ¶
func (m PageJobReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageJobReplyMultiError) Error ¶
func (m PageJobReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageJobReplyValidationError ¶
type PageJobReplyValidationError struct {
// contains filtered or unexported fields
}
PageJobReplyValidationError is the validation error returned by PageJobReply.Validate if the designated constraints aren't met.
func (PageJobReplyValidationError) Cause ¶
func (e PageJobReplyValidationError) Cause() error
Cause function returns cause value.
func (PageJobReplyValidationError) Error ¶
func (e PageJobReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageJobReplyValidationError) ErrorName ¶
func (e PageJobReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageJobReplyValidationError) Field ¶
func (e PageJobReplyValidationError) Field() string
Field function returns field value.
func (PageJobReplyValidationError) Key ¶
func (e PageJobReplyValidationError) Key() bool
Key function returns key value.
func (PageJobReplyValidationError) Reason ¶
func (e PageJobReplyValidationError) Reason() string
Reason function returns reason value.
type PageJobRequest ¶
type PageJobRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Keyword *string `protobuf:"bytes,3,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` // contains filtered or unexported fields }
func (*PageJobRequest) Descriptor
deprecated
func (*PageJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageJobRequest.ProtoReflect.Descriptor instead.
func (*PageJobRequest) GetKeyword ¶
func (x *PageJobRequest) GetKeyword() string
func (*PageJobRequest) GetPage ¶
func (x *PageJobRequest) GetPage() uint32
func (*PageJobRequest) GetPageSize ¶
func (x *PageJobRequest) GetPageSize() uint32
func (*PageJobRequest) ProtoMessage ¶
func (*PageJobRequest) ProtoMessage()
func (*PageJobRequest) ProtoReflect ¶
func (x *PageJobRequest) ProtoReflect() protoreflect.Message
func (*PageJobRequest) Reset ¶
func (x *PageJobRequest) Reset()
func (*PageJobRequest) String ¶
func (x *PageJobRequest) String() string
func (*PageJobRequest) Validate ¶
func (m *PageJobRequest) Validate() error
Validate checks the field values on PageJobRequest 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 (*PageJobRequest) ValidateAll ¶
func (m *PageJobRequest) ValidateAll() error
ValidateAll checks the field values on PageJobRequest 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 PageJobRequestMultiError, or nil if none found.
type PageJobRequestMultiError ¶
type PageJobRequestMultiError []error
PageJobRequestMultiError is an error wrapping multiple validation errors returned by PageJobRequest.ValidateAll() if the designated constraints aren't met.
func (PageJobRequestMultiError) AllErrors ¶
func (m PageJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageJobRequestMultiError) Error ¶
func (m PageJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageJobRequestValidationError ¶
type PageJobRequestValidationError struct {
// contains filtered or unexported fields
}
PageJobRequestValidationError is the validation error returned by PageJobRequest.Validate if the designated constraints aren't met.
func (PageJobRequestValidationError) Cause ¶
func (e PageJobRequestValidationError) Cause() error
Cause function returns cause value.
func (PageJobRequestValidationError) Error ¶
func (e PageJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageJobRequestValidationError) ErrorName ¶
func (e PageJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageJobRequestValidationError) Field ¶
func (e PageJobRequestValidationError) Field() string
Field function returns field value.
func (PageJobRequestValidationError) Key ¶
func (e PageJobRequestValidationError) Key() bool
Key function returns key value.
func (PageJobRequestValidationError) Reason ¶
func (e PageJobRequestValidationError) Reason() string
Reason function returns reason value.
type PageUserReply ¶
type PageUserReply struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` List []*User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageUserReply) Descriptor
deprecated
func (*PageUserReply) Descriptor() ([]byte, []int)
Deprecated: Use PageUserReply.ProtoReflect.Descriptor instead.
func (*PageUserReply) GetList ¶
func (x *PageUserReply) GetList() []*User
func (*PageUserReply) GetTotal ¶
func (x *PageUserReply) GetTotal() uint32
func (*PageUserReply) ProtoMessage ¶
func (*PageUserReply) ProtoMessage()
func (*PageUserReply) ProtoReflect ¶
func (x *PageUserReply) ProtoReflect() protoreflect.Message
func (*PageUserReply) Reset ¶
func (x *PageUserReply) Reset()
func (*PageUserReply) String ¶
func (x *PageUserReply) String() string
func (*PageUserReply) Validate ¶
func (m *PageUserReply) Validate() error
Validate checks the field values on PageUserReply 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 (*PageUserReply) ValidateAll ¶
func (m *PageUserReply) ValidateAll() error
ValidateAll checks the field values on PageUserReply 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 PageUserReplyMultiError, or nil if none found.
type PageUserReplyMultiError ¶
type PageUserReplyMultiError []error
PageUserReplyMultiError is an error wrapping multiple validation errors returned by PageUserReply.ValidateAll() if the designated constraints aren't met.
func (PageUserReplyMultiError) AllErrors ¶
func (m PageUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageUserReplyMultiError) Error ¶
func (m PageUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageUserReplyValidationError ¶
type PageUserReplyValidationError struct {
// contains filtered or unexported fields
}
PageUserReplyValidationError is the validation error returned by PageUserReply.Validate if the designated constraints aren't met.
func (PageUserReplyValidationError) Cause ¶
func (e PageUserReplyValidationError) Cause() error
Cause function returns cause value.
func (PageUserReplyValidationError) Error ¶
func (e PageUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PageUserReplyValidationError) ErrorName ¶
func (e PageUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PageUserReplyValidationError) Field ¶
func (e PageUserReplyValidationError) Field() string
Field function returns field value.
func (PageUserReplyValidationError) Key ¶
func (e PageUserReplyValidationError) Key() bool
Key function returns key value.
func (PageUserReplyValidationError) Reason ¶
func (e PageUserReplyValidationError) Reason() string
Reason function returns reason value.
type PageUserRequest ¶
type PageUserRequest struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` RoleId *uint32 `protobuf:"varint,5,opt,name=role_id,json=roleId,proto3,oneof" json:"role_id,omitempty"` DepartmentId *uint32 `protobuf:"varint,6,opt,name=department_id,json=departmentId,proto3,oneof" json:"department_id,omitempty"` StartTime *uint32 `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"` EndTime *uint32 `protobuf:"varint,8,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"` Name *string `protobuf:"bytes,9,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageUserRequest) Descriptor
deprecated
func (*PageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageUserRequest.ProtoReflect.Descriptor instead.
func (*PageUserRequest) GetDepartmentId ¶
func (x *PageUserRequest) GetDepartmentId() uint32
func (*PageUserRequest) GetEndTime ¶
func (x *PageUserRequest) GetEndTime() uint32
func (*PageUserRequest) GetName ¶
func (x *PageUserRequest) GetName() string
func (*PageUserRequest) GetPage ¶
func (x *PageUserRequest) GetPage() uint32
func (*PageUserRequest) GetPageSize ¶
func (x *PageUserRequest) GetPageSize() uint32
func (*PageUserRequest) GetRoleId ¶
func (x *PageUserRequest) GetRoleId() uint32
func (*PageUserRequest) GetStartTime ¶
func (x *PageUserRequest) GetStartTime() uint32
func (*PageUserRequest) GetStatus ¶
func (x *PageUserRequest) GetStatus() bool
func (*PageUserRequest) GetUsername ¶
func (x *PageUserRequest) GetUsername() string
func (*PageUserRequest) ProtoMessage ¶
func (*PageUserRequest) ProtoMessage()
func (*PageUserRequest) ProtoReflect ¶
func (x *PageUserRequest) ProtoReflect() protoreflect.Message
func (*PageUserRequest) Reset ¶
func (x *PageUserRequest) Reset()
func (*PageUserRequest) String ¶
func (x *PageUserRequest) String() string
func (*PageUserRequest) Validate ¶
func (m *PageUserRequest) Validate() error
Validate checks the field values on PageUserRequest 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 (*PageUserRequest) ValidateAll ¶
func (m *PageUserRequest) ValidateAll() error
ValidateAll checks the field values on PageUserRequest 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 PageUserRequestMultiError, or nil if none found.
type PageUserRequestMultiError ¶
type PageUserRequestMultiError []error
PageUserRequestMultiError is an error wrapping multiple validation errors returned by PageUserRequest.ValidateAll() if the designated constraints aren't met.
func (PageUserRequestMultiError) AllErrors ¶
func (m PageUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageUserRequestMultiError) Error ¶
func (m PageUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageUserRequestValidationError ¶
type PageUserRequestValidationError struct {
// contains filtered or unexported fields
}
PageUserRequestValidationError is the validation error returned by PageUserRequest.Validate if the designated constraints aren't met.
func (PageUserRequestValidationError) Cause ¶
func (e PageUserRequestValidationError) Cause() error
Cause function returns cause value.
func (PageUserRequestValidationError) Error ¶
func (e PageUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PageUserRequestValidationError) ErrorName ¶
func (e PageUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PageUserRequestValidationError) Field ¶
func (e PageUserRequestValidationError) Field() string
Field function returns field value.
func (PageUserRequestValidationError) Key ¶
func (e PageUserRequestValidationError) Key() bool
Key function returns key value.
func (PageUserRequestValidationError) Reason ¶
func (e PageUserRequestValidationError) Reason() string
Reason function returns reason value.
type ParseTokenReply ¶
type ParseTokenReply struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*ParseTokenReply) Descriptor
deprecated
func (*ParseTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use ParseTokenReply.ProtoReflect.Descriptor instead.
func (*ParseTokenReply) GetRoleId ¶
func (x *ParseTokenReply) GetRoleId() uint32
func (*ParseTokenReply) GetUserId ¶
func (x *ParseTokenReply) GetUserId() uint32
func (*ParseTokenReply) ProtoMessage ¶
func (*ParseTokenReply) ProtoMessage()
func (*ParseTokenReply) ProtoReflect ¶
func (x *ParseTokenReply) ProtoReflect() protoreflect.Message
func (*ParseTokenReply) Reset ¶
func (x *ParseTokenReply) Reset()
func (*ParseTokenReply) String ¶
func (x *ParseTokenReply) String() string
func (*ParseTokenReply) Validate ¶
func (m *ParseTokenReply) Validate() error
Validate checks the field values on ParseTokenReply 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 (*ParseTokenReply) ValidateAll ¶
func (m *ParseTokenReply) ValidateAll() error
ValidateAll checks the field values on ParseTokenReply 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 ParseTokenReplyMultiError, or nil if none found.
type ParseTokenReplyMultiError ¶
type ParseTokenReplyMultiError []error
ParseTokenReplyMultiError is an error wrapping multiple validation errors returned by ParseTokenReply.ValidateAll() if the designated constraints aren't met.
func (ParseTokenReplyMultiError) AllErrors ¶
func (m ParseTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParseTokenReplyMultiError) Error ¶
func (m ParseTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParseTokenReplyValidationError ¶
type ParseTokenReplyValidationError struct {
// contains filtered or unexported fields
}
ParseTokenReplyValidationError is the validation error returned by ParseTokenReply.Validate if the designated constraints aren't met.
func (ParseTokenReplyValidationError) Cause ¶
func (e ParseTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (ParseTokenReplyValidationError) Error ¶
func (e ParseTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ParseTokenReplyValidationError) ErrorName ¶
func (e ParseTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ParseTokenReplyValidationError) Field ¶
func (e ParseTokenReplyValidationError) Field() string
Field function returns field value.
func (ParseTokenReplyValidationError) Key ¶
func (e ParseTokenReplyValidationError) Key() bool
Key function returns key value.
func (ParseTokenReplyValidationError) Reason ¶
func (e ParseTokenReplyValidationError) Reason() string
Reason function returns reason value.
type RefreshTokenReply ¶
type RefreshTokenReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenReply) Descriptor
deprecated
func (*RefreshTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenReply.ProtoReflect.Descriptor instead.
func (*RefreshTokenReply) GetToken ¶
func (x *RefreshTokenReply) GetToken() string
func (*RefreshTokenReply) ProtoMessage ¶
func (*RefreshTokenReply) ProtoMessage()
func (*RefreshTokenReply) ProtoReflect ¶
func (x *RefreshTokenReply) ProtoReflect() protoreflect.Message
func (*RefreshTokenReply) Reset ¶
func (x *RefreshTokenReply) Reset()
func (*RefreshTokenReply) String ¶
func (x *RefreshTokenReply) String() string
func (*RefreshTokenReply) Validate ¶
func (m *RefreshTokenReply) Validate() error
Validate checks the field values on RefreshTokenReply 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 (*RefreshTokenReply) ValidateAll ¶
func (m *RefreshTokenReply) ValidateAll() error
ValidateAll checks the field values on RefreshTokenReply 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 RefreshTokenReplyMultiError, or nil if none found.
type RefreshTokenReplyMultiError ¶
type RefreshTokenReplyMultiError []error
RefreshTokenReplyMultiError is an error wrapping multiple validation errors returned by RefreshTokenReply.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenReplyMultiError) AllErrors ¶
func (m RefreshTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenReplyMultiError) Error ¶
func (m RefreshTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenReplyValidationError ¶
type RefreshTokenReplyValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenReplyValidationError is the validation error returned by RefreshTokenReply.Validate if the designated constraints aren't met.
func (RefreshTokenReplyValidationError) Cause ¶
func (e RefreshTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenReplyValidationError) Error ¶
func (e RefreshTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenReplyValidationError) ErrorName ¶
func (e RefreshTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenReplyValidationError) Field ¶
func (e RefreshTokenReplyValidationError) Field() string
Field function returns field value.
func (RefreshTokenReplyValidationError) Key ¶
func (e RefreshTokenReplyValidationError) Key() bool
Key function returns key value.
func (RefreshTokenReplyValidationError) Reason ¶
func (e RefreshTokenReplyValidationError) Reason() string
Reason function returns reason value.
type ResetUserPasswordRequest ¶
type ResetUserPasswordRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResetUserPasswordRequest) Descriptor
deprecated
func (*ResetUserPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetUserPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetUserPasswordRequest) GetId ¶
func (x *ResetUserPasswordRequest) GetId() uint32
func (*ResetUserPasswordRequest) ProtoMessage ¶
func (*ResetUserPasswordRequest) ProtoMessage()
func (*ResetUserPasswordRequest) ProtoReflect ¶
func (x *ResetUserPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetUserPasswordRequest) Reset ¶
func (x *ResetUserPasswordRequest) Reset()
func (*ResetUserPasswordRequest) String ¶
func (x *ResetUserPasswordRequest) String() string
func (*ResetUserPasswordRequest) Validate ¶
func (m *ResetUserPasswordRequest) Validate() error
Validate checks the field values on ResetUserPasswordRequest 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 (*ResetUserPasswordRequest) ValidateAll ¶
func (m *ResetUserPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ResetUserPasswordRequest 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 ResetUserPasswordRequestMultiError, or nil if none found.
type ResetUserPasswordRequestMultiError ¶
type ResetUserPasswordRequestMultiError []error
ResetUserPasswordRequestMultiError is an error wrapping multiple validation errors returned by ResetUserPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ResetUserPasswordRequestMultiError) AllErrors ¶
func (m ResetUserPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetUserPasswordRequestMultiError) Error ¶
func (m ResetUserPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetUserPasswordRequestValidationError ¶
type ResetUserPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ResetUserPasswordRequestValidationError is the validation error returned by ResetUserPasswordRequest.Validate if the designated constraints aren't met.
func (ResetUserPasswordRequestValidationError) Cause ¶
func (e ResetUserPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ResetUserPasswordRequestValidationError) Error ¶
func (e ResetUserPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResetUserPasswordRequestValidationError) ErrorName ¶
func (e ResetUserPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResetUserPasswordRequestValidationError) Field ¶
func (e ResetUserPasswordRequestValidationError) Field() string
Field function returns field value.
func (ResetUserPasswordRequestValidationError) Key ¶
func (e ResetUserPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ResetUserPasswordRequestValidationError) Reason ¶
func (e ResetUserPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` Status bool `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` DepartmentIds string `protobuf:"bytes,7,opt,name=department_ids,json=departmentIds,proto3" json:"department_ids,omitempty"` DataScope string `protobuf:"bytes,8,opt,name=data_scope,json=dataScope,proto3" json:"data_scope,omitempty"` CreatedAt uint32 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Children []*Role `protobuf:"bytes,11,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetChildren ¶
func (*Role) GetCreatedAt ¶
func (*Role) GetDataScope ¶
func (*Role) GetDepartmentIds ¶
func (*Role) GetDescription ¶
func (*Role) GetKeyword ¶
func (*Role) GetParentId ¶
func (*Role) GetUpdatedAt ¶
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 RoleMenu ¶
type RoleMenu struct { MenuId uint32 `protobuf:"varint,1,opt,name=menu_id,json=menuId,proto3" json:"menu_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Menu *Menu `protobuf:"bytes,3,opt,name=menu,proto3" json:"menu,omitempty"` // contains filtered or unexported fields }
func (*RoleMenu) Descriptor
deprecated
func (*RoleMenu) ProtoMessage ¶
func (*RoleMenu) ProtoMessage()
func (*RoleMenu) ProtoReflect ¶
func (x *RoleMenu) ProtoReflect() protoreflect.Message
func (*RoleMenu) Validate ¶
Validate checks the field values on RoleMenu 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 (*RoleMenu) ValidateAll ¶
ValidateAll checks the field values on RoleMenu 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 RoleMenuMultiError, or nil if none found.
type RoleMenuMultiError ¶
type RoleMenuMultiError []error
RoleMenuMultiError is an error wrapping multiple validation errors returned by RoleMenu.ValidateAll() if the designated constraints aren't met.
func (RoleMenuMultiError) AllErrors ¶
func (m RoleMenuMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleMenuMultiError) Error ¶
func (m RoleMenuMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleMenuValidationError ¶
type RoleMenuValidationError struct {
// contains filtered or unexported fields
}
RoleMenuValidationError is the validation error returned by RoleMenu.Validate if the designated constraints aren't met.
func (RoleMenuValidationError) Cause ¶
func (e RoleMenuValidationError) Cause() error
Cause function returns cause value.
func (RoleMenuValidationError) Error ¶
func (e RoleMenuValidationError) Error() string
Error satisfies the builtin error interface
func (RoleMenuValidationError) ErrorName ¶
func (e RoleMenuValidationError) ErrorName() string
ErrorName returns error name.
func (RoleMenuValidationError) Field ¶
func (e RoleMenuValidationError) Field() string
Field function returns field value.
func (RoleMenuValidationError) Key ¶
func (e RoleMenuValidationError) Key() bool
Key function returns key value.
func (RoleMenuValidationError) Reason ¶
func (e RoleMenuValidationError) Reason() string
Reason function returns reason value.
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 ServiceClient ¶
type ServiceClient interface { Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error) LoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LoginCaptchaReply, error) Logout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) ParseToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ParseTokenReply, error) RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RefreshTokenReply, error) // GetSetting 获取当前系统的配置 GetSetting(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSettingReply, error) // GetRole 获取指定角色,不开放http,只允许内部grpc调用 GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleReply, error) // CurrentRoleMenus 获取当前用户的角色列表 CurrentRoleMenuTree(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CurrentRoleMenuTreeReply, error) // CurrentRoleMenus 获取当前用户的角色列表 GetRoleMenuIds(ctx context.Context, in *GetRoleMenuIdsRequest, opts ...grpc.CallOption) (*GetRoleMenuIdsReply, error) // AddRoleMenus 更新角色菜单 UpdateRoleMenus(ctx context.Context, in *UpdateRoleMenuRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetRoleTree 获取角色树 GetRoleTree(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetRoleTreeReply, error) // AddRole 新增角色 AddRole(ctx context.Context, in *AddRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateRole 更新角色 UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteRole 删除角色 DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetMenuTree 获取菜单树 GetMenuTree(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetMenuTreeReply, error) // AddMenu 新增菜单 AddMenu(ctx context.Context, in *AddMenuRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateMenu 更新菜单 UpdateMenu(ctx context.Context, in *UpdateMenuRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteMenu 删除菜单 DeleteMenu(ctx context.Context, in *DeleteMenuRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetDepartmentTree 获取部门树 GetDepartmentTree(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDepartmentTreeReply, error) // GetDepartmentTree 获取指定部门 GetDepartment(ctx context.Context, in *GetDepartmentRequest, opts ...grpc.CallOption) (*GetDepartmentReply, error) // AddDepartment 删除部门信息 AddDepartment(ctx context.Context, in *AddDepartmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateDepartment 更新部门信息 UpdateDepartment(ctx context.Context, in *UpdateDepartmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteDepartment 删除部门信息 DeleteDepartment(ctx context.Context, in *DeleteDepartmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetUser 获取指定用户信息,不开放http,只允许内部grpc调用 GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserReply, error) // CurrentUser 获取当前用户信息 CurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserReply, error) // PageUser 新增用户信息 PageUser(ctx context.Context, in *PageUserRequest, opts ...grpc.CallOption) (*PageUserReply, error) // AddUser 新增用户信息 AddUser(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // ChangeUserPasswordCaptcha 用户修改密码验证码 ChangeUserPasswordCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ChangeUserPasswordCaptchaReply, error) // ResetUserPassword 重置用户密码 ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // ChangeUserPassword 用户修改密码 ChangeUserPassword(ctx context.Context, in *ChangeUserPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DisableUser 禁用用户 DisableUser(ctx context.Context, in *DisableUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DisableUser 禁用用户 EnableUser(ctx context.Context, in *EnableUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DisableUser 禁用用户 OfflineUser(ctx context.Context, in *OfflineUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateUser 更新用户信息 UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateUserBasic 更新用户基础信息 UpdateUserBasic(ctx context.Context, in *UpdateUserBasicRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteUser 删除用户信息 DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // CurrentUserRoles 获取当前用户的角色列表 CurrentUserRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserRolesReply, error) // SwitchCurrentUserRole 切换用户当前角色 SwitchCurrentUserRole(ctx context.Context, in *SwitchCurrentUserRoleRequest, opts ...grpc.CallOption) (*SwitchCurrentUserRoleReply, error) // CurrentUserRoles 获取当前用户的角色列表 GetUserRoles(ctx context.Context, in *GetUserRolesRequest, opts ...grpc.CallOption) (*GetUserRolesReply, error) // GetJob 获取指定职位 GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*GetJobReply, error) // GetJob 获取用户职位 GetUserJob(ctx context.Context, in *GetUserJobRequest, opts ...grpc.CallOption) (*GetUserJobReply, error) // PageJob 分页获取职位信息 PageJob(ctx context.Context, in *PageJobRequest, opts ...grpc.CallOption) (*PageJobReply, error) // AddJob 删除职位信息 AddJob(ctx context.Context, in *AddJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateJob 更新职位信息 UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteJob 删除职位信息 DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // PageDict 分页获取字典信息 PageDict(ctx context.Context, in *PageDictRequest, opts ...grpc.CallOption) (*PageDictReply, error) // AddDict 删除字典信息 AddDict(ctx context.Context, in *AddDictRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateDict 更新字典信息 UpdateDict(ctx context.Context, in *UpdateDictRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteDict 删除字典信息 DeleteDict(ctx context.Context, in *DeleteDictRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // PageDictValue 分页获取字典信息 PageDictValue(ctx context.Context, in *PageDictValueRequest, opts ...grpc.CallOption) (*PageDictValueReply, error) // AddDictValue 删除字典信息 AddDictValue(ctx context.Context, in *AddDictValueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // UpdateDictValue 更新字典信息 UpdateDictValue(ctx context.Context, in *UpdateDictValueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // DeleteDictValue 删除字典信息 DeleteDictValue(ctx context.Context, in *DeleteDictValueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceHTTPClient ¶
type ServiceHTTPClient interface { AddDepartment(ctx context.Context, req *AddDepartmentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) AddDict(ctx context.Context, req *AddDictRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) AddDictValue(ctx context.Context, req *AddDictValueRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) AddJob(ctx context.Context, req *AddJobRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) AddMenu(ctx context.Context, req *AddMenuRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) AddRole(ctx context.Context, req *AddRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) AddUser(ctx context.Context, req *AddUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) Auth(ctx context.Context, req *AuthRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ChangeUserPassword(ctx context.Context, req *ChangeUserPasswordRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) ChangeUserPasswordCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *ChangeUserPasswordCaptchaReply, err error) CurrentRoleMenuTree(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CurrentRoleMenuTreeReply, err error) CurrentUser(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetUserReply, err error) CurrentUserRoles(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetUserRolesReply, err error) DeleteDepartment(ctx context.Context, req *DeleteDepartmentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteDict(ctx context.Context, req *DeleteDictRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteDictValue(ctx context.Context, req *DeleteDictValueRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteJob(ctx context.Context, req *DeleteJobRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteMenu(ctx context.Context, req *DeleteMenuRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteRole(ctx context.Context, req *DeleteRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) DisableUser(ctx context.Context, req *DisableUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) EnableUser(ctx context.Context, req *EnableUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) GetDepartmentTree(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetDepartmentTreeReply, err error) GetMenuTree(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetMenuTreeReply, err error) GetRoleMenuIds(ctx context.Context, req *GetRoleMenuIdsRequest, opts ...http.CallOption) (rsp *GetRoleMenuIdsReply, err error) GetRoleTree(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetRoleTreeReply, err error) GetSetting(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetSettingReply, err error) GetUserJob(ctx context.Context, req *GetUserJobRequest, opts ...http.CallOption) (rsp *GetUserJobReply, err error) GetUserRoles(ctx context.Context, req *GetUserRolesRequest, opts ...http.CallOption) (rsp *GetUserRolesReply, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) LoginCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *LoginCaptchaReply, err error) Logout(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error) OfflineUser(ctx context.Context, req *OfflineUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) PageDict(ctx context.Context, req *PageDictRequest, opts ...http.CallOption) (rsp *PageDictReply, err error) PageDictValue(ctx context.Context, req *PageDictValueRequest, opts ...http.CallOption) (rsp *PageDictValueReply, err error) PageJob(ctx context.Context, req *PageJobRequest, opts ...http.CallOption) (rsp *PageJobReply, err error) PageUser(ctx context.Context, req *PageUserRequest, opts ...http.CallOption) (rsp *PageUserReply, err error) ParseToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *ParseTokenReply, err error) RefreshToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *RefreshTokenReply, err error) ResetUserPassword(ctx context.Context, req *ResetUserPasswordRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) SwitchCurrentUserRole(ctx context.Context, req *SwitchCurrentUserRoleRequest, opts ...http.CallOption) (rsp *SwitchCurrentUserRoleReply, err error) UpdateDepartment(ctx context.Context, req *UpdateDepartmentRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateDict(ctx context.Context, req *UpdateDictRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateDictValue(ctx context.Context, req *UpdateDictValueRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateJob(ctx context.Context, req *UpdateJobRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateMenu(ctx context.Context, req *UpdateMenuRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateRole(ctx context.Context, req *UpdateRoleRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateRoleMenus(ctx context.Context, req *UpdateRoleMenuRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) UpdateUserBasic(ctx context.Context, req *UpdateUserBasicRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) }
func NewServiceHTTPClient ¶
func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient
type ServiceHTTPClientImpl ¶
type ServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServiceHTTPClientImpl) AddDepartment ¶
func (c *ServiceHTTPClientImpl) AddDepartment(ctx context.Context, in *AddDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) AddDict ¶
func (c *ServiceHTTPClientImpl) AddDict(ctx context.Context, in *AddDictRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) AddDictValue ¶
func (c *ServiceHTTPClientImpl) AddDictValue(ctx context.Context, in *AddDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) AddJob ¶
func (c *ServiceHTTPClientImpl) AddJob(ctx context.Context, in *AddJobRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) AddMenu ¶
func (c *ServiceHTTPClientImpl) AddMenu(ctx context.Context, in *AddMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) AddRole ¶
func (c *ServiceHTTPClientImpl) AddRole(ctx context.Context, in *AddRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) AddUser ¶
func (c *ServiceHTTPClientImpl) AddUser(ctx context.Context, in *AddUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) Auth ¶
func (c *ServiceHTTPClientImpl) Auth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ChangeUserPassword ¶
func (c *ServiceHTTPClientImpl) ChangeUserPassword(ctx context.Context, in *ChangeUserPasswordRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) ChangeUserPasswordCaptcha ¶
func (c *ServiceHTTPClientImpl) ChangeUserPasswordCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ChangeUserPasswordCaptchaReply, error)
func (*ServiceHTTPClientImpl) CurrentRoleMenuTree ¶
func (c *ServiceHTTPClientImpl) CurrentRoleMenuTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*CurrentRoleMenuTreeReply, error)
func (*ServiceHTTPClientImpl) CurrentUser ¶
func (c *ServiceHTTPClientImpl) CurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserReply, error)
func (*ServiceHTTPClientImpl) CurrentUserRoles ¶
func (c *ServiceHTTPClientImpl) CurrentUserRoles(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserRolesReply, error)
func (*ServiceHTTPClientImpl) DeleteDepartment ¶
func (c *ServiceHTTPClientImpl) DeleteDepartment(ctx context.Context, in *DeleteDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteDict ¶
func (c *ServiceHTTPClientImpl) DeleteDict(ctx context.Context, in *DeleteDictRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteDictValue ¶
func (c *ServiceHTTPClientImpl) DeleteDictValue(ctx context.Context, in *DeleteDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteJob ¶
func (c *ServiceHTTPClientImpl) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteMenu ¶
func (c *ServiceHTTPClientImpl) DeleteMenu(ctx context.Context, in *DeleteMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteRole ¶
func (c *ServiceHTTPClientImpl) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DeleteUser ¶
func (c *ServiceHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) DisableUser ¶
func (c *ServiceHTTPClientImpl) DisableUser(ctx context.Context, in *DisableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) EnableUser ¶
func (c *ServiceHTTPClientImpl) EnableUser(ctx context.Context, in *EnableUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) GetDepartmentTree ¶
func (c *ServiceHTTPClientImpl) GetDepartmentTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetDepartmentTreeReply, error)
func (*ServiceHTTPClientImpl) GetMenuTree ¶
func (c *ServiceHTTPClientImpl) GetMenuTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetMenuTreeReply, error)
func (*ServiceHTTPClientImpl) GetRoleMenuIds ¶
func (c *ServiceHTTPClientImpl) GetRoleMenuIds(ctx context.Context, in *GetRoleMenuIdsRequest, opts ...http.CallOption) (*GetRoleMenuIdsReply, error)
func (*ServiceHTTPClientImpl) GetRoleTree ¶
func (c *ServiceHTTPClientImpl) GetRoleTree(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetRoleTreeReply, error)
func (*ServiceHTTPClientImpl) GetSetting ¶
func (c *ServiceHTTPClientImpl) GetSetting(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetSettingReply, error)
func (*ServiceHTTPClientImpl) GetUserJob ¶
func (c *ServiceHTTPClientImpl) GetUserJob(ctx context.Context, in *GetUserJobRequest, opts ...http.CallOption) (*GetUserJobReply, error)
func (*ServiceHTTPClientImpl) GetUserRoles ¶
func (c *ServiceHTTPClientImpl) GetUserRoles(ctx context.Context, in *GetUserRolesRequest, opts ...http.CallOption) (*GetUserRolesReply, error)
func (*ServiceHTTPClientImpl) Login ¶
func (c *ServiceHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*ServiceHTTPClientImpl) LoginCaptcha ¶
func (c *ServiceHTTPClientImpl) LoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*LoginCaptchaReply, error)
func (*ServiceHTTPClientImpl) Logout ¶
func (c *ServiceHTTPClientImpl) Logout(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) OfflineUser ¶
func (c *ServiceHTTPClientImpl) OfflineUser(ctx context.Context, in *OfflineUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) PageDict ¶
func (c *ServiceHTTPClientImpl) PageDict(ctx context.Context, in *PageDictRequest, opts ...http.CallOption) (*PageDictReply, error)
func (*ServiceHTTPClientImpl) PageDictValue ¶
func (c *ServiceHTTPClientImpl) PageDictValue(ctx context.Context, in *PageDictValueRequest, opts ...http.CallOption) (*PageDictValueReply, error)
func (*ServiceHTTPClientImpl) PageJob ¶
func (c *ServiceHTTPClientImpl) PageJob(ctx context.Context, in *PageJobRequest, opts ...http.CallOption) (*PageJobReply, error)
func (*ServiceHTTPClientImpl) PageUser ¶
func (c *ServiceHTTPClientImpl) PageUser(ctx context.Context, in *PageUserRequest, opts ...http.CallOption) (*PageUserReply, error)
func (*ServiceHTTPClientImpl) ParseToken ¶
func (c *ServiceHTTPClientImpl) ParseToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*ParseTokenReply, error)
func (*ServiceHTTPClientImpl) RefreshToken ¶
func (c *ServiceHTTPClientImpl) RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*RefreshTokenReply, error)
func (*ServiceHTTPClientImpl) ResetUserPassword ¶
func (c *ServiceHTTPClientImpl) ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) SwitchCurrentUserRole ¶
func (c *ServiceHTTPClientImpl) SwitchCurrentUserRole(ctx context.Context, in *SwitchCurrentUserRoleRequest, opts ...http.CallOption) (*SwitchCurrentUserRoleReply, error)
func (*ServiceHTTPClientImpl) UpdateDepartment ¶
func (c *ServiceHTTPClientImpl) UpdateDepartment(ctx context.Context, in *UpdateDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateDict ¶
func (c *ServiceHTTPClientImpl) UpdateDict(ctx context.Context, in *UpdateDictRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateDictValue ¶
func (c *ServiceHTTPClientImpl) UpdateDictValue(ctx context.Context, in *UpdateDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateJob ¶
func (c *ServiceHTTPClientImpl) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateMenu ¶
func (c *ServiceHTTPClientImpl) UpdateMenu(ctx context.Context, in *UpdateMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateRole ¶
func (c *ServiceHTTPClientImpl) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateRoleMenus ¶
func (c *ServiceHTTPClientImpl) UpdateRoleMenus(ctx context.Context, in *UpdateRoleMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateUser ¶
func (c *ServiceHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*emptypb.Empty, error)
func (*ServiceHTTPClientImpl) UpdateUserBasic ¶
func (c *ServiceHTTPClientImpl) UpdateUserBasic(ctx context.Context, in *UpdateUserBasicRequest, opts ...http.CallOption) (*emptypb.Empty, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface { // AddDepartment AddDepartment 删除部门信息 AddDepartment(context.Context, *AddDepartmentRequest) (*emptypb.Empty, error) // AddDict AddDict 删除字典信息 AddDict(context.Context, *AddDictRequest) (*emptypb.Empty, error) // AddDictValue AddDictValue 删除字典信息 AddDictValue(context.Context, *AddDictValueRequest) (*emptypb.Empty, error) // AddJob AddJob 删除职位信息 AddJob(context.Context, *AddJobRequest) (*emptypb.Empty, error) // AddMenu AddMenu 新增菜单 AddMenu(context.Context, *AddMenuRequest) (*emptypb.Empty, error) // AddRole AddRole 新增角色 AddRole(context.Context, *AddRoleRequest) (*emptypb.Empty, error) // AddUser AddUser 新增用户信息 AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error) Auth(context.Context, *AuthRequest) (*emptypb.Empty, error) // ChangeUserPassword ChangeUserPassword 用户修改密码 ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*emptypb.Empty, error) // ChangeUserPasswordCaptcha ChangeUserPasswordCaptcha 用户修改密码验证码 ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*ChangeUserPasswordCaptchaReply, error) // CurrentRoleMenuTree CurrentRoleMenus 获取当前用户的角色列表 CurrentRoleMenuTree(context.Context, *emptypb.Empty) (*CurrentRoleMenuTreeReply, error) // CurrentUser CurrentUser 获取当前用户信息 CurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error) // CurrentUserRoles CurrentUserRoles 获取当前用户的角色列表 CurrentUserRoles(context.Context, *emptypb.Empty) (*GetUserRolesReply, error) // DeleteDepartment DeleteDepartment 删除部门信息 DeleteDepartment(context.Context, *DeleteDepartmentRequest) (*emptypb.Empty, error) // DeleteDict DeleteDict 删除字典信息 DeleteDict(context.Context, *DeleteDictRequest) (*emptypb.Empty, error) // DeleteDictValue DeleteDictValue 删除字典信息 DeleteDictValue(context.Context, *DeleteDictValueRequest) (*emptypb.Empty, error) // DeleteJob DeleteJob 删除职位信息 DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) // DeleteMenu DeleteMenu 删除菜单 DeleteMenu(context.Context, *DeleteMenuRequest) (*emptypb.Empty, error) // DeleteRole DeleteRole 删除角色 DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error) // DeleteUser DeleteUser 删除用户信息 DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) // DisableUser DisableUser 禁用用户 DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error) // EnableUser DisableUser 禁用用户 EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error) // GetDepartmentTree GetDepartmentTree 获取部门树 GetDepartmentTree(context.Context, *emptypb.Empty) (*GetDepartmentTreeReply, error) // GetMenuTree GetMenuTree 获取菜单树 GetMenuTree(context.Context, *emptypb.Empty) (*GetMenuTreeReply, error) // GetRoleMenuIds CurrentRoleMenus 获取当前用户的角色列表 GetRoleMenuIds(context.Context, *GetRoleMenuIdsRequest) (*GetRoleMenuIdsReply, error) // GetRoleTree GetRoleTree 获取角色树 GetRoleTree(context.Context, *emptypb.Empty) (*GetRoleTreeReply, error) // GetSetting GetSetting 获取当前系统的配置 GetSetting(context.Context, *emptypb.Empty) (*GetSettingReply, error) // GetUserJob GetJob 获取用户职位 GetUserJob(context.Context, *GetUserJobRequest) (*GetUserJobReply, error) // GetUserRoles CurrentUserRoles 获取当前用户的角色列表 GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesReply, error) Login(context.Context, *LoginRequest) (*LoginReply, error) LoginCaptcha(context.Context, *emptypb.Empty) (*LoginCaptchaReply, error) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // OfflineUser DisableUser 禁用用户 OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error) // PageDict PageDict 分页获取字典信息 PageDict(context.Context, *PageDictRequest) (*PageDictReply, error) // PageDictValue PageDictValue 分页获取字典信息 PageDictValue(context.Context, *PageDictValueRequest) (*PageDictValueReply, error) // PageJob PageJob 分页获取职位信息 PageJob(context.Context, *PageJobRequest) (*PageJobReply, error) // PageUser PageUser 新增用户信息 PageUser(context.Context, *PageUserRequest) (*PageUserReply, error) ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error) RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenReply, error) // ResetUserPassword ResetUserPassword 重置用户密码 ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*emptypb.Empty, error) // SwitchCurrentUserRole SwitchCurrentUserRole 切换用户当前角色 SwitchCurrentUserRole(context.Context, *SwitchCurrentUserRoleRequest) (*SwitchCurrentUserRoleReply, error) // UpdateDepartment UpdateDepartment 更新部门信息 UpdateDepartment(context.Context, *UpdateDepartmentRequest) (*emptypb.Empty, error) // UpdateDict UpdateDict 更新字典信息 UpdateDict(context.Context, *UpdateDictRequest) (*emptypb.Empty, error) // UpdateDictValue UpdateDictValue 更新字典信息 UpdateDictValue(context.Context, *UpdateDictValueRequest) (*emptypb.Empty, error) // UpdateJob UpdateJob 更新职位信息 UpdateJob(context.Context, *UpdateJobRequest) (*emptypb.Empty, error) // UpdateMenu UpdateMenu 更新菜单 UpdateMenu(context.Context, *UpdateMenuRequest) (*emptypb.Empty, error) // UpdateRole UpdateRole 更新角色 UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error) // UpdateRoleMenus AddRoleMenus 更新角色菜单 UpdateRoleMenus(context.Context, *UpdateRoleMenuRequest) (*emptypb.Empty, error) // UpdateUser UpdateUser 更新用户信息 UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) // UpdateUserBasic UpdateUserBasic 更新用户基础信息 UpdateUserBasic(context.Context, *UpdateUserBasicRequest) (*emptypb.Empty, error) }
type ServiceServer ¶
type ServiceServer interface { Auth(context.Context, *AuthRequest) (*emptypb.Empty, error) Login(context.Context, *LoginRequest) (*LoginReply, error) LoginCaptcha(context.Context, *emptypb.Empty) (*LoginCaptchaReply, error) Logout(context.Context, *emptypb.Empty) (*emptypb.Empty, error) ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error) RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenReply, error) // GetSetting 获取当前系统的配置 GetSetting(context.Context, *emptypb.Empty) (*GetSettingReply, error) // GetRole 获取指定角色,不开放http,只允许内部grpc调用 GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error) // CurrentRoleMenus 获取当前用户的角色列表 CurrentRoleMenuTree(context.Context, *emptypb.Empty) (*CurrentRoleMenuTreeReply, error) // CurrentRoleMenus 获取当前用户的角色列表 GetRoleMenuIds(context.Context, *GetRoleMenuIdsRequest) (*GetRoleMenuIdsReply, error) // AddRoleMenus 更新角色菜单 UpdateRoleMenus(context.Context, *UpdateRoleMenuRequest) (*emptypb.Empty, error) // GetRoleTree 获取角色树 GetRoleTree(context.Context, *emptypb.Empty) (*GetRoleTreeReply, error) // AddRole 新增角色 AddRole(context.Context, *AddRoleRequest) (*emptypb.Empty, error) // UpdateRole 更新角色 UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error) // DeleteRole 删除角色 DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error) // GetMenuTree 获取菜单树 GetMenuTree(context.Context, *emptypb.Empty) (*GetMenuTreeReply, error) // AddMenu 新增菜单 AddMenu(context.Context, *AddMenuRequest) (*emptypb.Empty, error) // UpdateMenu 更新菜单 UpdateMenu(context.Context, *UpdateMenuRequest) (*emptypb.Empty, error) // DeleteMenu 删除菜单 DeleteMenu(context.Context, *DeleteMenuRequest) (*emptypb.Empty, error) // GetDepartmentTree 获取部门树 GetDepartmentTree(context.Context, *emptypb.Empty) (*GetDepartmentTreeReply, error) // GetDepartmentTree 获取指定部门 GetDepartment(context.Context, *GetDepartmentRequest) (*GetDepartmentReply, error) // AddDepartment 删除部门信息 AddDepartment(context.Context, *AddDepartmentRequest) (*emptypb.Empty, error) // UpdateDepartment 更新部门信息 UpdateDepartment(context.Context, *UpdateDepartmentRequest) (*emptypb.Empty, error) // DeleteDepartment 删除部门信息 DeleteDepartment(context.Context, *DeleteDepartmentRequest) (*emptypb.Empty, error) // GetUser 获取指定用户信息,不开放http,只允许内部grpc调用 GetUser(context.Context, *GetUserRequest) (*GetUserReply, error) // CurrentUser 获取当前用户信息 CurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error) // PageUser 新增用户信息 PageUser(context.Context, *PageUserRequest) (*PageUserReply, error) // AddUser 新增用户信息 AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error) // ChangeUserPasswordCaptcha 用户修改密码验证码 ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*ChangeUserPasswordCaptchaReply, error) // ResetUserPassword 重置用户密码 ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*emptypb.Empty, error) // ChangeUserPassword 用户修改密码 ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*emptypb.Empty, error) // DisableUser 禁用用户 DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error) // DisableUser 禁用用户 EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error) // DisableUser 禁用用户 OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error) // UpdateUser 更新用户信息 UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error) // UpdateUserBasic 更新用户基础信息 UpdateUserBasic(context.Context, *UpdateUserBasicRequest) (*emptypb.Empty, error) // DeleteUser 删除用户信息 DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) // CurrentUserRoles 获取当前用户的角色列表 CurrentUserRoles(context.Context, *emptypb.Empty) (*GetUserRolesReply, error) // SwitchCurrentUserRole 切换用户当前角色 SwitchCurrentUserRole(context.Context, *SwitchCurrentUserRoleRequest) (*SwitchCurrentUserRoleReply, error) // CurrentUserRoles 获取当前用户的角色列表 GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesReply, error) // GetJob 获取指定职位 GetJob(context.Context, *GetJobRequest) (*GetJobReply, error) // GetJob 获取用户职位 GetUserJob(context.Context, *GetUserJobRequest) (*GetUserJobReply, error) // PageJob 分页获取职位信息 PageJob(context.Context, *PageJobRequest) (*PageJobReply, error) // AddJob 删除职位信息 AddJob(context.Context, *AddJobRequest) (*emptypb.Empty, error) // UpdateJob 更新职位信息 UpdateJob(context.Context, *UpdateJobRequest) (*emptypb.Empty, error) // DeleteJob 删除职位信息 DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) // PageDict 分页获取字典信息 PageDict(context.Context, *PageDictRequest) (*PageDictReply, error) // AddDict 删除字典信息 AddDict(context.Context, *AddDictRequest) (*emptypb.Empty, error) // UpdateDict 更新字典信息 UpdateDict(context.Context, *UpdateDictRequest) (*emptypb.Empty, error) // DeleteDict 删除字典信息 DeleteDict(context.Context, *DeleteDictRequest) (*emptypb.Empty, error) // PageDictValue 分页获取字典信息 PageDictValue(context.Context, *PageDictValueRequest) (*PageDictValueReply, error) // AddDictValue 删除字典信息 AddDictValue(context.Context, *AddDictValueRequest) (*emptypb.Empty, error) // UpdateDictValue 更新字典信息 UpdateDictValue(context.Context, *UpdateDictValueRequest) (*emptypb.Empty, error) // DeleteDictValue 删除字典信息 DeleteDictValue(context.Context, *DeleteDictValueRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type SwitchCurrentUserRoleReply ¶
type SwitchCurrentUserRoleReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*SwitchCurrentUserRoleReply) Descriptor
deprecated
func (*SwitchCurrentUserRoleReply) Descriptor() ([]byte, []int)
Deprecated: Use SwitchCurrentUserRoleReply.ProtoReflect.Descriptor instead.
func (*SwitchCurrentUserRoleReply) GetToken ¶
func (x *SwitchCurrentUserRoleReply) GetToken() string
func (*SwitchCurrentUserRoleReply) ProtoMessage ¶
func (*SwitchCurrentUserRoleReply) ProtoMessage()
func (*SwitchCurrentUserRoleReply) ProtoReflect ¶
func (x *SwitchCurrentUserRoleReply) ProtoReflect() protoreflect.Message
func (*SwitchCurrentUserRoleReply) Reset ¶
func (x *SwitchCurrentUserRoleReply) Reset()
func (*SwitchCurrentUserRoleReply) String ¶
func (x *SwitchCurrentUserRoleReply) String() string
func (*SwitchCurrentUserRoleReply) Validate ¶
func (m *SwitchCurrentUserRoleReply) Validate() error
Validate checks the field values on SwitchCurrentUserRoleReply 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 (*SwitchCurrentUserRoleReply) ValidateAll ¶
func (m *SwitchCurrentUserRoleReply) ValidateAll() error
ValidateAll checks the field values on SwitchCurrentUserRoleReply 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 SwitchCurrentUserRoleReplyMultiError, or nil if none found.
type SwitchCurrentUserRoleReplyMultiError ¶
type SwitchCurrentUserRoleReplyMultiError []error
SwitchCurrentUserRoleReplyMultiError is an error wrapping multiple validation errors returned by SwitchCurrentUserRoleReply.ValidateAll() if the designated constraints aren't met.
func (SwitchCurrentUserRoleReplyMultiError) AllErrors ¶
func (m SwitchCurrentUserRoleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SwitchCurrentUserRoleReplyMultiError) Error ¶
func (m SwitchCurrentUserRoleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SwitchCurrentUserRoleReplyValidationError ¶
type SwitchCurrentUserRoleReplyValidationError struct {
// contains filtered or unexported fields
}
SwitchCurrentUserRoleReplyValidationError is the validation error returned by SwitchCurrentUserRoleReply.Validate if the designated constraints aren't met.
func (SwitchCurrentUserRoleReplyValidationError) Cause ¶
func (e SwitchCurrentUserRoleReplyValidationError) Cause() error
Cause function returns cause value.
func (SwitchCurrentUserRoleReplyValidationError) Error ¶
func (e SwitchCurrentUserRoleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SwitchCurrentUserRoleReplyValidationError) ErrorName ¶
func (e SwitchCurrentUserRoleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SwitchCurrentUserRoleReplyValidationError) Field ¶
func (e SwitchCurrentUserRoleReplyValidationError) Field() string
Field function returns field value.
func (SwitchCurrentUserRoleReplyValidationError) Key ¶
func (e SwitchCurrentUserRoleReplyValidationError) Key() bool
Key function returns key value.
func (SwitchCurrentUserRoleReplyValidationError) Reason ¶
func (e SwitchCurrentUserRoleReplyValidationError) Reason() string
Reason function returns reason value.
type SwitchCurrentUserRoleRequest ¶
type SwitchCurrentUserRoleRequest struct { RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*SwitchCurrentUserRoleRequest) Descriptor
deprecated
func (*SwitchCurrentUserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchCurrentUserRoleRequest.ProtoReflect.Descriptor instead.
func (*SwitchCurrentUserRoleRequest) GetRoleId ¶
func (x *SwitchCurrentUserRoleRequest) GetRoleId() uint32
func (*SwitchCurrentUserRoleRequest) ProtoMessage ¶
func (*SwitchCurrentUserRoleRequest) ProtoMessage()
func (*SwitchCurrentUserRoleRequest) ProtoReflect ¶
func (x *SwitchCurrentUserRoleRequest) ProtoReflect() protoreflect.Message
func (*SwitchCurrentUserRoleRequest) Reset ¶
func (x *SwitchCurrentUserRoleRequest) Reset()
func (*SwitchCurrentUserRoleRequest) String ¶
func (x *SwitchCurrentUserRoleRequest) String() string
func (*SwitchCurrentUserRoleRequest) Validate ¶
func (m *SwitchCurrentUserRoleRequest) Validate() error
Validate checks the field values on SwitchCurrentUserRoleRequest 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 (*SwitchCurrentUserRoleRequest) ValidateAll ¶
func (m *SwitchCurrentUserRoleRequest) ValidateAll() error
ValidateAll checks the field values on SwitchCurrentUserRoleRequest 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 SwitchCurrentUserRoleRequestMultiError, or nil if none found.
type SwitchCurrentUserRoleRequestMultiError ¶
type SwitchCurrentUserRoleRequestMultiError []error
SwitchCurrentUserRoleRequestMultiError is an error wrapping multiple validation errors returned by SwitchCurrentUserRoleRequest.ValidateAll() if the designated constraints aren't met.
func (SwitchCurrentUserRoleRequestMultiError) AllErrors ¶
func (m SwitchCurrentUserRoleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SwitchCurrentUserRoleRequestMultiError) Error ¶
func (m SwitchCurrentUserRoleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SwitchCurrentUserRoleRequestValidationError ¶
type SwitchCurrentUserRoleRequestValidationError struct {
// contains filtered or unexported fields
}
SwitchCurrentUserRoleRequestValidationError is the validation error returned by SwitchCurrentUserRoleRequest.Validate if the designated constraints aren't met.
func (SwitchCurrentUserRoleRequestValidationError) Cause ¶
func (e SwitchCurrentUserRoleRequestValidationError) Cause() error
Cause function returns cause value.
func (SwitchCurrentUserRoleRequestValidationError) Error ¶
func (e SwitchCurrentUserRoleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SwitchCurrentUserRoleRequestValidationError) ErrorName ¶
func (e SwitchCurrentUserRoleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SwitchCurrentUserRoleRequestValidationError) Field ¶
func (e SwitchCurrentUserRoleRequestValidationError) Field() string
Field function returns field value.
func (SwitchCurrentUserRoleRequestValidationError) Key ¶
func (e SwitchCurrentUserRoleRequestValidationError) Key() bool
Key function returns key value.
func (SwitchCurrentUserRoleRequestValidationError) Reason ¶
func (e SwitchCurrentUserRoleRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) AddDepartment ¶
func (UnimplementedServiceServer) AddDepartment(context.Context, *AddDepartmentRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) AddDict ¶
func (UnimplementedServiceServer) AddDict(context.Context, *AddDictRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) AddDictValue ¶
func (UnimplementedServiceServer) AddDictValue(context.Context, *AddDictValueRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) AddJob ¶
func (UnimplementedServiceServer) AddJob(context.Context, *AddJobRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) AddMenu ¶
func (UnimplementedServiceServer) AddMenu(context.Context, *AddMenuRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) AddRole ¶
func (UnimplementedServiceServer) AddRole(context.Context, *AddRoleRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) AddUser ¶
func (UnimplementedServiceServer) AddUser(context.Context, *AddUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) Auth ¶
func (UnimplementedServiceServer) Auth(context.Context, *AuthRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) ChangeUserPassword ¶
func (UnimplementedServiceServer) ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) ChangeUserPasswordCaptcha ¶
func (UnimplementedServiceServer) ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*ChangeUserPasswordCaptchaReply, error)
func (UnimplementedServiceServer) CurrentRoleMenuTree ¶
func (UnimplementedServiceServer) CurrentRoleMenuTree(context.Context, *emptypb.Empty) (*CurrentRoleMenuTreeReply, error)
func (UnimplementedServiceServer) CurrentUser ¶
func (UnimplementedServiceServer) CurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error)
func (UnimplementedServiceServer) CurrentUserRoles ¶
func (UnimplementedServiceServer) CurrentUserRoles(context.Context, *emptypb.Empty) (*GetUserRolesReply, error)
func (UnimplementedServiceServer) DeleteDepartment ¶
func (UnimplementedServiceServer) DeleteDepartment(context.Context, *DeleteDepartmentRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteDict ¶
func (UnimplementedServiceServer) DeleteDict(context.Context, *DeleteDictRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteDictValue ¶
func (UnimplementedServiceServer) DeleteDictValue(context.Context, *DeleteDictValueRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteJob ¶
func (UnimplementedServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteMenu ¶
func (UnimplementedServiceServer) DeleteMenu(context.Context, *DeleteMenuRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteRole ¶
func (UnimplementedServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DeleteUser ¶
func (UnimplementedServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) DisableUser ¶
func (UnimplementedServiceServer) DisableUser(context.Context, *DisableUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) EnableUser ¶
func (UnimplementedServiceServer) EnableUser(context.Context, *EnableUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) GetDepartment ¶
func (UnimplementedServiceServer) GetDepartment(context.Context, *GetDepartmentRequest) (*GetDepartmentReply, error)
func (UnimplementedServiceServer) GetDepartmentTree ¶
func (UnimplementedServiceServer) GetDepartmentTree(context.Context, *emptypb.Empty) (*GetDepartmentTreeReply, error)
func (UnimplementedServiceServer) GetJob ¶
func (UnimplementedServiceServer) GetJob(context.Context, *GetJobRequest) (*GetJobReply, error)
func (UnimplementedServiceServer) GetMenuTree ¶
func (UnimplementedServiceServer) GetMenuTree(context.Context, *emptypb.Empty) (*GetMenuTreeReply, error)
func (UnimplementedServiceServer) GetRole ¶
func (UnimplementedServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleReply, error)
func (UnimplementedServiceServer) GetRoleMenuIds ¶
func (UnimplementedServiceServer) GetRoleMenuIds(context.Context, *GetRoleMenuIdsRequest) (*GetRoleMenuIdsReply, error)
func (UnimplementedServiceServer) GetRoleTree ¶
func (UnimplementedServiceServer) GetRoleTree(context.Context, *emptypb.Empty) (*GetRoleTreeReply, error)
func (UnimplementedServiceServer) GetSetting ¶
func (UnimplementedServiceServer) GetSetting(context.Context, *emptypb.Empty) (*GetSettingReply, error)
func (UnimplementedServiceServer) GetUser ¶
func (UnimplementedServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
func (UnimplementedServiceServer) GetUserJob ¶
func (UnimplementedServiceServer) GetUserJob(context.Context, *GetUserJobRequest) (*GetUserJobReply, error)
func (UnimplementedServiceServer) GetUserRoles ¶
func (UnimplementedServiceServer) GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesReply, error)
func (UnimplementedServiceServer) Login ¶
func (UnimplementedServiceServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
func (UnimplementedServiceServer) LoginCaptcha ¶
func (UnimplementedServiceServer) LoginCaptcha(context.Context, *emptypb.Empty) (*LoginCaptchaReply, error)
func (UnimplementedServiceServer) OfflineUser ¶
func (UnimplementedServiceServer) OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) PageDict ¶
func (UnimplementedServiceServer) PageDict(context.Context, *PageDictRequest) (*PageDictReply, error)
func (UnimplementedServiceServer) PageDictValue ¶
func (UnimplementedServiceServer) PageDictValue(context.Context, *PageDictValueRequest) (*PageDictValueReply, error)
func (UnimplementedServiceServer) PageJob ¶
func (UnimplementedServiceServer) PageJob(context.Context, *PageJobRequest) (*PageJobReply, error)
func (UnimplementedServiceServer) PageUser ¶
func (UnimplementedServiceServer) PageUser(context.Context, *PageUserRequest) (*PageUserReply, error)
func (UnimplementedServiceServer) ParseToken ¶
func (UnimplementedServiceServer) ParseToken(context.Context, *emptypb.Empty) (*ParseTokenReply, error)
func (UnimplementedServiceServer) RefreshToken ¶
func (UnimplementedServiceServer) RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenReply, error)
func (UnimplementedServiceServer) ResetUserPassword ¶
func (UnimplementedServiceServer) ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) SwitchCurrentUserRole ¶
func (UnimplementedServiceServer) SwitchCurrentUserRole(context.Context, *SwitchCurrentUserRoleRequest) (*SwitchCurrentUserRoleReply, error)
func (UnimplementedServiceServer) UpdateDepartment ¶
func (UnimplementedServiceServer) UpdateDepartment(context.Context, *UpdateDepartmentRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateDict ¶
func (UnimplementedServiceServer) UpdateDict(context.Context, *UpdateDictRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateDictValue ¶
func (UnimplementedServiceServer) UpdateDictValue(context.Context, *UpdateDictValueRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateJob ¶
func (UnimplementedServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateMenu ¶
func (UnimplementedServiceServer) UpdateMenu(context.Context, *UpdateMenuRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateRole ¶
func (UnimplementedServiceServer) UpdateRole(context.Context, *UpdateRoleRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateRoleMenus ¶
func (UnimplementedServiceServer) UpdateRoleMenus(context.Context, *UpdateRoleMenuRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateUser ¶
func (UnimplementedServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
func (UnimplementedServiceServer) UpdateUserBasic ¶
func (UnimplementedServiceServer) UpdateUserBasic(context.Context, *UpdateUserBasicRequest) (*emptypb.Empty, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UpdateDepartmentRequest ¶
type UpdateDepartmentRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateDepartmentRequest) Descriptor
deprecated
func (*UpdateDepartmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDepartmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateDepartmentRequest) GetDescription ¶
func (x *UpdateDepartmentRequest) GetDescription() string
func (*UpdateDepartmentRequest) GetId ¶
func (x *UpdateDepartmentRequest) GetId() uint32
func (*UpdateDepartmentRequest) GetName ¶
func (x *UpdateDepartmentRequest) GetName() string
func (*UpdateDepartmentRequest) GetParentId ¶
func (x *UpdateDepartmentRequest) GetParentId() uint32
func (*UpdateDepartmentRequest) ProtoMessage ¶
func (*UpdateDepartmentRequest) ProtoMessage()
func (*UpdateDepartmentRequest) ProtoReflect ¶
func (x *UpdateDepartmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateDepartmentRequest) Reset ¶
func (x *UpdateDepartmentRequest) Reset()
func (*UpdateDepartmentRequest) String ¶
func (x *UpdateDepartmentRequest) String() string
func (*UpdateDepartmentRequest) Validate ¶
func (m *UpdateDepartmentRequest) Validate() error
Validate checks the field values on UpdateDepartmentRequest 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 (*UpdateDepartmentRequest) ValidateAll ¶
func (m *UpdateDepartmentRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDepartmentRequest 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 UpdateDepartmentRequestMultiError, or nil if none found.
type UpdateDepartmentRequestMultiError ¶
type UpdateDepartmentRequestMultiError []error
UpdateDepartmentRequestMultiError is an error wrapping multiple validation errors returned by UpdateDepartmentRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDepartmentRequestMultiError) AllErrors ¶
func (m UpdateDepartmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDepartmentRequestMultiError) Error ¶
func (m UpdateDepartmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDepartmentRequestValidationError ¶
type UpdateDepartmentRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDepartmentRequestValidationError is the validation error returned by UpdateDepartmentRequest.Validate if the designated constraints aren't met.
func (UpdateDepartmentRequestValidationError) Cause ¶
func (e UpdateDepartmentRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDepartmentRequestValidationError) Error ¶
func (e UpdateDepartmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDepartmentRequestValidationError) ErrorName ¶
func (e UpdateDepartmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDepartmentRequestValidationError) Field ¶
func (e UpdateDepartmentRequestValidationError) Field() string
Field function returns field value.
func (UpdateDepartmentRequestValidationError) Key ¶
func (e UpdateDepartmentRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDepartmentRequestValidationError) Reason ¶
func (e UpdateDepartmentRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDictRequest ¶
type UpdateDictRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,4,opt,name=weight,proto3,oneof" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*UpdateDictRequest) Descriptor
deprecated
func (*UpdateDictRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDictRequest.ProtoReflect.Descriptor instead.
func (*UpdateDictRequest) GetDescription ¶
func (x *UpdateDictRequest) GetDescription() string
func (*UpdateDictRequest) GetId ¶
func (x *UpdateDictRequest) GetId() uint32
func (*UpdateDictRequest) GetName ¶
func (x *UpdateDictRequest) GetName() string
func (*UpdateDictRequest) GetWeight ¶
func (x *UpdateDictRequest) GetWeight() uint32
func (*UpdateDictRequest) ProtoMessage ¶
func (*UpdateDictRequest) ProtoMessage()
func (*UpdateDictRequest) ProtoReflect ¶
func (x *UpdateDictRequest) ProtoReflect() protoreflect.Message
func (*UpdateDictRequest) Reset ¶
func (x *UpdateDictRequest) Reset()
func (*UpdateDictRequest) String ¶
func (x *UpdateDictRequest) String() string
func (*UpdateDictRequest) Validate ¶
func (m *UpdateDictRequest) Validate() error
Validate checks the field values on UpdateDictRequest 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 (*UpdateDictRequest) ValidateAll ¶
func (m *UpdateDictRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDictRequest 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 UpdateDictRequestMultiError, or nil if none found.
type UpdateDictRequestMultiError ¶
type UpdateDictRequestMultiError []error
UpdateDictRequestMultiError is an error wrapping multiple validation errors returned by UpdateDictRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDictRequestMultiError) AllErrors ¶
func (m UpdateDictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDictRequestMultiError) Error ¶
func (m UpdateDictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDictRequestValidationError ¶
type UpdateDictRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDictRequestValidationError is the validation error returned by UpdateDictRequest.Validate if the designated constraints aren't met.
func (UpdateDictRequestValidationError) Cause ¶
func (e UpdateDictRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDictRequestValidationError) Error ¶
func (e UpdateDictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDictRequestValidationError) ErrorName ¶
func (e UpdateDictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDictRequestValidationError) Field ¶
func (e UpdateDictRequestValidationError) Field() string
Field function returns field value.
func (UpdateDictRequestValidationError) Key ¶
func (e UpdateDictRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDictRequestValidationError) Reason ¶
func (e UpdateDictRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateDictValueRequest ¶
type UpdateDictValueRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DictId uint32 `protobuf:"varint,2,opt,name=dict_id,json=dictId,proto3" json:"dict_id,omitempty"` Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Type *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"` Extra *string `protobuf:"bytes,6,opt,name=extra,proto3,oneof" json:"extra,omitempty"` Description *string `protobuf:"bytes,7,opt,name=description,proto3,oneof" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,8,opt,name=weight,proto3,oneof" json:"weight,omitempty"` Status *bool `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateDictValueRequest) Descriptor
deprecated
func (*UpdateDictValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDictValueRequest.ProtoReflect.Descriptor instead.
func (*UpdateDictValueRequest) GetDescription ¶
func (x *UpdateDictValueRequest) GetDescription() string
func (*UpdateDictValueRequest) GetDictId ¶
func (x *UpdateDictValueRequest) GetDictId() uint32
func (*UpdateDictValueRequest) GetExtra ¶
func (x *UpdateDictValueRequest) GetExtra() string
func (*UpdateDictValueRequest) GetId ¶
func (x *UpdateDictValueRequest) GetId() uint32
func (*UpdateDictValueRequest) GetLabel ¶
func (x *UpdateDictValueRequest) GetLabel() string
func (*UpdateDictValueRequest) GetStatus ¶
func (x *UpdateDictValueRequest) GetStatus() bool
func (*UpdateDictValueRequest) GetType ¶
func (x *UpdateDictValueRequest) GetType() string
func (*UpdateDictValueRequest) GetValue ¶
func (x *UpdateDictValueRequest) GetValue() string
func (*UpdateDictValueRequest) GetWeight ¶
func (x *UpdateDictValueRequest) GetWeight() uint32
func (*UpdateDictValueRequest) ProtoMessage ¶
func (*UpdateDictValueRequest) ProtoMessage()
func (*UpdateDictValueRequest) ProtoReflect ¶
func (x *UpdateDictValueRequest) ProtoReflect() protoreflect.Message
func (*UpdateDictValueRequest) Reset ¶
func (x *UpdateDictValueRequest) Reset()
func (*UpdateDictValueRequest) String ¶
func (x *UpdateDictValueRequest) String() string
func (*UpdateDictValueRequest) Validate ¶
func (m *UpdateDictValueRequest) Validate() error
Validate checks the field values on UpdateDictValueRequest 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 (*UpdateDictValueRequest) ValidateAll ¶
func (m *UpdateDictValueRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDictValueRequest 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 UpdateDictValueRequestMultiError, or nil if none found.
type UpdateDictValueRequestMultiError ¶
type UpdateDictValueRequestMultiError []error
UpdateDictValueRequestMultiError is an error wrapping multiple validation errors returned by UpdateDictValueRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDictValueRequestMultiError) AllErrors ¶
func (m UpdateDictValueRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDictValueRequestMultiError) Error ¶
func (m UpdateDictValueRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDictValueRequestValidationError ¶
type UpdateDictValueRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDictValueRequestValidationError is the validation error returned by UpdateDictValueRequest.Validate if the designated constraints aren't met.
func (UpdateDictValueRequestValidationError) Cause ¶
func (e UpdateDictValueRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDictValueRequestValidationError) Error ¶
func (e UpdateDictValueRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDictValueRequestValidationError) ErrorName ¶
func (e UpdateDictValueRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDictValueRequestValidationError) Field ¶
func (e UpdateDictValueRequestValidationError) Field() string
Field function returns field value.
func (UpdateDictValueRequestValidationError) Key ¶
func (e UpdateDictValueRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDictValueRequestValidationError) Reason ¶
func (e UpdateDictValueRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateJobRequest ¶
type UpdateJobRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Weight *uint32 `protobuf:"varint,4,opt,name=weight,proto3,oneof" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*UpdateJobRequest) Descriptor
deprecated
func (*UpdateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateJobRequest) GetDescription ¶
func (x *UpdateJobRequest) GetDescription() string
func (*UpdateJobRequest) GetId ¶
func (x *UpdateJobRequest) GetId() uint32
func (*UpdateJobRequest) GetName ¶
func (x *UpdateJobRequest) GetName() string
func (*UpdateJobRequest) GetWeight ¶
func (x *UpdateJobRequest) GetWeight() uint32
func (*UpdateJobRequest) ProtoMessage ¶
func (*UpdateJobRequest) ProtoMessage()
func (*UpdateJobRequest) ProtoReflect ¶
func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
func (*UpdateJobRequest) Reset ¶
func (x *UpdateJobRequest) Reset()
func (*UpdateJobRequest) String ¶
func (x *UpdateJobRequest) String() string
func (*UpdateJobRequest) Validate ¶
func (m *UpdateJobRequest) Validate() error
Validate checks the field values on UpdateJobRequest 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 (*UpdateJobRequest) ValidateAll ¶
func (m *UpdateJobRequest) ValidateAll() error
ValidateAll checks the field values on UpdateJobRequest 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 UpdateJobRequestMultiError, or nil if none found.
type UpdateJobRequestMultiError ¶
type UpdateJobRequestMultiError []error
UpdateJobRequestMultiError is an error wrapping multiple validation errors returned by UpdateJobRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateJobRequestMultiError) AllErrors ¶
func (m UpdateJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateJobRequestMultiError) Error ¶
func (m UpdateJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateJobRequestValidationError ¶
type UpdateJobRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateJobRequestValidationError is the validation error returned by UpdateJobRequest.Validate if the designated constraints aren't met.
func (UpdateJobRequestValidationError) Cause ¶
func (e UpdateJobRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateJobRequestValidationError) Error ¶
func (e UpdateJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateJobRequestValidationError) ErrorName ¶
func (e UpdateJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateJobRequestValidationError) Field ¶
func (e UpdateJobRequestValidationError) Field() string
Field function returns field value.
func (UpdateJobRequestValidationError) Key ¶
func (e UpdateJobRequestValidationError) Key() bool
Key function returns key value.
func (UpdateJobRequestValidationError) Reason ¶
func (e UpdateJobRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateMenuRequest ¶
type UpdateMenuRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Icon *string `protobuf:"bytes,5,opt,name=icon,proto3,oneof" json:"icon,omitempty"` Path *string `protobuf:"bytes,6,opt,name=path,proto3,oneof" json:"path,omitempty"` Keyword *string `protobuf:"bytes,7,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"` Permission *string `protobuf:"bytes,8,opt,name=permission,proto3,oneof" json:"permission,omitempty"` Component *string `protobuf:"bytes,9,opt,name=component,proto3,oneof" json:"component,omitempty"` Api *string `protobuf:"bytes,10,opt,name=api,proto3,oneof" json:"api,omitempty"` Method *string `protobuf:"bytes,11,opt,name=method,proto3,oneof" json:"method,omitempty"` Redirect *string `protobuf:"bytes,12,opt,name=redirect,proto3,oneof" json:"redirect,omitempty"` Weight *int32 `protobuf:"varint,13,opt,name=weight,proto3,oneof" json:"weight,omitempty"` IsHidden *bool `protobuf:"varint,14,opt,name=is_hidden,json=isHidden,proto3,oneof" json:"is_hidden,omitempty"` IsCache *bool `protobuf:"varint,15,opt,name=is_cache,json=isCache,proto3,oneof" json:"is_cache,omitempty"` IsHome *bool `protobuf:"varint,16,opt,name=is_home,json=isHome,proto3,oneof" json:"is_home,omitempty"` IsAffix *bool `protobuf:"varint,17,opt,name=is_affix,json=isAffix,proto3,oneof" json:"is_affix,omitempty"` // contains filtered or unexported fields }
func (*UpdateMenuRequest) Descriptor
deprecated
func (*UpdateMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMenuRequest.ProtoReflect.Descriptor instead.
func (*UpdateMenuRequest) GetApi ¶
func (x *UpdateMenuRequest) GetApi() string
func (*UpdateMenuRequest) GetComponent ¶
func (x *UpdateMenuRequest) GetComponent() string
func (*UpdateMenuRequest) GetIcon ¶
func (x *UpdateMenuRequest) GetIcon() string
func (*UpdateMenuRequest) GetId ¶
func (x *UpdateMenuRequest) GetId() uint32
func (*UpdateMenuRequest) GetIsAffix ¶
func (x *UpdateMenuRequest) GetIsAffix() bool
func (*UpdateMenuRequest) GetIsCache ¶
func (x *UpdateMenuRequest) GetIsCache() bool
func (*UpdateMenuRequest) GetIsHidden ¶
func (x *UpdateMenuRequest) GetIsHidden() bool
func (*UpdateMenuRequest) GetIsHome ¶
func (x *UpdateMenuRequest) GetIsHome() bool
func (*UpdateMenuRequest) GetKeyword ¶
func (x *UpdateMenuRequest) GetKeyword() string
func (*UpdateMenuRequest) GetMethod ¶
func (x *UpdateMenuRequest) GetMethod() string
func (*UpdateMenuRequest) GetParentId ¶
func (x *UpdateMenuRequest) GetParentId() uint32
func (*UpdateMenuRequest) GetPath ¶
func (x *UpdateMenuRequest) GetPath() string
func (*UpdateMenuRequest) GetPermission ¶
func (x *UpdateMenuRequest) GetPermission() string
func (*UpdateMenuRequest) GetRedirect ¶
func (x *UpdateMenuRequest) GetRedirect() string
func (*UpdateMenuRequest) GetTitle ¶
func (x *UpdateMenuRequest) GetTitle() string
func (*UpdateMenuRequest) GetType ¶
func (x *UpdateMenuRequest) GetType() string
func (*UpdateMenuRequest) GetWeight ¶
func (x *UpdateMenuRequest) GetWeight() int32
func (*UpdateMenuRequest) ProtoMessage ¶
func (*UpdateMenuRequest) ProtoMessage()
func (*UpdateMenuRequest) ProtoReflect ¶
func (x *UpdateMenuRequest) ProtoReflect() protoreflect.Message
func (*UpdateMenuRequest) Reset ¶
func (x *UpdateMenuRequest) Reset()
func (*UpdateMenuRequest) String ¶
func (x *UpdateMenuRequest) String() string
func (*UpdateMenuRequest) Validate ¶
func (m *UpdateMenuRequest) Validate() error
Validate checks the field values on UpdateMenuRequest 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 (*UpdateMenuRequest) ValidateAll ¶
func (m *UpdateMenuRequest) ValidateAll() error
ValidateAll checks the field values on UpdateMenuRequest 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 UpdateMenuRequestMultiError, or nil if none found.
type UpdateMenuRequestMultiError ¶
type UpdateMenuRequestMultiError []error
UpdateMenuRequestMultiError is an error wrapping multiple validation errors returned by UpdateMenuRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateMenuRequestMultiError) AllErrors ¶
func (m UpdateMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateMenuRequestMultiError) Error ¶
func (m UpdateMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateMenuRequestValidationError ¶
type UpdateMenuRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateMenuRequestValidationError is the validation error returned by UpdateMenuRequest.Validate if the designated constraints aren't met.
func (UpdateMenuRequestValidationError) Cause ¶
func (e UpdateMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateMenuRequestValidationError) Error ¶
func (e UpdateMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateMenuRequestValidationError) ErrorName ¶
func (e UpdateMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateMenuRequestValidationError) Field ¶
func (e UpdateMenuRequestValidationError) Field() string
Field function returns field value.
func (UpdateMenuRequestValidationError) Key ¶
func (e UpdateMenuRequestValidationError) Key() bool
Key function returns key value.
func (UpdateMenuRequestValidationError) Reason ¶
func (e UpdateMenuRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleMenuRequest ¶
type UpdateRoleMenuRequest struct { RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` MenuIds []uint32 `protobuf:"varint,2,rep,packed,name=menu_ids,json=menuIds,proto3" json:"menu_ids,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoleMenuRequest) Descriptor
deprecated
func (*UpdateRoleMenuRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleMenuRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleMenuRequest) GetMenuIds ¶
func (x *UpdateRoleMenuRequest) GetMenuIds() []uint32
func (*UpdateRoleMenuRequest) GetRoleId ¶
func (x *UpdateRoleMenuRequest) GetRoleId() uint32
func (*UpdateRoleMenuRequest) ProtoMessage ¶
func (*UpdateRoleMenuRequest) ProtoMessage()
func (*UpdateRoleMenuRequest) ProtoReflect ¶
func (x *UpdateRoleMenuRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoleMenuRequest) Reset ¶
func (x *UpdateRoleMenuRequest) Reset()
func (*UpdateRoleMenuRequest) String ¶
func (x *UpdateRoleMenuRequest) String() string
func (*UpdateRoleMenuRequest) Validate ¶
func (m *UpdateRoleMenuRequest) Validate() error
Validate checks the field values on UpdateRoleMenuRequest 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 (*UpdateRoleMenuRequest) ValidateAll ¶
func (m *UpdateRoleMenuRequest) ValidateAll() error
ValidateAll checks the field values on UpdateRoleMenuRequest 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 UpdateRoleMenuRequestMultiError, or nil if none found.
type UpdateRoleMenuRequestMultiError ¶
type UpdateRoleMenuRequestMultiError []error
UpdateRoleMenuRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleMenuRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleMenuRequestMultiError) AllErrors ¶
func (m UpdateRoleMenuRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleMenuRequestMultiError) Error ¶
func (m UpdateRoleMenuRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleMenuRequestValidationError ¶
type UpdateRoleMenuRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleMenuRequestValidationError is the validation error returned by UpdateRoleMenuRequest.Validate if the designated constraints aren't met.
func (UpdateRoleMenuRequestValidationError) Cause ¶
func (e UpdateRoleMenuRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleMenuRequestValidationError) Error ¶
func (e UpdateRoleMenuRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleMenuRequestValidationError) ErrorName ¶
func (e UpdateRoleMenuRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleMenuRequestValidationError) Field ¶
func (e UpdateRoleMenuRequestValidationError) Field() string
Field function returns field value.
func (UpdateRoleMenuRequestValidationError) Key ¶
func (e UpdateRoleMenuRequestValidationError) Key() bool
Key function returns key value.
func (UpdateRoleMenuRequestValidationError) Reason ¶
func (e UpdateRoleMenuRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleRequest ¶
type UpdateRoleRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint32 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` DepartmentIds string `protobuf:"bytes,6,opt,name=department_ids,json=departmentIds,proto3" json:"department_ids,omitempty"` DataScope string `protobuf:"bytes,7,opt,name=data_scope,json=dataScope,proto3" json:"data_scope,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoleRequest) Descriptor
deprecated
func (*UpdateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoleRequest) GetDataScope ¶
func (x *UpdateRoleRequest) GetDataScope() string
func (*UpdateRoleRequest) GetDepartmentIds ¶
func (x *UpdateRoleRequest) GetDepartmentIds() string
func (*UpdateRoleRequest) GetDescription ¶
func (x *UpdateRoleRequest) GetDescription() string
func (*UpdateRoleRequest) GetId ¶
func (x *UpdateRoleRequest) GetId() uint32
func (*UpdateRoleRequest) GetName ¶
func (x *UpdateRoleRequest) GetName() string
func (*UpdateRoleRequest) GetParentId ¶
func (x *UpdateRoleRequest) GetParentId() uint32
func (*UpdateRoleRequest) GetStatus ¶
func (x *UpdateRoleRequest) GetStatus() bool
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 UpdateUserBasicRequest ¶
type UpdateUserBasicRequest struct { Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender string `protobuf:"bytes,2,opt,name=gender,proto3" json:"gender,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserBasicRequest) Descriptor
deprecated
func (*UpdateUserBasicRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserBasicRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserBasicRequest) GetGender ¶
func (x *UpdateUserBasicRequest) GetGender() string
func (*UpdateUserBasicRequest) GetNickname ¶
func (x *UpdateUserBasicRequest) GetNickname() string
func (*UpdateUserBasicRequest) ProtoMessage ¶
func (*UpdateUserBasicRequest) ProtoMessage()
func (*UpdateUserBasicRequest) ProtoReflect ¶
func (x *UpdateUserBasicRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserBasicRequest) Reset ¶
func (x *UpdateUserBasicRequest) Reset()
func (*UpdateUserBasicRequest) String ¶
func (x *UpdateUserBasicRequest) String() string
func (*UpdateUserBasicRequest) Validate ¶
func (m *UpdateUserBasicRequest) Validate() error
Validate checks the field values on UpdateUserBasicRequest 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 (*UpdateUserBasicRequest) ValidateAll ¶
func (m *UpdateUserBasicRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserBasicRequest 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 UpdateUserBasicRequestMultiError, or nil if none found.
type UpdateUserBasicRequestMultiError ¶
type UpdateUserBasicRequestMultiError []error
UpdateUserBasicRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserBasicRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserBasicRequestMultiError) AllErrors ¶
func (m UpdateUserBasicRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserBasicRequestMultiError) Error ¶
func (m UpdateUserBasicRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserBasicRequestValidationError ¶
type UpdateUserBasicRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserBasicRequestValidationError is the validation error returned by UpdateUserBasicRequest.Validate if the designated constraints aren't met.
func (UpdateUserBasicRequestValidationError) Cause ¶
func (e UpdateUserBasicRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserBasicRequestValidationError) Error ¶
func (e UpdateUserBasicRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserBasicRequestValidationError) ErrorName ¶
func (e UpdateUserBasicRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserBasicRequestValidationError) Field ¶
func (e UpdateUserBasicRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserBasicRequestValidationError) Key ¶
func (e UpdateUserBasicRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserBasicRequestValidationError) Reason ¶
func (e UpdateUserBasicRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DepartmentId uint32 `protobuf:"varint,2,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` JobIds []uint32 `protobuf:"varint,8,rep,packed,name=job_ids,json=jobIds,proto3" json:"job_ids,omitempty"` RoleIds []uint32 `protobuf:"varint,3,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Gender string `protobuf:"bytes,5,opt,name=gender,proto3" json:"gender,omitempty"` Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetDepartmentId ¶
func (x *UpdateUserRequest) GetDepartmentId() uint32
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() string
func (*UpdateUserRequest) GetGender ¶
func (x *UpdateUserRequest) GetGender() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() uint32
func (*UpdateUserRequest) GetJobIds ¶
func (x *UpdateUserRequest) GetJobIds() []uint32
func (*UpdateUserRequest) GetName ¶
func (x *UpdateUserRequest) GetName() string
func (*UpdateUserRequest) GetPhone ¶
func (x *UpdateUserRequest) GetPhone() string
func (*UpdateUserRequest) GetRoleIds ¶
func (x *UpdateUserRequest) GetRoleIds() []uint32
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 User ¶
type User struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DepartmentId uint32 `protobuf:"varint,2,opt,name=department_id,json=departmentId,proto3" json:"department_id,omitempty"` RoleId uint32 `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender string `protobuf:"bytes,6,opt,name=gender,proto3" json:"gender,omitempty"` Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` Avatar string `protobuf:"bytes,8,opt,name=avatar,proto3" json:"avatar,omitempty"` Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"` Status *bool `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"` Disabled *string `protobuf:"bytes,11,opt,name=disabled,proto3,oneof" json:"disabled,omitempty"` LastLogin *uint32 `protobuf:"varint,12,opt,name=last_login,json=lastLogin,proto3,oneof" json:"last_login,omitempty"` CreatedAt uint32 `protobuf:"varint,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt uint32 `protobuf:"varint,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Department *Department `protobuf:"bytes,15,opt,name=department,proto3" json:"department,omitempty"` Role *Role `protobuf:"bytes,16,opt,name=role,proto3" json:"role,omitempty"` Roles []*Role `protobuf:"bytes,17,rep,name=roles,proto3" json:"roles,omitempty"` Jobs []*Job `protobuf:"bytes,18,rep,name=jobs,proto3" json:"jobs,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (*User) GetDepartment ¶
func (x *User) GetDepartment() *Department
func (*User) GetDepartmentId ¶
func (*User) GetDisabled ¶
func (*User) GetLastLogin ¶
func (*User) GetNickname ¶
func (*User) GetUpdatedAt ¶
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 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 UserRole ¶
type UserRole struct { UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId uint32 `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` Role *Role `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserRole) Descriptor
deprecated
func (*UserRole) ProtoMessage ¶
func (*UserRole) ProtoMessage()
func (*UserRole) ProtoReflect ¶
func (x *UserRole) ProtoReflect() protoreflect.Message
func (*UserRole) Validate ¶
Validate checks the field values on UserRole 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 (*UserRole) ValidateAll ¶
ValidateAll checks the field values on UserRole 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 UserRoleMultiError, or nil if none found.
type UserRoleMultiError ¶
type UserRoleMultiError []error
UserRoleMultiError is an error wrapping multiple validation errors returned by UserRole.ValidateAll() if the designated constraints aren't met.
func (UserRoleMultiError) AllErrors ¶
func (m UserRoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserRoleMultiError) Error ¶
func (m UserRoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserRoleValidationError ¶
type UserRoleValidationError struct {
// contains filtered or unexported fields
}
UserRoleValidationError is the validation error returned by UserRole.Validate if the designated constraints aren't met.
func (UserRoleValidationError) Cause ¶
func (e UserRoleValidationError) Cause() error
Cause function returns cause value.
func (UserRoleValidationError) Error ¶
func (e UserRoleValidationError) Error() string
Error satisfies the builtin error interface
func (UserRoleValidationError) ErrorName ¶
func (e UserRoleValidationError) ErrorName() string
ErrorName returns error name.
func (UserRoleValidationError) Field ¶
func (e UserRoleValidationError) Field() string
Field function returns field value.
func (UserRoleValidationError) Key ¶
func (e UserRoleValidationError) Key() bool
Key function returns key value.
func (UserRoleValidationError) Reason ¶
func (e UserRoleValidationError) Reason() string
Reason function returns reason value.
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.
Source Files ¶
- manager_auth.pb.go
- manager_auth.pb.validate.go
- manager_department.pb.go
- manager_department.pb.validate.go
- manager_dict.pb.go
- manager_dict.pb.validate.go
- manager_dict_value.pb.go
- manager_dict_value.pb.validate.go
- manager_error_reason.pb.go
- manager_error_reason.pb.validate.go
- manager_error_reason_errors.pb.go
- manager_job.pb.go
- manager_job.pb.validate.go
- manager_menu.pb.go
- manager_menu.pb.validate.go
- manager_role.pb.go
- manager_role.pb.validate.go
- manager_role_menu.pb.go
- manager_role_menu.pb.validate.go
- manager_service.pb.go
- manager_service.pb.validate.go
- manager_service_grpc.pb.go
- manager_service_http.pb.go
- manager_setting.pb.go
- manager_setting.pb.validate.go
- manager_user.pb.go
- manager_user.pb.validate.go
- manager_user_role.pb.go
- manager_user_role.pb.validate.go