v1

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Service_GetUserScope_FullMethodName              = "/manager_user.Service/GetUserScope"
	Service_CurrentUser_FullMethodName               = "/manager_user.Service/CurrentUser"
	Service_PageUser_FullMethodName                  = "/manager_user.Service/PageUser"
	Service_AddUser_FullMethodName                   = "/manager_user.Service/AddUser"
	Service_ChangeUserPasswordCaptcha_FullMethodName = "/manager_user.Service/ChangeUserPasswordCaptcha"
	Service_ResetUserPassword_FullMethodName         = "/manager_user.Service/ResetUserPassword"
	Service_ChangeUserPassword_FullMethodName        = "/manager_user.Service/ChangeUserPassword"
	Service_DisableUser_FullMethodName               = "/manager_user.Service/DisableUser"
	Service_EnableUser_FullMethodName                = "/manager_user.Service/EnableUser"
	Service_OfflineUser_FullMethodName               = "/manager_user.Service/OfflineUser"
	Service_UpdateUser_FullMethodName                = "/manager_user.Service/UpdateUser"
	Service_UpdateCurrentUser_FullMethodName         = "/manager_user.Service/UpdateCurrentUser"
	Service_DeleteUser_FullMethodName                = "/manager_user.Service/DeleteUser"
	Service_SwitchCurrentUserRole_FullMethodName     = "/manager_user.Service/SwitchCurrentUserRole"
	Service_UserLogin_FullMethodName                 = "/manager_user.Service/UserLogin"
	Service_UserLoginCaptcha_FullMethodName          = "/manager_user.Service/UserLoginCaptcha"
	Service_UserLogout_FullMethodName                = "/manager_user.Service/UserLogout"
	Service_UserRefreshToken_FullMethodName          = "/manager_user.Service/UserRefreshToken"
)
View Source
const OperationServiceAddUser = "/manager_user.Service/AddUser"
View Source
const OperationServiceChangeUserPassword = "/manager_user.Service/ChangeUserPassword"
View Source
const OperationServiceChangeUserPasswordCaptcha = "/manager_user.Service/ChangeUserPasswordCaptcha"
View Source
const OperationServiceCurrentUser = "/manager_user.Service/CurrentUser"
View Source
const OperationServiceDeleteUser = "/manager_user.Service/DeleteUser"
View Source
const OperationServiceDisableUser = "/manager_user.Service/DisableUser"
View Source
const OperationServiceEnableUser = "/manager_user.Service/EnableUser"
View Source
const OperationServiceGetUserScope = "/manager_user.Service/GetUserScope"
View Source
const OperationServiceOfflineUser = "/manager_user.Service/OfflineUser"
View Source
const OperationServicePageUser = "/manager_user.Service/PageUser"
View Source
const OperationServiceResetUserPassword = "/manager_user.Service/ResetUserPassword"
View Source
const OperationServiceSwitchCurrentUserRole = "/manager_user.Service/SwitchCurrentUserRole"
View Source
const OperationServiceUpdateCurrentUser = "/manager_user.Service/UpdateCurrentUser"
View Source
const OperationServiceUpdateUser = "/manager_user.Service/UpdateUser"
View Source
const OperationServiceUserLogin = "/manager_user.Service/UserLogin"
View Source
const OperationServiceUserLoginCaptcha = "/manager_user.Service/UserLoginCaptcha"
View Source
const OperationServiceUserLogout = "/manager_user.Service/UserLogout"
View Source
const OperationServiceUserRefreshToken = "/manager_user.Service/UserRefreshToken"

Variables

View Source
var File_manager_user_proto protoreflect.FileDescriptor
View Source
var File_manager_user_service_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager_user.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserScope",
			Handler:    _Service_GetUserScope_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: "UpdateCurrentUser",
			Handler:    _Service_UpdateCurrentUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _Service_DeleteUser_Handler,
		},
		{
			MethodName: "SwitchCurrentUserRole",
			Handler:    _Service_SwitchCurrentUserRole_Handler,
		},
		{
			MethodName: "UserLogin",
			Handler:    _Service_UserLogin_Handler,
		},
		{
			MethodName: "UserLoginCaptcha",
			Handler:    _Service_UserLoginCaptcha_Handler,
		},
		{
			MethodName: "UserLogout",
			Handler:    _Service_UserLogout_Handler,
		},
		{
			MethodName: "UserRefreshToken",
			Handler:    _Service_UserRefreshToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "manager_user_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 RegisterServiceHTTPServer

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

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AddUserReply

type AddUserReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserReply) Descriptor deprecated

