v1

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const OperationServiceAddDepartment = "/manager.Service/AddDepartment"
View Source
const OperationServiceAddDict = "/manager.Service/AddDict"
View Source
const OperationServiceAddDictValue = "/manager.Service/AddDictValue"
View Source
const OperationServiceAddJob = "/manager.Service/AddJob"
View Source
const OperationServiceAddMenu = "/manager.Service/AddMenu"
View Source
const OperationServiceAddRole = "/manager.Service/AddRole"
View Source
const OperationServiceAddUser = "/manager.Service/AddUser"
View Source
const OperationServiceAuth = "/manager.Service/Auth"
View Source
const OperationServiceChangeUserPassword = "/manager.Service/ChangeUserPassword"
View Source
const OperationServiceChangeUserPasswordCaptcha = "/manager.Service/ChangeUserPasswordCaptcha"
View Source
const OperationServiceCurrentRoleMenuTree = "/manager.Service/CurrentRoleMenuTree"
View Source
const OperationServiceCurrentUser = "/manager.Service/CurrentUser"
View Source
const OperationServiceCurrentUserRoles = "/manager.Service/CurrentUserRoles"
View Source
const OperationServiceDeleteDepartment = "/manager.Service/DeleteDepartment"
View Source
const OperationServiceDeleteDict = "/manager.Service/DeleteDict"
View Source
const OperationServiceDeleteDictValue = "/manager.Service/DeleteDictValue"
View Source
const OperationServiceDeleteJob = "/manager.Service/DeleteJob"
View Source
const OperationServiceDeleteMenu = "/manager.Service/DeleteMenu"
View Source
const OperationServiceDeleteRole = "/manager.Service/DeleteRole"
View Source
const OperationServiceDeleteUser = "/manager.Service/DeleteUser"
View Source
const OperationServiceDisableUser = "/manager.Service/DisableUser"
View Source
const OperationServiceEnableUser = "/manager.Service/EnableUser"
View Source
const OperationServiceGetDepartmentTree = "/manager.Service/GetDepartmentTree"
View Source
const OperationServiceGetMenuTree = "/manager.Service/GetMenuTree"
View Source
const OperationServiceGetRoleMenuIds = "/manager.Service/GetRoleMenuIds"
View Source
const OperationServiceGetRoleTree = "/manager.Service/GetRoleTree"
View Source
const OperationServiceGetSetting = "/manager.Service/GetSetting"
View Source
const OperationServiceGetUserJob = "/manager.Service/GetUserJob"
View Source
const OperationServiceGetUserRoles = "/manager.Service/GetUserRoles"
View Source
const OperationServiceLogin = "/manager.Service/Login"
View Source
const OperationServiceLoginCaptcha = "/manager.Service/LoginCaptcha"
View Source
const OperationServiceLogout = "/manager.Service/Logout"
View Source
const OperationServiceOfflineUser = "/manager.Service/OfflineUser"
View Source
const OperationServicePageDict = "/manager.Service/PageDict"
View Source
const OperationServicePageDictValue = "/manager.Service/PageDictValue"
View Source
const OperationServicePageJob = "/manager.Service/PageJob"
View Source
const OperationServicePageUser = "/manager.Service/PageUser"
View Source
const OperationServiceParseToken = "/manager.Service/ParseToken"
View Source
const OperationServiceRefreshToken = "/manager.Service/RefreshToken"
View Source
const OperationServiceResetUserPassword = "/manager.Service/ResetUserPassword"
View Source
const OperationServiceSwitchCurrentUserRole = "/manager.Service/SwitchCurrentUserRole"
View Source
const OperationServiceUpdateDepartment = "/manager.Service/UpdateDepartment"
View Source
const OperationServiceUpdateDict = "/manager.Service/UpdateDict"
View Source
const OperationServiceUpdateDictValue = "/manager.Service/UpdateDictValue"
View Source
const OperationServiceUpdateJob = "/manager.Service/UpdateJob"
View Source
const OperationServiceUpdateMenu = "/manager.Service/UpdateMenu"
View Source
const OperationServiceUpdateRole = "/manager.Service/UpdateRole"
View Source
const OperationServiceUpdateRoleMenus = "/manager.Service/UpdateRoleMenus"
View Source
const OperationServiceUpdateUser = "/manager.Service/UpdateUser"
View Source
const OperationServiceUpdateUserBasic = "/manager.Service/UpdateUserBasic"

Variables

View Source
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.

View Source
var File_manager_auth_proto protoreflect.FileDescriptor
View Source
var File_manager_department_proto protoreflect.FileDescriptor
View Source
var File_manager_dict_proto protoreflect.FileDescriptor
View Source
var File_manager_dict_value_proto protoreflect.FileDescriptor
View Source
var File_manager_error_reason_proto protoreflect.FileDescriptor
View Source
var File_manager_job_proto protoreflect.FileDescriptor
View Source
var File_manager_menu_proto protoreflect.FileDescriptor
View Source
var File_manager_role_menu_proto protoreflect.FileDescriptor
View Source
var File_manager_role_proto protoreflect.FileDescriptor
View Source
var File_manager_service_proto protoreflect.FileDescriptor
View Source
var File_manager_setting_proto protoreflect.FileDescriptor
View Source
var File_manager_user_proto protoreflect.FileDescriptor
View Source
var File_manager_user_role_proto protoreflect.FileDescriptor
View Source
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 DatabaseError() *errors.Error

func DatabaseErrorFormat

func DatabaseErrorFormat(format string, args ...any) *errors.Error

func DeleteSelfDepartmentError

func DeleteSelfDepartmentError() *errors.Error

func DeleteSelfDepartmentErrorFormat

func DeleteSelfDepartmentErrorFormat(format string, args ...any) *errors.Error

func DeleteSelfRoleError

func DeleteSelfRoleError() *errors.Error

func DeleteSelfRoleErrorFormat

func DeleteSelfRoleErrorFormat(format string, args ...any) *errors.Error

func DeleteSelfUserError

func DeleteSelfUserError() *errors.Error

func DeleteSelfUserErrorFormat

func DeleteSelfUserErrorFormat(format string, args ...any) *errors.Error

func DeleteSystemDataError

func DeleteSystemDataError() *errors.Error

func DeleteSystemDataErrorFormat

func DeleteSystemDataErrorFormat(format string, args ...any) *errors.Error

func DepartmentPermissionsError

func DepartmentPermissionsError() *errors.Error

func DepartmentPermissionsErrorFormat

func DepartmentPermissionsErrorFormat(format string, args ...any) *errors.Error

func DisableSelfUserError

func DisableSelfUserError() *errors.Error

func DisableSelfUserErrorFormat

func DisableSelfUserErrorFormat(format string, args ...any) *errors.Error

func EditSystemDataError

func EditSystemDataError() *errors.Error

func EditSystemDataErrorFormat

func EditSystemDataErrorFormat(format string, args ...any) *errors.Error

func EmptyTokenError

func EmptyTokenError() *errors.Error

func EmptyTokenErrorFormat

func EmptyTokenErrorFormat(format string, args ...any) *errors.Error

func ForbiddenError

func ForbiddenError() *errors.Error

func ForbiddenErrorFormat

func ForbiddenErrorFormat(format string, args ...any) *errors.Error

func IsDatabaseError

func IsDatabaseError(err error) bool

func IsDeleteSelfDepartmentError

func IsDeleteSelfDepartmentError(err error) bool

func IsDeleteSelfRoleError

func IsDeleteSelfRoleError(err error) bool

func IsDeleteSelfUserError

func IsDeleteSelfUserError(err error) bool

func IsDeleteSystemDataError

func IsDeleteSystemDataError(err error) bool

func IsDepartmentPermissionsError

func IsDepartmentPermissionsError(err error) bool

func IsDisableSelfUserError

func IsDisableSelfUserError(err error) bool

func IsEditSystemDataError

func IsEditSystemDataError(err error) bool

func IsEmptyTokenError

func IsEmptyTokenError(err error) bool

func IsForbiddenError

func IsForbiddenError(err error) bool

func IsMenuPermissionsError

func IsMenuPermissionsError(err error) bool

func IsMetadataError

func IsMetadataError(err error) bool

func IsNewCaptchaError

func IsNewCaptchaError(err error) bool

func IsNewTokenError

func IsNewTokenError(err error) bool

func IsNotFoundError

func IsNotFoundError(err error) bool

func IsParentMenuError

func IsParentMenuError(err error) bool

func IsParseTokenError

func IsParseTokenError(err error) bool

func IsPasswordExpireError

func IsPasswordExpireError(err error) bool

func IsPasswordFormatError

func IsPasswordFormatError(err error) bool

func IsRefreshTokenError

func IsRefreshTokenError(err error) bool

func IsResetSelfUserPasswordError

func IsResetSelfUserPasswordError(err error) bool

func IsRoleDisableError

func IsRoleDisableError(err error) bool

func IsRolePermissionsError

func IsRolePermissionsError(err error) bool

func IsRsaDecodeError

func IsRsaDecodeError(err error) bool

func IsSendEmailCaptchaError

func IsSendEmailCaptchaError(err error) bool

func IsTransformError

func IsTransformError(err error) bool

func IsUserDisableError

func IsUserDisableError(err error) bool

func IsUserPasswordError

func IsUserPasswordError(err error) bool

func IsUserPermissionsError

func IsUserPermissionsError(err error) bool

func IsUsernameFormatError

func IsUsernameFormatError(err error) bool

func IsUsernameNotExistError

func IsUsernameNotExistError(err error) bool

func IsVerifyCaptchaError

func IsVerifyCaptchaError(err error) bool
func MenuPermissionsError() *errors.Error
func MenuPermissionsErrorFormat(format string, args ...any) *errors.Error

func MetadataError

func MetadataError() *errors.Error

func MetadataErrorFormat

func MetadataErrorFormat(format string, args ...any) *errors.Error

func NewCaptchaError

func NewCaptchaError() *errors.Error

func NewCaptchaErrorFormat

func NewCaptchaErrorFormat(format string, args ...any) *errors.Error

func NewTokenError

func NewTokenError() *errors.Error

func NewTokenErrorFormat

func NewTokenErrorFormat(format string, args ...any) *errors.Error

func NotFoundError

func NotFoundError() *errors.Error

func NotFoundErrorFormat

func NotFoundErrorFormat(format string, args ...any) *errors.Error

func ParentMenuError

func ParentMenuError() *errors.Error

func ParentMenuErrorFormat

func ParentMenuErrorFormat(format string, args ...any) *errors.Error

func ParseTokenError

func ParseTokenError() *errors.Error

func ParseTokenErrorFormat

func ParseTokenErrorFormat(format string, args ...any) *errors.Error

func PasswordExpireError

func PasswordExpireError() *errors.Error

func PasswordExpireErrorFormat