func (*AddUserReply) Descriptor() ([]byte, []int)

Deprecated: Use AddUserReply.ProtoReflect.Descriptor instead.

func (*AddUserReply) GetId

func (x *AddUserReply) GetId() uint32

func (*AddUserReply) ProtoMessage

func (*AddUserReply) ProtoMessage()

func (*AddUserReply) ProtoReflect

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

func (*AddUserReply) Reset

func (x *AddUserReply) Reset()

func (*AddUserReply) String

func (x *AddUserReply) String() string

func (*AddUserReply) Validate

func (m *AddUserReply) Validate() error

Validate checks the field values on AddUserReply 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 (*AddUserReply) ValidateAll

func (m *AddUserReply) ValidateAll() error

ValidateAll checks the field values on AddUserReply 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 AddUserReplyMultiError, or nil if none found.

type AddUserReplyMultiError

type AddUserReplyMultiError []error

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

func (AddUserReplyMultiError) AllErrors

func (m AddUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddUserReplyMultiError) Error

func (m AddUserReplyMultiError) Error() string

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

type AddUserReplyValidationError

type AddUserReplyValidationError struct {
	// contains filtered or unexported fields
}

AddUserReplyValidationError is the validation error returned by AddUserReply.Validate if the designated constraints aren't met.

func (AddUserReplyValidationError) Cause

Cause function returns cause value.

func (AddUserReplyValidationError) Error

Error satisfies the builtin error interface

func (AddUserReplyValidationError) ErrorName

func (e AddUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (AddUserReplyValidationError) Field

Field function returns field value.

func (AddUserReplyValidationError) Key

Key function returns key value.

func (AddUserReplyValidationError) 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 CaptchaReply

type CaptchaReply 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 (*CaptchaReply) Descriptor deprecated

func (*CaptchaReply) Descriptor() ([]byte, []int)

Deprecated: Use CaptchaReply.ProtoReflect.Descriptor instead.

func (*CaptchaReply) GetCaptcha

func (x *CaptchaReply) GetCaptcha() string

func (*CaptchaReply) GetExpire

func (x *CaptchaReply) GetExpire() uint32

func (*CaptchaReply) GetUuid

func (x *CaptchaReply) GetUuid() string

func (*CaptchaReply) ProtoMessage

func (*CaptchaReply) ProtoMessage()

func (*CaptchaReply) ProtoReflect

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

func (*CaptchaReply) Reset

func (x *CaptchaReply) Reset()

func (*CaptchaReply) String

func (x *CaptchaReply) String() string

func (*CaptchaReply) Validate

func (m *CaptchaReply) Validate() error

Validate checks the field values on CaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CaptchaReply) ValidateAll

func (m *CaptchaReply) ValidateAll() error

ValidateAll checks the field values on CaptchaReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CaptchaReplyMultiError, or nil if none found.

type CaptchaReplyMultiError

type CaptchaReplyMultiError []error

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

func (CaptchaReplyMultiError) AllErrors

func (m CaptchaReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CaptchaReplyMultiError) Error

func (m CaptchaReplyMultiError) Error() string

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

type CaptchaReplyValidationError

type CaptchaReplyValidationError struct {
	// contains filtered or unexported fields
}

CaptchaReplyValidationError is the validation error returned by CaptchaReply.Validate if the designated constraints aren't met.

func (CaptchaReplyValidationError) Cause

Cause function returns cause value.

func (CaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (CaptchaReplyValidationError) ErrorName

func (e CaptchaReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CaptchaReplyValidationError) Field

Field function returns field value.

func (CaptchaReplyValidationError) Key

Key function returns key value.

func (CaptchaReplyValidationError) 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 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 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 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 GetUserScopeReply added in v1.0.12

type GetUserScopeReply struct {
	IsAll bool     `protobuf:"varint,1,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty"`
	Scope []uint32 `protobuf:"varint,2,rep,packed,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserScopeReply) Descriptor deprecated added in v1.0.12

func (*GetUserScopeReply) Descriptor() ([]byte, []int)

Deprecated: Use GetUserScopeReply.ProtoReflect.Descriptor instead.

func (*GetUserScopeReply) GetIsAll added in v1.0.12

func (x *GetUserScopeReply) GetIsAll() bool

func (*GetUserScopeReply) GetScope added in v1.0.12

func (x *GetUserScopeReply) GetScope() []uint32

func (*GetUserScopeReply) ProtoMessage added in v1.0.12

func (*GetUserScopeReply) ProtoMessage()

func (*GetUserScopeReply) ProtoReflect added in v1.0.12

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

func (*GetUserScopeReply) Reset added in v1.0.12

func (x *GetUserScopeReply) Reset()

func (*GetUserScopeReply) String added in v1.0.12

func (x *GetUserScopeReply) String() string

func (*GetUserScopeReply) Validate added in v1.0.12

func (m *GetUserScopeReply) Validate() error

Validate checks the field values on GetUserScopeReply 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 (*GetUserScopeReply) ValidateAll added in v1.0.12

func (m *GetUserScopeReply) ValidateAll() error

ValidateAll checks the field values on GetUserScopeReply 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 GetUserScopeReplyMultiError, or nil if none found.

type GetUserScopeReplyMultiError added in v1.0.12

type GetUserScopeReplyMultiError []error

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

func (GetUserScopeReplyMultiError) AllErrors added in v1.0.12

func (m GetUserScopeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserScopeReplyMultiError) Error added in v1.0.12

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

type GetUserScopeReplyValidationError added in v1.0.12

type GetUserScopeReplyValidationError struct {
	// contains filtered or unexported fields
}

GetUserScopeReplyValidationError is the validation error returned by GetUserScopeReply.Validate if the designated constraints aren't met.

func (GetUserScopeReplyValidationError) Cause added in v1.0.12

Cause function returns cause value.

func (GetUserScopeReplyValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (GetUserScopeReplyValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (GetUserScopeReplyValidationError) Field added in v1.0.12

Field function returns field value.

func (GetUserScopeReplyValidationError) Key added in v1.0.12

Key function returns key value.

func (GetUserScopeReplyValidationError) Reason added in v1.0.12

Reason function returns reason value.

type GetUserScopeRequest added in v1.0.12

type GetUserScopeRequest struct {
	UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserScopeRequest) Descriptor deprecated added in v1.0.12

func (*GetUserScopeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserScopeRequest.ProtoReflect.Descriptor instead.

func (*GetUserScopeRequest) GetUserId added in v1.0.12

func (x *GetUserScopeRequest) GetUserId() uint32

func (*GetUserScopeRequest) ProtoMessage added in v1.0.12

func (*GetUserScopeRequest) ProtoMessage()

func (*GetUserScopeRequest) ProtoReflect added in v1.0.12

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

func (*GetUserScopeRequest) Reset added in v1.0.12

func (x *GetUserScopeRequest) Reset()

func (*GetUserScopeRequest) String added in v1.0.12

func (x *GetUserScopeRequest) String() string

func (*GetUserScopeRequest) Validate added in v1.0.12

func (m *GetUserScopeRequest) Validate() error

Validate checks the field values on GetUserScopeRequest 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 (*GetUserScopeRequest) ValidateAll added in v1.0.12

func (m *GetUserScopeRequest) ValidateAll() error

ValidateAll checks the field values on GetUserScopeRequest 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 GetUserScopeRequestMultiError, or nil if none found.

type GetUserScopeRequestMultiError added in v1.0.12

type GetUserScopeRequestMultiError []error

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

func (GetUserScopeRequestMultiError) AllErrors added in v1.0.12

func (m GetUserScopeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserScopeRequestMultiError) Error added in v1.0.12

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

type GetUserScopeRequestValidationError added in v1.0.12

type GetUserScopeRequestValidationError struct {
	// contains filtered or unexported fields
}

GetUserScopeRequestValidationError is the validation error returned by GetUserScopeRequest.Validate if the designated constraints aren't met.

func (GetUserScopeRequestValidationError) Cause added in v1.0.12

Cause function returns cause value.

func (GetUserScopeRequestValidationError) Error added in v1.0.12

Error satisfies the builtin error interface

func (GetUserScopeRequestValidationError) ErrorName added in v1.0.12

ErrorName returns error name.

func (GetUserScopeRequestValidationError) Field added in v1.0.12

Field function returns field value.

func (GetUserScopeRequestValidationError) Key added in v1.0.12

Key function returns key value.

func (GetUserScopeRequestValidationError) Reason added in v1.0.12

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

type ServiceClient interface {
	// GetUserScope 获取指定的用户的数据权限域
	GetUserScope(ctx context.Context, in *GetUserScopeRequest, opts ...grpc.CallOption) (*GetUserScopeReply, error)
	// CurrentUser 获取当前用户信息
	CurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*User, error)
	// PageUser 新增用户信息
	PageUser(ctx context.Context, in *PageUserRequest, opts ...grpc.CallOption) (*PageUserReply, error)
	// AddUser 新增用户信息
	AddUser(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*AddUserReply, error)
	// ChangeUserPasswordCaptcha 用户修改密码验证码
	ChangeUserPasswordCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, 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)
	// UpdateCurrentUser 更新用户基础信息
	UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteUser 删除用户信息
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// SwitchCurrentUserRole 切换用户当前角色
	SwitchCurrentUserRole(ctx context.Context, in *SwitchCurrentUserRoleRequest, opts ...grpc.CallOption) (*SwitchCurrentUserRoleReply, error)
	UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginReply, error)
	UserLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CaptchaReply, error)
	UserLogout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UserRefreshToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserRefreshTokenReply, 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 {
	AddUser(ctx context.Context, req *AddUserRequest, opts ...http.CallOption) (rsp *AddUserReply, 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 *CaptchaReply, err error)
	CurrentUser(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *User, 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)
	GetUserScope(ctx context.Context, req *GetUserScopeRequest, opts ...http.CallOption) (rsp *GetUserScopeReply, err error)
	OfflineUser(ctx context.Context, req *OfflineUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	PageUser(ctx context.Context, req *PageUserRequest, opts ...http.CallOption) (rsp *PageUserReply, 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)
	UpdateCurrentUser(ctx context.Context, req *UpdateCurrentUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UserLogin(ctx context.Context, req *UserLoginRequest, opts ...http.CallOption) (rsp *UserLoginReply, err error)
	UserLoginCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *CaptchaReply, err error)
	UserLogout(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UserRefreshToken(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *UserRefreshTokenReply, err error)
}

func NewServiceHTTPClient

func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient

type ServiceHTTPClientImpl

type ServiceHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*ServiceHTTPClientImpl) AddUser

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) (*CaptchaReply, error)

func (*ServiceHTTPClientImpl) CurrentUser

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

func (*ServiceHTTPClientImpl) DeleteUser

func (*ServiceHTTPClientImpl) DisableUser

func (*ServiceHTTPClientImpl) EnableUser

func (*ServiceHTTPClientImpl) GetUserScope added in v1.0.12

func (*ServiceHTTPClientImpl) OfflineUser

func (*ServiceHTTPClientImpl) PageUser

func (*ServiceHTTPClientImpl) ResetUserPassword

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

func (*ServiceHTTPClientImpl) SwitchCurrentUserRole

func (*ServiceHTTPClientImpl) UpdateCurrentUser

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

func (*ServiceHTTPClientImpl) UpdateUser

func (*ServiceHTTPClientImpl) UserLogin

func (*ServiceHTTPClientImpl) UserLoginCaptcha

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

func (*ServiceHTTPClientImpl) UserLogout

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

func (*ServiceHTTPClientImpl) UserRefreshToken

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

type ServiceHTTPServer

type ServiceHTTPServer interface {
	// AddUser AddUser 新增用户信息
	AddUser(context.Context, *AddUserRequest) (*AddUserReply, error)
	// ChangeUserPassword ChangeUserPassword 用户修改密码
	ChangeUserPassword(context.Context, *ChangeUserPasswordRequest) (*emptypb.Empty, error)
	// ChangeUserPasswordCaptcha ChangeUserPasswordCaptcha 用户修改密码验证码
	ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
	// CurrentUser CurrentUser 获取当前用户信息
	CurrentUser(context.Context, *emptypb.Empty) (*User, 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)
	// GetUserScope GetUserScope 获取指定的用户的数据权限域
	GetUserScope(context.Context, *GetUserScopeRequest) (*GetUserScopeReply, error)
	// OfflineUser DisableUser 禁用用户
	OfflineUser(context.Context, *OfflineUserRequest) (*emptypb.Empty, error)
	// PageUser PageUser 新增用户信息
	PageUser(context.Context, *PageUserRequest) (*PageUserReply, error)
	// ResetUserPassword ResetUserPassword 重置用户密码
	ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*emptypb.Empty, error)
	// SwitchCurrentUserRole SwitchCurrentUserRole 切换用户当前角色
	SwitchCurrentUserRole(context.Context, *SwitchCurrentUserRoleRequest) (*SwitchCurrentUserRoleReply, error)
	// UpdateCurrentUser UpdateCurrentUser 更新用户基础信息
	UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*emptypb.Empty, error)
	// UpdateUser UpdateUser 更新用户信息
	UpdateUser(context.Context, *UpdateUserRequest) (*emptypb.Empty, error)
	UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error)
	UserLoginCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
	UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error)
}

type ServiceServer

type ServiceServer interface {
	// GetUserScope 获取指定的用户的数据权限域
	GetUserScope(context.Context, *GetUserScopeRequest) (*GetUserScopeReply, error)
	// CurrentUser 获取当前用户信息
	CurrentUser(context.Context, *emptypb.Empty) (*User, error)
	// PageUser 新增用户信息
	PageUser(context.Context, *PageUserRequest) (*PageUserReply, error)
	// AddUser 新增用户信息
	AddUser(context.Context, *AddUserRequest) (*AddUserReply, error)
	// ChangeUserPasswordCaptcha 用户修改密码验证码
	ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, 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)
	// UpdateCurrentUser 更新用户基础信息
	UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*emptypb.Empty, error)
	// DeleteUser 删除用户信息
	DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
	// SwitchCurrentUserRole 切换用户当前角色
	SwitchCurrentUserRole(context.Context, *SwitchCurrentUserRoleRequest) (*SwitchCurrentUserRoleReply, error)
	UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error)
	UserLoginCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)
	UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, 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) AddUser

func (UnimplementedServiceServer) ChangeUserPassword

func (UnimplementedServiceServer) ChangeUserPasswordCaptcha

func (UnimplementedServiceServer) ChangeUserPasswordCaptcha(context.Context, *emptypb.Empty) (*CaptchaReply, error)

func (UnimplementedServiceServer) CurrentUser

func (UnimplementedServiceServer) DeleteUser

func (UnimplementedServiceServer) DisableUser

func (UnimplementedServiceServer) EnableUser

func (UnimplementedServiceServer) GetUserScope added in v1.0.12

func (UnimplementedServiceServer) OfflineUser

func (UnimplementedServiceServer) PageUser

func (UnimplementedServiceServer) ResetUserPassword

func (UnimplementedServiceServer) UpdateCurrentUser

func (UnimplementedServiceServer) UpdateUser

func (UnimplementedServiceServer) UserLogin

func (UnimplementedServiceServer) UserLoginCaptcha

func (UnimplementedServiceServer) UserLogout

func (UnimplementedServiceServer) UserRefreshToken

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 UpdateCurrentUserRequest

type UpdateCurrentUserRequest 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 (*UpdateCurrentUserRequest) Descriptor deprecated

func (*UpdateCurrentUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCurrentUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserRequest) GetGender

func (x *UpdateCurrentUserRequest) GetGender() string

func (*UpdateCurrentUserRequest) GetNickname

func (x *UpdateCurrentUserRequest) GetNickname() string

func (*UpdateCurrentUserRequest) ProtoMessage

func (*UpdateCurrentUserRequest) ProtoMessage()

func (*UpdateCurrentUserRequest) ProtoReflect

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

func (*UpdateCurrentUserRequest) Reset

func (x *UpdateCurrentUserRequest) Reset()

func (*UpdateCurrentUserRequest) String

func (x *UpdateCurrentUserRequest) String() string

func (*UpdateCurrentUserRequest) Validate

func (m *UpdateCurrentUserRequest) Validate() error

Validate checks the field values on UpdateCurrentUserRequest 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 (*UpdateCurrentUserRequest) ValidateAll

func (m *UpdateCurrentUserRequest) ValidateAll() error

ValidateAll checks the field values on UpdateCurrentUserRequest 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 UpdateCurrentUserRequestMultiError, or nil if none found.

type UpdateCurrentUserRequestMultiError

type UpdateCurrentUserRequestMultiError []error

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

func (UpdateCurrentUserRequestMultiError) AllErrors

func (m UpdateCurrentUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserRequestMultiError) Error

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

type UpdateCurrentUserRequestValidationError

type UpdateCurrentUserRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateCurrentUserRequestValidationError is the validation error returned by UpdateCurrentUserRequest.Validate if the designated constraints aren't met.

func (UpdateCurrentUserRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserRequestValidationError) 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   *User_Department `protobuf:"bytes,15,opt,name=department,proto3" json:"department,omitempty"`
	Role         *User_Role       `protobuf:"bytes,16,opt,name=role,proto3" json:"role,omitempty"`
	Roles        []*User_Role     `protobuf:"bytes,17,rep,name=roles,proto3" json:"roles,omitempty"`
	Jobs         []*User_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() *User_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() []*User_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() *User_Role

func (*User) GetRoleId

func (x *User) GetRoleId() uint32

func (*User) GetRoles

func (x *User) GetRoles() []*User_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 UserLoginReply

type UserLoginReply struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLoginReply) Descriptor deprecated

func (*UserLoginReply) Descriptor() ([]byte, []int)

Deprecated: Use UserLoginReply.ProtoReflect.Descriptor instead.

func (*UserLoginReply) GetToken

func (x *UserLoginReply) GetToken() string

func (*UserLoginReply) ProtoMessage

func (*UserLoginReply) ProtoMessage()

func (*UserLoginReply) ProtoReflect

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

func (*UserLoginReply) Reset

func (x *UserLoginReply) Reset()

func (*UserLoginReply) String

func (x *UserLoginReply) String() string

func (*UserLoginReply) Validate

func (m *UserLoginReply) Validate() error

Validate checks the field values on UserLoginReply 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 (*UserLoginReply) ValidateAll

func (m *UserLoginReply) ValidateAll() error

ValidateAll checks the field values on UserLoginReply 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 UserLoginReplyMultiError, or nil if none found.

type UserLoginReplyMultiError

type UserLoginReplyMultiError []error

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

func (UserLoginReplyMultiError) AllErrors

func (m UserLoginReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserLoginReplyMultiError) Error

func (m UserLoginReplyMultiError) Error() string

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

type UserLoginReplyValidationError

type UserLoginReplyValidationError struct {
	// contains filtered or unexported fields
}

UserLoginReplyValidationError is the validation error returned by UserLoginReply.Validate if the designated constraints aren't met.

func (UserLoginReplyValidationError) Cause

Cause function returns cause value.

func (UserLoginReplyValidationError) Error

Error satisfies the builtin error interface

func (UserLoginReplyValidationError) ErrorName

func (e UserLoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UserLoginReplyValidationError) Field

Field function returns field value.

func (UserLoginReplyValidationError) Key

Key function returns key value.

func (UserLoginReplyValidationError) Reason

Reason function returns reason value.

type UserLoginRequest

type UserLoginRequest 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 (*UserLoginRequest) Descriptor deprecated

func (*UserLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.

func (*UserLoginRequest) GetCaptcha

func (x *UserLoginRequest) GetCaptcha() string

func (*UserLoginRequest) GetCaptchaId

func (x *UserLoginRequest) GetCaptchaId() string

func (*UserLoginRequest) GetPassword

func (x *UserLoginRequest) GetPassword() string

func (*UserLoginRequest) GetUsername

func (x *UserLoginRequest) GetUsername() string

func (*UserLoginRequest) ProtoMessage

func (*UserLoginRequest) ProtoMessage()

func (*UserLoginRequest) ProtoReflect

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

func (*UserLoginRequest) Reset

func (x *UserLoginRequest) Reset()

func (*UserLoginRequest) String

func (x *UserLoginRequest) String() string

func (*UserLoginRequest) Validate

func (m *UserLoginRequest) Validate() error

Validate checks the field values on UserLoginRequest 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 (*UserLoginRequest) ValidateAll

func (m *UserLoginRequest) ValidateAll() error

ValidateAll checks the field values on UserLoginRequest 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 UserLoginRequestMultiError, or nil if none found.

type UserLoginRequestMultiError

type UserLoginRequestMultiError []error

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

func (UserLoginRequestMultiError) AllErrors

func (m UserLoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserLoginRequestMultiError) Error

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

type UserLoginRequestValidationError

type UserLoginRequestValidationError struct {
	// contains filtered or unexported fields
}

UserLoginRequestValidationError is the validation error returned by UserLoginRequest.Validate if the designated constraints aren't met.

func (UserLoginRequestValidationError) Cause

Cause function returns cause value.

func (UserLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (UserLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (UserLoginRequestValidationError) Field

Field function returns field value.

func (UserLoginRequestValidationError) Key

Key function returns key value.

func (UserLoginRequestValidationError) Reason

Reason function returns reason value.

type UserMultiError

type UserMultiError []error

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

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

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

type UserRefreshTokenReply

type UserRefreshTokenReply struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRefreshTokenReply) Descriptor deprecated

func (*UserRefreshTokenReply) Descriptor() ([]byte, []int)

Deprecated: Use UserRefreshTokenReply.ProtoReflect.Descriptor instead.

func (*UserRefreshTokenReply) GetToken

func (x *UserRefreshTokenReply) GetToken() string

func (*UserRefreshTokenReply) ProtoMessage

func (*UserRefreshTokenReply) ProtoMessage()

func (*UserRefreshTokenReply) ProtoReflect

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

func (*UserRefreshTokenReply) Reset

func (x *UserRefreshTokenReply) Reset()

func (*UserRefreshTokenReply) String

func (x *UserRefreshTokenReply) String() string

func (*UserRefreshTokenReply) Validate

func (m *UserRefreshTokenReply) Validate() error

Validate checks the field values on UserRefreshTokenReply 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 (*UserRefreshTokenReply) ValidateAll

func (m *UserRefreshTokenReply) ValidateAll() error

ValidateAll checks the field values on UserRefreshTokenReply 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 UserRefreshTokenReplyMultiError, or nil if none found.

type UserRefreshTokenReplyMultiError

type UserRefreshTokenReplyMultiError []error

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

func (UserRefreshTokenReplyMultiError) AllErrors

func (m UserRefreshTokenReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserRefreshTokenReplyMultiError) Error

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

type UserRefreshTokenReplyValidationError

type UserRefreshTokenReplyValidationError struct {
	// contains filtered or unexported fields
}

UserRefreshTokenReplyValidationError is the validation error returned by UserRefreshTokenReply.Validate if the designated constraints aren't met.

func (UserRefreshTokenReplyValidationError) Cause

Cause function returns cause value.

func (UserRefreshTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (UserRefreshTokenReplyValidationError) ErrorName

ErrorName returns error name.

func (UserRefreshTokenReplyValidationError) Field

Field function returns field value.

func (UserRefreshTokenReplyValidationError) Key

Key function returns key value.

func (UserRefreshTokenReplyValidationError) Reason

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.

type User_Department

type User_Department 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"`
	// contains filtered or unexported fields
}

func (*User_Department) Descriptor deprecated

func (*User_Department) Descriptor() ([]byte, []int)

Deprecated: Use User_Department.ProtoReflect.Descriptor instead.

func (*User_Department) GetId

func (x *User_Department) GetId() uint32

func (*User_Department) GetKeyword

func (x *User_Department) GetKeyword() string

func (*User_Department) GetName

func (x *User_Department) GetName() string

func (*User_Department) ProtoMessage

func (*User_Department) ProtoMessage()

func (*User_Department) ProtoReflect

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

func (*User_Department) Reset

func (x *User_Department) Reset()

func (*User_Department) String

func (x *User_Department) String() string

func (*User_Department) Validate

func (m *User_Department) Validate() error

Validate checks the field values on User_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 (*User_Department) ValidateAll

func (m *User_Department) ValidateAll() error

ValidateAll checks the field values on User_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 User_DepartmentMultiError, or nil if none found.

type User_DepartmentMultiError

type User_DepartmentMultiError []error

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

func (User_DepartmentMultiError) AllErrors

func (m User_DepartmentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (User_DepartmentMultiError) Error

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

type User_DepartmentValidationError

type User_DepartmentValidationError struct {
	// contains filtered or unexported fields
}

User_DepartmentValidationError is the validation error returned by User_Department.Validate if the designated constraints aren't met.

func (User_DepartmentValidationError) Cause

Cause function returns cause value.

func (User_DepartmentValidationError) Error

Error satisfies the builtin error interface

func (User_DepartmentValidationError) ErrorName

func (e User_DepartmentValidationError) ErrorName() string

ErrorName returns error name.

func (User_DepartmentValidationError) Field

Field function returns field value.

func (User_DepartmentValidationError) Key

Key function returns key value.

func (User_DepartmentValidationError) Reason

Reason function returns reason value.

type User_Job

type User_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"`
	// contains filtered or unexported fields
}

func (*User_Job) Descriptor deprecated

func (*User_Job) Descriptor() ([]byte, []int)

Deprecated: Use User_Job.ProtoReflect.Descriptor instead.

func (*User_Job) GetId

func (x *User_Job) GetId() uint32

func (*User_Job) GetKeyword

func (x *User_Job) GetKeyword() string

func (*User_Job) GetName

func (x *User_Job) GetName() string

func (*User_Job) ProtoMessage

func (*User_Job) ProtoMessage()

func (*User_Job) ProtoReflect

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

func (*User_Job) Reset

func (x *User_Job) Reset()

func (*User_Job) String

func (x *User_Job) String() string

func (*User_Job) Validate

func (m *User_Job) Validate() error

Validate checks the field values on User_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 (*User_Job) ValidateAll

func (m *User_Job) ValidateAll() error

ValidateAll checks the field values on User_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 User_JobMultiError, or nil if none found.

type User_JobMultiError

type User_JobMultiError []error

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

func (User_JobMultiError) AllErrors

func (m User_JobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (User_JobMultiError) Error

func (m User_JobMultiError) Error() string

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

type User_JobValidationError

type User_JobValidationError struct {
	// contains filtered or unexported fields
}

User_JobValidationError is the validation error returned by User_Job.Validate if the designated constraints aren't met.

func (User_JobValidationError) Cause

func (e User_JobValidationError) Cause() error

Cause function returns cause value.

func (User_JobValidationError) Error

func (e User_JobValidationError) Error() string

Error satisfies the builtin error interface

func (User_JobValidationError) ErrorName

func (e User_JobValidationError) ErrorName() string

ErrorName returns error name.

func (User_JobValidationError) Field

func (e User_JobValidationError) Field() string

Field function returns field value.

func (User_JobValidationError) Key

func (e User_JobValidationError) Key() bool

Key function returns key value.

func (User_JobValidationError) Reason

func (e User_JobValidationError) Reason() string

Reason function returns reason value.

type User_Role

type User_Role 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"`
	// contains filtered or unexported fields
}

func (*User_Role) Descriptor deprecated

func (*User_Role) Descriptor() ([]byte, []int)

Deprecated: Use User_Role.ProtoReflect.Descriptor instead.

func (*User_Role) GetId

func (x *User_Role) GetId() uint32

func (*User_Role) GetKeyword

func (x *User_Role) GetKeyword() string

func (*User_Role) GetName

func (x *User_Role) GetName() string

func (*User_Role) ProtoMessage

func (*User_Role) ProtoMessage()

func (*User_Role) ProtoReflect

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

func (*User_Role) Reset

func (x *User_Role) Reset()

func (*User_Role) String

func (x *User_Role) String() string

func (*User_Role) Validate

func (m *User_Role) Validate() error

Validate checks the field values on User_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 (*User_Role) ValidateAll

func (m *User_Role) ValidateAll() error

ValidateAll checks the field values on User_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 User_RoleMultiError, or nil if none found.

type User_RoleMultiError

type User_RoleMultiError []error

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

func (User_RoleMultiError) AllErrors

func (m User_RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (User_RoleMultiError) Error

func (m User_RoleMultiError) Error() string

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

type User_RoleValidationError

type User_RoleValidationError struct {
	// contains filtered or unexported fields
}

User_RoleValidationError is the validation error returned by User_Role.Validate if the designated constraints aren't met.

func (User_RoleValidationError) Cause

func (e User_RoleValidationError) Cause() error

Cause function returns cause value.

func (User_RoleValidationError) Error

func (e User_RoleValidationError) Error() string

Error satisfies the builtin error interface

func (User_RoleValidationError) ErrorName

func (e User_RoleValidationError) ErrorName() string

ErrorName returns error name.

func (User_RoleValidationError) Field

func (e User_RoleValidationError) Field() string

Field function returns field value.

func (User_RoleValidationError) Key

Key function returns key value.

func (User_RoleValidationError) Reason

func (e User_RoleValidationError) 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