func PasswordExpireErrorFormat(format string, args ...any) *errors.Error

func PasswordFormatError

func PasswordFormatError() *errors.Error

func PasswordFormatErrorFormat

func PasswordFormatErrorFormat(format string, args ...any) *errors.Error

func RefreshTokenError

func RefreshTokenError() *errors.Error

func RefreshTokenErrorFormat

func RefreshTokenErrorFormat(format string, args ...any) *errors.Error

func RegisterServiceHTTPServer

func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

func ResetSelfUserPasswordError

func ResetSelfUserPasswordError() *errors.Error

func ResetSelfUserPasswordErrorFormat

func ResetSelfUserPasswordErrorFormat(format string, args ...any) *errors.Error

func RoleDisableError

func RoleDisableError() *errors.Error

func RoleDisableErrorFormat

func RoleDisableErrorFormat(format string, args ...any) *errors.Error

func RolePermissionsError

func RolePermissionsError() *errors.Error

func RolePermissionsErrorFormat

func RolePermissionsErrorFormat(format string, args ...any) *errors.Error

func RsaDecodeError

func RsaDecodeError() *errors.Error

func RsaDecodeErrorFormat

func RsaDecodeErrorFormat(format string, args ...any) *errors.Error

func SendEmailCaptchaError

func SendEmailCaptchaError() *errors.Error

func SendEmailCaptchaErrorFormat

func SendEmailCaptchaErrorFormat(format string, args ...any) *errors.Error

func TransformError

func TransformError() *errors.Error

func TransformErrorFormat

func TransformErrorFormat(format string, args ...any) *errors.Error

func UserDisableError

func UserDisableError() *errors.Error

func UserDisableErrorFormat

func UserDisableErrorFormat(format string, args ...any) *errors.Error

func UserPasswordError

func UserPasswordError() *errors.Error

func UserPasswordErrorFormat

func UserPasswordErrorFormat(format string, args ...any) *errors.Error

func UserPermissionsError

func UserPermissionsError() *errors.Error

func UserPermissionsErrorFormat

func UserPermissionsErrorFormat(format string, args ...any) *errors.Error

func UsernameFormatError

func UsernameFormatError() *errors.Error

func UsernameFormatErrorFormat

func UsernameFormatErrorFormat(format string, args ...any) *errors.Error

func UsernameNotExistError

func UsernameNotExistError() *errors.Error

func UsernameNotExistErrorFormat

func UsernameNotExistErrorFormat(format string, args ...any) *errors.Error

func VerifyCaptchaError

func VerifyCaptchaError() *errors.Error

func VerifyCaptchaErrorFormat

func VerifyCaptchaErrorFormat(format string, args ...any) *errors.Error

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

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

Cause function returns cause value.

func (AddDepartmentRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDepartmentRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDepartmentRequestValidationError) Field

Field function returns field value.

func (AddDepartmentRequestValidationError) Key

Key function returns key value.

func (AddDepartmentRequestValidationError) Reason

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

Cause function returns cause value.

func (AddDictRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDictRequestValidationError) ErrorName

func (e AddDictRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddDictRequestValidationError) Field

Field function returns field value.

func (AddDictRequestValidationError) Key

Key function returns key value.

func (AddDictRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AddDictValueRequestValidationError) Error

Error satisfies the builtin error interface

func (AddDictValueRequestValidationError) ErrorName

ErrorName returns error name.

func (AddDictValueRequestValidationError) Field

Field function returns field value.

func (AddDictValueRequestValidationError) Key

Key function returns key value.

func (AddDictValueRequestValidationError) Reason

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

Cause function returns cause value.

func (AddJobRequestValidationError) Error

Error satisfies the builtin error interface

func (AddJobRequestValidationError) ErrorName

func (e AddJobRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddJobRequestValidationError) Field

Field function returns field value.

func (AddJobRequestValidationError) Key

Key function returns key value.

func (AddJobRequestValidationError) Reason

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

Cause function returns cause value.

func (AddMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (AddMenuRequestValidationError) ErrorName

func (e AddMenuRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddMenuRequestValidationError) Field

Field function returns field value.

func (AddMenuRequestValidationError) Key

Key function returns key value.

func (AddMenuRequestValidationError) Reason

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

Cause function returns cause value.

func (AddRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (AddRoleRequestValidationError) ErrorName

func (e AddRoleRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddRoleRequestValidationError) Field

Field function returns field value.

func (AddRoleRequestValidationError) Key

Key function returns key value.

func (AddRoleRequestValidationError) Reason

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

Cause function returns cause value.

func (AddUserRequestValidationError) Error

Error satisfies the builtin error interface

func (AddUserRequestValidationError) ErrorName

func (e AddUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddUserRequestValidationError) Field

Field function returns field value.

func (AddUserRequestValidationError) Key

Key function returns key value.

func (AddUserRequestValidationError) Reason

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

Cause function returns cause value.

func (AuthRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthRequestValidationError) ErrorName

func (e AuthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthRequestValidationError) Field

Field function returns field value.

func (AuthRequestValidationError) Key

Key function returns key value.

func (AuthRequestValidationError) Reason

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 (*ChangeUserPasswordCaptchaReply) ProtoMessage

func (*ChangeUserPasswordCaptchaReply) ProtoMessage()

func (*ChangeUserPasswordCaptchaReply) ProtoReflect

func (*ChangeUserPasswordCaptchaReply) Reset

func (x *ChangeUserPasswordCaptchaReply) Reset()

func (*ChangeUserPasswordCaptchaReply) 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

AllErrors returns a list of validation violation errors.

func (ChangeUserPasswordCaptchaReplyMultiError) Error

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

Cause function returns cause value.

func (ChangeUserPasswordCaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (ChangeUserPasswordCaptchaReplyValidationError) ErrorName

ErrorName returns error name.

func (ChangeUserPasswordCaptchaReplyValidationError) Field

Field function returns field value.

func (ChangeUserPasswordCaptchaReplyValidationError) Key

Key function returns key value.

func (ChangeUserPasswordCaptchaReplyValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ChangeUserPasswordRequestMultiError) Error

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

Cause function returns cause value.

func (ChangeUserPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (ChangeUserPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (ChangeUserPasswordRequestValidationError) Field

Field function returns field value.

func (ChangeUserPasswordRequestValidationError) Key

Key function returns key value.

func (ChangeUserPasswordRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CurrentRoleMenuTreeReplyValidationError) Error

Error satisfies the builtin error interface

func (CurrentRoleMenuTreeReplyValidationError) ErrorName

ErrorName returns error name.

func (CurrentRoleMenuTreeReplyValidationError) Field

Field function returns field value.

func (CurrentRoleMenuTreeReplyValidationError) Key

Key function returns key value.

func (CurrentRoleMenuTreeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteDepartmentRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDepartmentRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDepartmentRequestValidationError) Field

Field function returns field value.

func (DeleteDepartmentRequestValidationError) Key

Key function returns key value.

func (DeleteDepartmentRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteDictRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDictRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDictRequestValidationError) Field

Field function returns field value.

func (DeleteDictRequestValidationError) Key

Key function returns key value.

func (DeleteDictRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteDictValueRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteDictValueRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteDictValueRequestValidationError) Field

Field function returns field value.

func (DeleteDictValueRequestValidationError) Key

Key function returns key value.

func (DeleteDictValueRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteJobRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteJobRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteJobRequestValidationError) Field

Field function returns field value.

func (DeleteJobRequestValidationError) Key

Key function returns key value.

func (DeleteJobRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteMenuRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteMenuRequestValidationError) Field

Field function returns field value.

func (DeleteMenuRequestValidationError) Key

Key function returns key value.

func (DeleteMenuRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteRoleRequestValidationError) Field

Field function returns field value.

func (DeleteRoleRequestValidationError) Key

Key function returns key value.

func (DeleteRoleRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

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

Error satisfies the builtin error interface

func (DepartmentValidationError) ErrorName

func (e DepartmentValidationError) ErrorName() string

ErrorName returns error name.

func (DepartmentValidationError) Field

Field function returns field value.

func (DepartmentValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use Dict.ProtoReflect.Descriptor instead.

func (*Dict) GetCreatedAt

func (x *Dict) GetCreatedAt() uint32

func (*Dict) GetDescription

func (x *Dict) GetDescription() string

func (*Dict) GetId

func (x *Dict) GetId() uint32

func (*Dict) GetKeyword

func (x *Dict) GetKeyword() string

func (*Dict) GetName

func (x *Dict) GetName() string

func (*Dict) GetUpdatedAt

func (x *Dict) GetUpdatedAt() uint32

func (*Dict) GetWeight

func (x *Dict) GetWeight() uint32

func (*Dict) ProtoMessage

func (*Dict) ProtoMessage()

func (*Dict) ProtoReflect

func (x *Dict) ProtoReflect() protoreflect.Message

func (*Dict) Reset

func (x *Dict) Reset()

func (*Dict) String

func (x *Dict) String() string

func (*Dict) Validate

func (m *Dict) Validate() error

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

func (m *Dict) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use DictValue.ProtoReflect.Descriptor instead.

func (*DictValue) GetCreatedAt

func (x *DictValue) GetCreatedAt() uint32

func (*DictValue) GetDescription

func (x *DictValue) GetDescription() string

func (*DictValue) GetDictId

func (x *DictValue) GetDictId() uint32

func (*DictValue) GetExtra

func (x *DictValue) GetExtra() string

func (*DictValue) GetId

func (x *DictValue) GetId() uint32

func (*DictValue) GetLabel

func (x *DictValue) GetLabel() string

func (*DictValue) GetStatus

func (x *DictValue) GetStatus() bool

func (*DictValue) GetType

func (x *DictValue) GetType() string

func (*DictValue) GetUpdatedAt

func (x *DictValue) GetUpdatedAt() uint32

func (*DictValue) GetValue

func (x *DictValue) GetValue() string

func (*DictValue) GetWeight

func (x *DictValue) GetWeight() uint32

func (*DictValue) ProtoMessage

func (*DictValue) ProtoMessage()

func (*DictValue) ProtoReflect

func (x *DictValue) ProtoReflect() protoreflect.Message

func (*DictValue) Reset

func (x *DictValue) Reset()

func (*DictValue) String

func (x *DictValue) String() string

func (*DictValue) Validate

func (m *DictValue) Validate() error

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

func (m *DictValue) ValidateAll() error

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

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

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

Cause function returns cause value.

func (DisableUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DisableUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DisableUserRequestValidationError) Field

Field function returns field value.

func (DisableUserRequestValidationError) Key

Key function returns key value.

func (DisableUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (EnableUserRequestValidationError) Error

Error satisfies the builtin error interface

func (EnableUserRequestValidationError) ErrorName

ErrorName returns error name.

func (EnableUserRequestValidationError) Field

Field function returns field value.

func (EnableUserRequestValidationError) Key

Key function returns key value.

func (EnableUserRequestValidationError) Reason

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) 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

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

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

Cause function returns cause value.

func (GetDepartmentReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDepartmentReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDepartmentReplyValidationError) Field

Field function returns field value.

func (GetDepartmentReplyValidationError) Key

Key function returns key value.

func (GetDepartmentReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetDepartmentRequestValidationError) Error

Error satisfies the builtin error interface

func (GetDepartmentRequestValidationError) ErrorName

ErrorName returns error name.

func (GetDepartmentRequestValidationError) Field

Field function returns field value.

func (GetDepartmentRequestValidationError) Key

Key function returns key value.

func (GetDepartmentRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetDepartmentTreeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetDepartmentTreeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetDepartmentTreeReplyValidationError) Field

Field function returns field value.

func (GetDepartmentTreeReplyValidationError) Key

Key function returns key value.

func (GetDepartmentTreeReplyValidationError) Reason

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

Cause function returns cause value.

func (GetJobReplyValidationError) Error

Error satisfies the builtin error interface

func (GetJobReplyValidationError) ErrorName

func (e GetJobReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetJobReplyValidationError) Field

Field function returns field value.

func (GetJobReplyValidationError) Key

Key function returns key value.

func (GetJobReplyValidationError) Reason

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

Cause function returns cause value.

func (GetJobRequestValidationError) Error

Error satisfies the builtin error interface

func (GetJobRequestValidationError) ErrorName

func (e GetJobRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetJobRequestValidationError) Field

Field function returns field value.

func (GetJobRequestValidationError) Key

Key function returns key value.

func (GetJobRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetMenuTreeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMenuTreeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMenuTreeReplyValidationError) Field

Field function returns field value.

func (GetMenuTreeReplyValidationError) Key

Key function returns key value.

func (GetMenuTreeReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetRoleMenuIdsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetRoleMenuIdsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetRoleMenuIdsReplyValidationError) Field

Field function returns field value.

func (GetRoleMenuIdsReplyValidationError) Key

Key function returns key value.

func (GetRoleMenuIdsReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetRoleMenuIdsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRoleMenuIdsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetRoleMenuIdsRequestValidationError) Field

Field function returns field value.

func (GetRoleMenuIdsRequestValidationError) Key

Key function returns key value.

func (GetRoleMenuIdsRequestValidationError) Reason

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

Cause function returns cause value.

func (GetRoleReplyValidationError) Error

Error satisfies the builtin error interface

func (GetRoleReplyValidationError) ErrorName

func (e GetRoleReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetRoleReplyValidationError) Field

Field function returns field value.

func (GetRoleReplyValidationError) Key

Key function returns key value.

func (GetRoleReplyValidationError) Reason

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

Cause function returns cause value.

func (GetRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRoleRequestValidationError) ErrorName

func (e GetRoleRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRoleRequestValidationError) Field

Field function returns field value.

func (GetRoleRequestValidationError) Key

Key function returns key value.

func (GetRoleRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetRoleTreeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetRoleTreeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetRoleTreeReplyValidationError) Field

Field function returns field value.

func (GetRoleTreeReplyValidationError) Key

Key function returns key value.

func (GetRoleTreeReplyValidationError) Reason

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"`
	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 (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

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

Cause function returns cause value.

func (GetSettingReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSettingReplyValidationError) ErrorName

func (e GetSettingReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetSettingReplyValidationError) Field

Field function returns field value.

func (GetSettingReplyValidationError) Key

Key function returns key value.

func (GetSettingReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserJobReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserJobReplyValidationError) ErrorName

func (e GetUserJobReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserJobReplyValidationError) Field

Field function returns field value.

func (GetUserJobReplyValidationError) Key

Key function returns key value.

func (GetUserJobReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserJobRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserJobRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserJobRequestValidationError) Field

Field function returns field value.

func (GetUserJobRequestValidationError) Key

Key function returns key value.

func (GetUserJobRequestValidationError) Reason

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

Cause function returns cause value.

func (GetUserReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserReplyValidationError) ErrorName

func (e GetUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserReplyValidationError) Field

Field function returns field value.

func (GetUserReplyValidationError) Key

Key function returns key value.

func (GetUserReplyValidationError) Reason

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

Cause function returns cause value.

func (GetUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserRequestValidationError) ErrorName

func (e GetUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRequestValidationError) Field

Field function returns field value.

func (GetUserRequestValidationError) Key

Key function returns key value.

func (GetUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserRolesReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserRolesReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserRolesReplyValidationError) Field

Field function returns field value.

func (GetUserRolesReplyValidationError) Key

Key function returns key value.

func (GetUserRolesReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetUserRolesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetUserRolesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetUserRolesRequestValidationError) Field

Field function returns field value.

func (GetUserRolesRequestValidationError) Key

Key function returns key value.

func (GetUserRolesRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetCreatedAt

func (x *Job) GetCreatedAt() uint32

func (*Job) GetDescription

func (x *Job) GetDescription() string

func (*Job) GetId

func (x *Job) GetId() uint32

func (*Job) GetKeyword

func (x *Job) GetKeyword() string

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetUpdatedAt

func (x *Job) GetUpdatedAt() uint32

func (*Job) GetWeight

func (x *Job) GetWeight() uint32

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

func (x *Job) ProtoReflect() protoreflect.Message

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

func (*Job) Validate

func (m *Job) Validate() error

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

func (m *Job) ValidateAll() error

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

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

Cause function returns cause value.

func (LoginCaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (LoginCaptchaReplyValidationError) ErrorName

ErrorName returns error name.

func (LoginCaptchaReplyValidationError) Field

Field function returns field value.

func (LoginCaptchaReplyValidationError) Key

Key function returns key value.

func (LoginCaptchaReplyValidationError) Reason

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

Error satisfies the builtin error interface

func (LoginReplyValidationError) ErrorName

func (e LoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoginReplyValidationError) Field

Field function returns field value.

func (LoginReplyValidationError) Key

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

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

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() ([]byte, []int)

Deprecated: Use Menu.ProtoReflect.Descriptor instead.

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

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 (m *Menu) ValidateAll() error

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 []error

MenuMultiError is an error wrapping multiple validation errors returned by Menu.ValidateAll() if the designated constraints aren't met.

func (m MenuMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (m MenuMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 (e MenuValidationError) Cause() error

Cause function returns cause value.

func (e MenuValidationError) Error() string

Error satisfies the builtin error interface

func (e MenuValidationError) ErrorName() string

ErrorName returns error name.

func (e MenuValidationError) Field() string

Field function returns field value.

func (e MenuValidationError) Key() bool

Key function returns key value.

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

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

Cause function returns cause value.

func (OfflineUserRequestValidationError) Error

Error satisfies the builtin error interface

func (OfflineUserRequestValidationError) ErrorName

ErrorName returns error name.

func (OfflineUserRequestValidationError) Field

Field function returns field value.

func (OfflineUserRequestValidationError) Key

Key function returns key value.

func (OfflineUserRequestValidationError) Reason

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

Cause function returns cause value.

func (PageDictReplyValidationError) Error

Error satisfies the builtin error interface

func (PageDictReplyValidationError) ErrorName

func (e PageDictReplyValidationError) ErrorName() string

ErrorName returns error name.

func (PageDictReplyValidationError) Field

Field function returns field value.

func (PageDictReplyValidationError) Key

Key function returns key value.

func (PageDictReplyValidationError) Reason

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

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

Cause function returns cause value.

func (PageDictRequestValidationError) Error

Error satisfies the builtin error interface

func (PageDictRequestValidationError) ErrorName

func (e PageDictRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PageDictRequestValidationError) Field

Field function returns field value.

func (PageDictRequestValidationError) Key

Key function returns key value.

func (PageDictRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PageDictValueReplyValidationError) Error

Error satisfies the builtin error interface

func (PageDictValueReplyValidationError) ErrorName

ErrorName returns error name.

func (PageDictValueReplyValidationError) Field

Field function returns field value.

func (PageDictValueReplyValidationError) Key

Key function returns key value.

func (PageDictValueReplyValidationError) Reason

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

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

Cause function returns cause value.

func (PageDictValueRequestValidationError) Error

Error satisfies the builtin error interface

func (PageDictValueRequestValidationError) ErrorName

ErrorName returns error name.

func (PageDictValueRequestValidationError) Field

Field function returns field value.

func (PageDictValueRequestValidationError) Key

Key function returns key value.

func (PageDictValueRequestValidationError) Reason

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

Cause function returns cause value.

func (PageJobReplyValidationError) Error

Error satisfies the builtin error interface

func (PageJobReplyValidationError) ErrorName

func (e PageJobReplyValidationError) ErrorName() string

ErrorName returns error name.

func (PageJobReplyValidationError) Field

Field function returns field value.

func (PageJobReplyValidationError) Key

Key function returns key value.

func (PageJobReplyValidationError) Reason

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

Cause function returns cause value.

func (PageJobRequestValidationError) Error

Error satisfies the builtin error interface

func (PageJobRequestValidationError) ErrorName

func (e PageJobRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PageJobRequestValidationError) Field

Field function returns field value.

func (PageJobRequestValidationError) Key

Key function returns key value.

func (PageJobRequestValidationError) Reason

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

Cause function returns cause value.

func (PageUserReplyValidationError) Error

Error satisfies the builtin error interface

func (PageUserReplyValidationError) ErrorName

func (e PageUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (PageUserReplyValidationError) Field

Field function returns field value.

func (PageUserReplyValidationError) Key

Key function returns key value.

func (PageUserReplyValidationError) Reason

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

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

Cause function returns cause value.

func (PageUserRequestValidationError) Error

Error satisfies the builtin error interface

func (PageUserRequestValidationError) ErrorName

func (e PageUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PageUserRequestValidationError) Field

Field function returns field value.

func (PageUserRequestValidationError) Key

Key function returns key value.

func (PageUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ParseTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (ParseTokenReplyValidationError) ErrorName

func (e ParseTokenReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ParseTokenReplyValidationError) Field

Field function returns field value.

func (ParseTokenReplyValidationError) Key

Key function returns key value.

func (ParseTokenReplyValidationError) Reason

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

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

Cause function returns cause value.

func (RefreshTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (RefreshTokenReplyValidationError) ErrorName

ErrorName returns error name.

func (RefreshTokenReplyValidationError) Field

Field function returns field value.

func (RefreshTokenReplyValidationError) Key

Key function returns key value.

func (RefreshTokenReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ResetUserPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetUserPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetUserPasswordRequestValidationError) Field

Field function returns field value.

func (ResetUserPasswordRequestValidationError) Key

Key function returns key value.

func (ResetUserPasswordRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetChildren

func (x *Role) GetChildren() []*Role

func (*Role) GetCreatedAt

func (x *Role) GetCreatedAt() uint32

func (*Role) GetDataScope

func (x *Role) GetDataScope() string

func (*Role) GetDepartmentIds

func (x *Role) GetDepartmentIds() string

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetId

func (x *Role) GetId() uint32

func (*Role) GetKeyword

func (x *Role) GetKeyword() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetParentId

func (x *Role) GetParentId() uint32

func (*Role) GetStatus

func (x *Role) GetStatus() bool

func (*Role) GetUpdatedAt

func (x *Role) GetUpdatedAt() uint32

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

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

func (m *Role) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use RoleMenu.ProtoReflect.Descriptor instead.

func (*RoleMenu) GetMenu

func (x *RoleMenu) GetMenu() *Menu

func (*RoleMenu) GetMenuId

func (x *RoleMenu) GetMenuId() uint32

func (*RoleMenu) GetRoleId

func (x *RoleMenu) GetRoleId() uint32

func (*RoleMenu) ProtoMessage

func (*RoleMenu) ProtoMessage()

func (*RoleMenu) ProtoReflect

func (x *RoleMenu) ProtoReflect() protoreflect.Message

func (*RoleMenu) Reset

func (x *RoleMenu) Reset()

func (*RoleMenu) String

func (x *RoleMenu) String() string

func (*RoleMenu) Validate

func (m *RoleMenu) Validate() error

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

func (m *RoleMenu) ValidateAll() error

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 (*ServiceHTTPClientImpl) AddDict

func (*ServiceHTTPClientImpl) AddDictValue

func (*ServiceHTTPClientImpl) AddJob

func (*ServiceHTTPClientImpl) AddMenu

func (*ServiceHTTPClientImpl) AddRole

func (*ServiceHTTPClientImpl) AddUser

func (*ServiceHTTPClientImpl) Auth

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 (*ServiceHTTPClientImpl) DeleteDictValue

func (c *ServiceHTTPClientImpl) DeleteDictValue(ctx context.Context, in *DeleteDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) DeleteJob

func (*ServiceHTTPClientImpl) DeleteMenu

func (*ServiceHTTPClientImpl) DeleteRole

func (*ServiceHTTPClientImpl) DeleteUser

func (*ServiceHTTPClientImpl) DisableUser

func (*ServiceHTTPClientImpl) EnableUser

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 (*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 (*ServiceHTTPClientImpl) GetUserRoles

func (*ServiceHTTPClientImpl) Login

func (*ServiceHTTPClientImpl) LoginCaptcha

func (c *ServiceHTTPClientImpl) LoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*LoginCaptchaReply, error)

func (*ServiceHTTPClientImpl) Logout

func (*ServiceHTTPClientImpl) OfflineUser

func (*ServiceHTTPClientImpl) PageDict

func (*ServiceHTTPClientImpl) PageDictValue

func (*ServiceHTTPClientImpl) PageJob

func (*ServiceHTTPClientImpl) PageUser

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 (*ServiceHTTPClientImpl) UpdateDepartment

func (c *ServiceHTTPClientImpl) UpdateDepartment(ctx context.Context, in *UpdateDepartmentRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) UpdateDict

func (*ServiceHTTPClientImpl) UpdateDictValue

func (c *ServiceHTTPClientImpl) UpdateDictValue(ctx context.Context, in *UpdateDictValueRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) UpdateJob

func (*ServiceHTTPClientImpl) UpdateMenu

func (*ServiceHTTPClientImpl) UpdateRole

func (*ServiceHTTPClientImpl) UpdateRoleMenus

func (c *ServiceHTTPClientImpl) UpdateRoleMenus(ctx context.Context, in *UpdateRoleMenuRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) UpdateUser

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 (*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

AllErrors returns a list of validation violation errors.

func (SwitchCurrentUserRoleReplyMultiError) Error

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

Cause function returns cause value.

func (SwitchCurrentUserRoleReplyValidationError) Error

Error satisfies the builtin error interface

func (SwitchCurrentUserRoleReplyValidationError) ErrorName

ErrorName returns error name.

func (SwitchCurrentUserRoleReplyValidationError) Field

Field function returns field value.

func (SwitchCurrentUserRoleReplyValidationError) Key

Key function returns key value.

func (SwitchCurrentUserRoleReplyValidationError) Reason

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 (*SwitchCurrentUserRoleRequest) Reset

func (x *SwitchCurrentUserRoleRequest) Reset()

func (*SwitchCurrentUserRoleRequest) 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

AllErrors returns a list of validation violation errors.

func (SwitchCurrentUserRoleRequestMultiError) Error

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

Cause function returns cause value.

func (SwitchCurrentUserRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (SwitchCurrentUserRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (SwitchCurrentUserRoleRequestValidationError) Field

Field function returns field value.

func (SwitchCurrentUserRoleRequestValidationError) Key

Key function returns key value.

func (SwitchCurrentUserRoleRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) AddDepartment

func (UnimplementedServiceServer) AddDict

func (UnimplementedServiceServer) AddDictValue

func (UnimplementedServiceServer) AddJob

func (UnimplementedServiceServer) AddMenu

func (UnimplementedServiceServer) AddRole

func (UnimplementedServiceServer) AddUser

func (UnimplementedServiceServer) Auth

func (UnimplementedServiceServer) ChangeUserPassword

func (UnimplementedServiceServer) ChangeUserPasswordCaptcha

func (UnimplementedServiceServer) CurrentRoleMenuTree

func (UnimplementedServiceServer) CurrentUser

func (UnimplementedServiceServer) CurrentUserRoles

func (UnimplementedServiceServer) DeleteDepartment

func (UnimplementedServiceServer) DeleteDict

func (UnimplementedServiceServer) DeleteDictValue

func (UnimplementedServiceServer) DeleteJob

func (UnimplementedServiceServer) DeleteMenu

func (UnimplementedServiceServer) DeleteRole

func (UnimplementedServiceServer) DeleteUser

func (UnimplementedServiceServer) DisableUser

func (UnimplementedServiceServer) EnableUser

func (UnimplementedServiceServer) GetDepartment

func (UnimplementedServiceServer) GetDepartmentTree

func (UnimplementedServiceServer) GetJob

func (UnimplementedServiceServer) GetMenuTree

func (UnimplementedServiceServer) GetRole

func (UnimplementedServiceServer) GetRoleMenuIds

func (UnimplementedServiceServer) GetRoleTree

func (UnimplementedServiceServer) GetSetting

func (UnimplementedServiceServer) GetUser

func (UnimplementedServiceServer) GetUserJob

func (UnimplementedServiceServer) GetUserRoles

func (UnimplementedServiceServer) Login

func (UnimplementedServiceServer) LoginCaptcha

func (UnimplementedServiceServer) Logout

func (UnimplementedServiceServer) OfflineUser

func (UnimplementedServiceServer) PageDict

func (UnimplementedServiceServer) PageDictValue

func (UnimplementedServiceServer) PageJob

func (UnimplementedServiceServer) PageUser

func (UnimplementedServiceServer) ParseToken

func (UnimplementedServiceServer) RefreshToken

func (UnimplementedServiceServer) ResetUserPassword

func (UnimplementedServiceServer) UpdateDepartment

func (UnimplementedServiceServer) UpdateDict

func (UnimplementedServiceServer) UpdateDictValue

func (UnimplementedServiceServer) UpdateJob

func (UnimplementedServiceServer) UpdateMenu

func (UnimplementedServiceServer) UpdateRole

func (UnimplementedServiceServer) UpdateRoleMenus

func (UnimplementedServiceServer) UpdateUser

func (UnimplementedServiceServer) UpdateUserBasic

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

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

Cause function returns cause value.

func (UpdateDepartmentRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDepartmentRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDepartmentRequestValidationError) Field

Field function returns field value.

func (UpdateDepartmentRequestValidationError) Key

Key function returns key value.

func (UpdateDepartmentRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateDictRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDictRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDictRequestValidationError) Field

Field function returns field value.

func (UpdateDictRequestValidationError) Key

Key function returns key value.

func (UpdateDictRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateDictValueRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDictValueRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDictValueRequestValidationError) Field

Field function returns field value.

func (UpdateDictValueRequestValidationError) Key

Key function returns key value.

func (UpdateDictValueRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateJobRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateJobRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateJobRequestValidationError) Field

Field function returns field value.

func (UpdateJobRequestValidationError) Key

Key function returns key value.

func (UpdateJobRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateMenuRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateMenuRequestValidationError) Field

Field function returns field value.

func (UpdateMenuRequestValidationError) Key

Key function returns key value.

func (UpdateMenuRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateRoleMenuRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleMenuRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleMenuRequestValidationError) Field

Field function returns field value.

func (UpdateRoleMenuRequestValidationError) Key

Key function returns key value.

func (UpdateRoleMenuRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleRequestValidationError) Field

Field function returns field value.

func (UpdateRoleRequestValidationError) Key

Key function returns key value.

func (UpdateRoleRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateUserBasicRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserBasicRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserBasicRequestValidationError) Field

Field function returns field value.

func (UpdateUserBasicRequestValidationError) Key

Key function returns key value.

func (UpdateUserBasicRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() uint32

func (*User) GetDepartment

func (x *User) GetDepartment() *Department

func (*User) GetDepartmentId

func (x *User) GetDepartmentId() uint32

func (*User) GetDisabled

func (x *User) GetDisabled() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetGender

func (x *User) GetGender() string

func (*User) GetId

func (x *User) GetId() uint32

func (*User) GetJobs

func (x *User) GetJobs() []*Job

func (*User) GetLastLogin

func (x *User) GetLastLogin() uint32

func (*User) GetName

func (x *User) GetName() string

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPhone

func (x *User) GetPhone() string

func (*User) GetRole

func (x *User) GetRole() *Role

func (*User) GetRoleId

func (x *User) GetRoleId() uint32

func (*User) GetRoles

func (x *User) GetRoles() []*Role

func (*User) GetStatus

func (x *User) GetStatus() bool

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() uint32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use UserRole.ProtoReflect.Descriptor instead.

func (*UserRole) GetRole

func (x *UserRole) GetRole() *Role

func (*UserRole) GetRoleId

func (x *UserRole) GetRoleId() uint32

func (*UserRole) GetUser

func (x *UserRole) GetUser() *User

func (*UserRole) GetUserId

func (x *UserRole) GetUserId() uint32

func (*UserRole) ProtoMessage

func (*UserRole) ProtoMessage()

func (*UserRole) ProtoReflect

func (x *UserRole) ProtoReflect() protoreflect.Message

func (*UserRole) Reset

func (x *UserRole) Reset()

func (*UserRole) String

func (x *UserRole) String() string

func (*UserRole) Validate

func (m *UserRole) Validate() error

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

func (m *UserRole) ValidateAll() error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL