v1

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	User_GetUser_FullMethodName                   = "/manager.api.manager.user.v1.User/GetUser"
	User_ListUser_FullMethodName                  = "/manager.api.manager.user.v1.User/ListUser"
	User_CreateUser_FullMethodName                = "/manager.api.manager.user.v1.User/CreateUser"
	User_UpdateUser_FullMethodName                = "/manager.api.manager.user.v1.User/UpdateUser"
	User_UpdateUserStatus_FullMethodName          = "/manager.api.manager.user.v1.User/UpdateUserStatus"
	User_DeleteUser_FullMethodName                = "/manager.api.manager.user.v1.User/DeleteUser"
	User_GetCurrentUser_FullMethodName            = "/manager.api.manager.user.v1.User/GetCurrentUser"
	User_ResetUserPassword_FullMethodName         = "/manager.api.manager.user.v1.User/ResetUserPassword"
	User_UpdateCurrentUser_FullMethodName         = "/manager.api.manager.user.v1.User/UpdateCurrentUser"
	User_UpdateCurrentUserRole_FullMethodName     = "/manager.api.manager.user.v1.User/UpdateCurrentUserRole"
	User_UpdateCurrentUserPassword_FullMethodName = "/manager.api.manager.user.v1.User/UpdateCurrentUserPassword"
	User_UpdateCurrentUserSetting_FullMethodName  = "/manager.api.manager.user.v1.User/UpdateCurrentUserSetting"
	User_SendCurrentUserCaptcha_FullMethodName    = "/manager.api.manager.user.v1.User/SendCurrentUserCaptcha"
	User_GetUserLoginCaptcha_FullMethodName       = "/manager.api.manager.user.v1.User/GetUserLoginCaptcha"
	User_UserLogin_FullMethodName                 = "/manager.api.manager.user.v1.User/UserLogin"
	User_UserLogout_FullMethodName                = "/manager.api.manager.user.v1.User/UserLogout"
	User_UserRefreshToken_FullMethodName          = "/manager.api.manager.user.v1.User/UserRefreshToken"
)
View Source
const OperationUserCreateUser = "/manager.api.manager.user.v1.User/CreateUser"
View Source
const OperationUserDeleteUser = "/manager.api.manager.user.v1.User/DeleteUser"
View Source
const OperationUserGetCurrentUser = "/manager.api.manager.user.v1.User/GetCurrentUser"
View Source
const OperationUserGetUser = "/manager.api.manager.user.v1.User/GetUser"
View Source
const OperationUserGetUserLoginCaptcha = "/manager.api.manager.user.v1.User/GetUserLoginCaptcha"
View Source
const OperationUserListUser = "/manager.api.manager.user.v1.User/ListUser"
View Source
const OperationUserResetUserPassword = "/manager.api.manager.user.v1.User/ResetUserPassword"
View Source
const OperationUserSendCurrentUserCaptcha = "/manager.api.manager.user.v1.User/SendCurrentUserCaptcha"
View Source
const OperationUserUpdateCurrentUser = "/manager.api.manager.user.v1.User/UpdateCurrentUser"
View Source
const OperationUserUpdateCurrentUserPassword = "/manager.api.manager.user.v1.User/UpdateCurrentUserPassword"
View Source
const OperationUserUpdateCurrentUserRole = "/manager.api.manager.user.v1.User/UpdateCurrentUserRole"
View Source
const OperationUserUpdateCurrentUserSetting = "/manager.api.manager.user.v1.User/UpdateCurrentUserSetting"
View Source
const OperationUserUpdateUser = "/manager.api.manager.user.v1.User/UpdateUser"
View Source
const OperationUserUpdateUserStatus = "/manager.api.manager.user.v1.User/UpdateUserStatus"
View Source
const OperationUserUserLogin = "/manager.api.manager.user.v1.User/UserLogin"
View Source
const OperationUserUserLogout = "/manager.api.manager.user.v1.User/UserLogout"
View Source
const OperationUserUserRefreshToken = "/manager.api.manager.user.v1.User/UserRefreshToken"

Variables

View Source
var File_api_manager_user_manager_user_proto protoreflect.FileDescriptor
View Source
var File_api_manager_user_manager_user_service_proto protoreflect.FileDescriptor
View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.manager.user.v1.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUser",
			Handler:    _User_GetUser_Handler,
		},
		{
			MethodName: "ListUser",
			Handler:    _User_ListUser_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _User_CreateUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _User_UpdateUser_Handler,
		},
		{
			MethodName: "UpdateUserStatus",
			Handler:    _User_UpdateUserStatus_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _User_DeleteUser_Handler,
		},
		{
			MethodName: "GetCurrentUser",
			Handler:    _User_GetCurrentUser_Handler,
		},
		{
			MethodName: "ResetUserPassword",
			Handler:    _User_ResetUserPassword_Handler,
		},
		{
			MethodName: "UpdateCurrentUser",
			Handler:    _User_UpdateCurrentUser_Handler,
		},
		{
			MethodName: "UpdateCurrentUserRole",
			Handler:    _User_UpdateCurrentUserRole_Handler,
		},
		{
			MethodName: "UpdateCurrentUserPassword",
			Handler:    _User_UpdateCurrentUserPassword_Handler,
		},
		{
			MethodName: "UpdateCurrentUserSetting",
			Handler:    _User_UpdateCurrentUserSetting_Handler,
		},
		{
			MethodName: "SendCurrentUserCaptcha",
			Handler:    _User_SendCurrentUserCaptcha_Handler,
		},
		{
			MethodName: "GetUserLoginCaptcha",
			Handler:    _User_GetUserLoginCaptcha_Handler,
		},
		{
			MethodName: "UserLogin",
			Handler:    _User_UserLogin_Handler,
		},
		{
			MethodName: "UserLogout",
			Handler:    _User_UserLogout_Handler,
		},
		{
			MethodName: "UserRefreshToken",
			Handler:    _User_UserRefreshToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/manager/user/manager_user_service.proto",
}

User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUserHTTPServer

func RegisterUserHTTPServer(s *http.Server, srv UserHTTPServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type CreateUserReply

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

func (*CreateUserReply) Descriptor deprecated

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

Deprecated: Use CreateUserReply.ProtoReflect.Descriptor instead.

func (*CreateUserReply) GetId

func (x *CreateUserReply) GetId() uint32

func (*CreateUserReply) ProtoMessage

func (*CreateUserReply) ProtoMessage()

func (*CreateUserReply) ProtoReflect

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

func (*CreateUserReply) Reset

func (x *CreateUserReply) Reset()

func (*CreateUserReply) String

func (x *CreateUserReply) String() string

func (*CreateUserReply) Validate

func (m *CreateUserReply) Validate() error

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

func (m *CreateUserReply) ValidateAll() error

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

type CreateUserReplyMultiError

type CreateUserReplyMultiError []error

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

func (CreateUserReplyMultiError) AllErrors

func (m CreateUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserReplyMultiError) Error

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

type CreateUserReplyValidationError

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

CreateUserReplyValidationError is the validation error returned by CreateUserReply.Validate if the designated constraints aren't met.

func (CreateUserReplyValidationError) Cause

Cause function returns cause value.

func (CreateUserReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateUserReplyValidationError) ErrorName

func (e CreateUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateUserReplyValidationError) Field

Field function returns field value.

func (CreateUserReplyValidationError) Key

Key function returns key value.

func (CreateUserReplyValidationError) Reason

Reason function returns reason value.

type CreateUserRequest

type CreateUserRequest struct {
	DepartmentId uint32   `protobuf:"varint,1,opt,name=departmentId,proto3" json:"departmentId,omitempty"`
	Name         string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Gender       string   `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
	Phone        string   `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Email        string   `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	JobIds       []uint32 `protobuf:"varint,6,rep,packed,name=jobIds,proto3" json:"jobIds,omitempty"`
	RoleIds      []uint32 `protobuf:"varint,7,rep,packed,name=roleIds,proto3" json:"roleIds,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetDepartmentId

func (x *CreateUserRequest) GetDepartmentId() uint32

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetGender

func (x *CreateUserRequest) GetGender() string

func (*CreateUserRequest) GetJobIds

func (x *CreateUserRequest) GetJobIds() []uint32

func (*CreateUserRequest) GetName

func (x *CreateUserRequest) GetName() string

func (*CreateUserRequest) GetPhone

func (x *CreateUserRequest) GetPhone() string

func (*CreateUserRequest) GetRoleIds

func (x *CreateUserRequest) GetRoleIds() []uint32

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

func (*CreateUserRequest) Validate

func (m *CreateUserRequest) Validate() error

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

func (m *CreateUserRequest) ValidateAll() error

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

type CreateUserRequestMultiError

type CreateUserRequestMultiError []error

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

func (CreateUserRequestMultiError) AllErrors

func (m CreateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserRequestMultiError) Error

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

type CreateUserRequestValidationError

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

CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.

func (CreateUserRequestValidationError) Cause

Cause function returns cause value.

func (CreateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserRequestValidationError) Field

Field function returns field value.

func (CreateUserRequestValidationError) Key

Key function returns key value.

func (CreateUserRequestValidationError) Reason

Reason function returns reason value.

type DeleteUserReply

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

func (*DeleteUserReply) Descriptor deprecated

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

Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.

func (*DeleteUserReply) GetTotal

func (x *DeleteUserReply) GetTotal() uint32

func (*DeleteUserReply) ProtoMessage

func (*DeleteUserReply) ProtoMessage()

func (*DeleteUserReply) ProtoReflect

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

func (*DeleteUserReply) Reset

func (x *DeleteUserReply) Reset()

func (*DeleteUserReply) String

func (x *DeleteUserReply) String() string

func (*DeleteUserReply) Validate

func (m *DeleteUserReply) Validate() error

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

func (m *DeleteUserReply) ValidateAll() error

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

type DeleteUserReplyMultiError

type DeleteUserReplyMultiError []error

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

func (DeleteUserReplyMultiError) AllErrors

func (m DeleteUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserReplyMultiError) Error

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

type DeleteUserReplyValidationError

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

DeleteUserReplyValidationError is the validation error returned by DeleteUserReply.Validate if the designated constraints aren't met.

func (DeleteUserReplyValidationError) Cause

Cause function returns cause value.

func (DeleteUserReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserReplyValidationError) ErrorName

func (e DeleteUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteUserReplyValidationError) Field

Field function returns field value.

func (DeleteUserReplyValidationError) Key

Key function returns key value.

func (DeleteUserReplyValidationError) Reason

Reason function returns reason value.

type DeleteUserRequest

type DeleteUserRequest struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetIds

func (x *DeleteUserRequest) GetIds() []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 GetUserLoginCaptchaReply

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

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

Deprecated: Use GetUserLoginCaptchaReply.ProtoReflect.Descriptor instead.

func (*GetUserLoginCaptchaReply) GetCaptcha

func (x *GetUserLoginCaptchaReply) GetCaptcha() string

func (*GetUserLoginCaptchaReply) GetExpire

func (x *GetUserLoginCaptchaReply) GetExpire() uint32

func (*GetUserLoginCaptchaReply) GetUuid

func (x *GetUserLoginCaptchaReply) GetUuid() string

func (*GetUserLoginCaptchaReply) ProtoMessage

func (*GetUserLoginCaptchaReply) ProtoMessage()

func (*GetUserLoginCaptchaReply) ProtoReflect

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

func (*GetUserLoginCaptchaReply) Reset

func (x *GetUserLoginCaptchaReply) Reset()

func (*GetUserLoginCaptchaReply) String

func (x *GetUserLoginCaptchaReply) String() string

func (*GetUserLoginCaptchaReply) Validate

func (m *GetUserLoginCaptchaReply) Validate() error

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

func (m *GetUserLoginCaptchaReply) ValidateAll() error

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

type GetUserLoginCaptchaReplyMultiError

type GetUserLoginCaptchaReplyMultiError []error

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

func (GetUserLoginCaptchaReplyMultiError) AllErrors

func (m GetUserLoginCaptchaReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserLoginCaptchaReplyMultiError) Error

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

type GetUserLoginCaptchaReplyValidationError

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

GetUserLoginCaptchaReplyValidationError is the validation error returned by GetUserLoginCaptchaReply.Validate if the designated constraints aren't met.

func (GetUserLoginCaptchaReplyValidationError) Cause

Cause function returns cause value.

func (GetUserLoginCaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserLoginCaptchaReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserLoginCaptchaReplyValidationError) Field

Field function returns field value.

func (GetUserLoginCaptchaReplyValidationError) Key

Key function returns key value.

func (GetUserLoginCaptchaReplyValidationError) Reason

Reason function returns reason value.

type GetUserReply

type GetUserReply struct {
	Id           uint32                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DepartmentId uint32                   `protobuf:"varint,2,opt,name=departmentId,proto3" json:"departmentId,omitempty"`
	RoleId       uint32                   `protobuf:"varint,3,opt,name=roleId,proto3" json:"roleId,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"`
	Avatar       *string                  `protobuf:"bytes,7,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	Phone        string                   `protobuf:"bytes,8,opt,name=phone,proto3" json:"phone,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"`
	Setting      *string                  `protobuf:"bytes,11,opt,name=setting,proto3,oneof" json:"setting,omitempty"`
	LoggedAt     uint32                   `protobuf:"varint,12,opt,name=loggedAt,proto3" json:"loggedAt,omitempty"`
	CreatedAt    uint32                   `protobuf:"varint,13,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt    uint32                   `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Roles        []*GetUserReply_Role     `protobuf:"bytes,15,rep,name=roles,proto3" json:"roles,omitempty"`
	Jobs         []*GetUserReply_Job      `protobuf:"bytes,16,rep,name=jobs,proto3" json:"jobs,omitempty"`
	Department   *GetUserReply_Department `protobuf:"bytes,17,opt,name=department,proto3,oneof" json:"department,omitempty"`
	Role         *GetUserReply_Role       `protobuf:"bytes,18,opt,name=role,proto3,oneof" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply) Descriptor deprecated

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

Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.

func (*GetUserReply) GetAvatar

func (x *GetUserReply) GetAvatar() string

func (*GetUserReply) GetCreatedAt

func (x *GetUserReply) GetCreatedAt() uint32

func (*GetUserReply) GetDepartment

func (x *GetUserReply) GetDepartment() *GetUserReply_Department

func (*GetUserReply) GetDepartmentId

func (x *GetUserReply) GetDepartmentId() uint32

func (*GetUserReply) GetEmail

func (x *GetUserReply) GetEmail() string

func (*GetUserReply) GetGender

func (x *GetUserReply) GetGender() string

func (*GetUserReply) GetId

func (x *GetUserReply) GetId() uint32

func (*GetUserReply) GetJobs

func (x *GetUserReply) GetJobs() []*GetUserReply_Job

func (*GetUserReply) GetLoggedAt

func (x *GetUserReply) GetLoggedAt() uint32

func (*GetUserReply) GetName

func (x *GetUserReply) GetName() string

func (*GetUserReply) GetNickname

func (x *GetUserReply) GetNickname() string

func (*GetUserReply) GetPhone

func (x *GetUserReply) GetPhone() string

func (*GetUserReply) GetRole

func (x *GetUserReply) GetRole() *GetUserReply_Role

func (*GetUserReply) GetRoleId

func (x *GetUserReply) GetRoleId() uint32

func (*GetUserReply) GetRoles

func (x *GetUserReply) GetRoles() []*GetUserReply_Role

func (*GetUserReply) GetSetting

func (x *GetUserReply) GetSetting() string

func (*GetUserReply) GetStatus

func (x *GetUserReply) GetStatus() bool

func (*GetUserReply) GetUpdatedAt

func (x *GetUserReply) GetUpdatedAt() uint32

func (*GetUserReply) ProtoMessage

func (*GetUserReply) ProtoMessage()

func (*GetUserReply) ProtoReflect

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

func (*GetUserReply) Reset

func (x *GetUserReply) Reset()

func (*GetUserReply) String

func (x *GetUserReply) String() string

func (*GetUserReply) Validate

func (m *GetUserReply) Validate() error

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

func (*GetUserReply) ValidateAll

func (m *GetUserReply) ValidateAll() error

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

type GetUserReplyMultiError

type GetUserReplyMultiError []error

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

func (GetUserReplyMultiError) AllErrors

func (m GetUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReplyMultiError) Error

func (m GetUserReplyMultiError) Error() string

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

type GetUserReplyValidationError

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

GetUserReplyValidationError is the validation error returned by GetUserReply.Validate if the designated constraints aren't met.

func (GetUserReplyValidationError) Cause

Cause function returns cause value.

func (GetUserReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserReplyValidationError) ErrorName

func (e GetUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserReplyValidationError) Field

Field function returns field value.

func (GetUserReplyValidationError) Key

Key function returns key value.

func (GetUserReplyValidationError) Reason

Reason function returns reason value.

type GetUserReply_Department

type GetUserReply_Department struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply_Department) Descriptor deprecated

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

Deprecated: Use GetUserReply_Department.ProtoReflect.Descriptor instead.

func (*GetUserReply_Department) GetId

func (x *GetUserReply_Department) GetId() uint32

func (*GetUserReply_Department) GetKeyword

func (x *GetUserReply_Department) GetKeyword() string

func (*GetUserReply_Department) GetName

func (x *GetUserReply_Department) GetName() string

func (*GetUserReply_Department) ProtoMessage

func (*GetUserReply_Department) ProtoMessage()

func (*GetUserReply_Department) ProtoReflect

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

func (*GetUserReply_Department) Reset

func (x *GetUserReply_Department) Reset()

func (*GetUserReply_Department) String

func (x *GetUserReply_Department) String() string

func (*GetUserReply_Department) Validate

func (m *GetUserReply_Department) Validate() error

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

func (m *GetUserReply_Department) ValidateAll() error

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

type GetUserReply_DepartmentMultiError

type GetUserReply_DepartmentMultiError []error

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

func (GetUserReply_DepartmentMultiError) AllErrors

func (m GetUserReply_DepartmentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReply_DepartmentMultiError) Error

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

type GetUserReply_DepartmentValidationError

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

GetUserReply_DepartmentValidationError is the validation error returned by GetUserReply_Department.Validate if the designated constraints aren't met.

func (GetUserReply_DepartmentValidationError) Cause

Cause function returns cause value.

func (GetUserReply_DepartmentValidationError) Error

Error satisfies the builtin error interface

func (GetUserReply_DepartmentValidationError) ErrorName

ErrorName returns error name.

func (GetUserReply_DepartmentValidationError) Field

Field function returns field value.

func (GetUserReply_DepartmentValidationError) Key

Key function returns key value.

func (GetUserReply_DepartmentValidationError) Reason

Reason function returns reason value.

type GetUserReply_Job

type GetUserReply_Job struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply_Job) Descriptor deprecated

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

Deprecated: Use GetUserReply_Job.ProtoReflect.Descriptor instead.

func (*GetUserReply_Job) GetId

func (x *GetUserReply_Job) GetId() uint32

func (*GetUserReply_Job) GetKeyword

func (x *GetUserReply_Job) GetKeyword() string

func (*GetUserReply_Job) GetName

func (x *GetUserReply_Job) GetName() string

func (*GetUserReply_Job) ProtoMessage

func (*GetUserReply_Job) ProtoMessage()

func (*GetUserReply_Job) ProtoReflect

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

func (*GetUserReply_Job) Reset

func (x *GetUserReply_Job) Reset()

func (*GetUserReply_Job) String

func (x *GetUserReply_Job) String() string

func (*GetUserReply_Job) Validate

func (m *GetUserReply_Job) Validate() error

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

func (m *GetUserReply_Job) ValidateAll() error

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

type GetUserReply_JobMultiError

type GetUserReply_JobMultiError []error

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

func (GetUserReply_JobMultiError) AllErrors

func (m GetUserReply_JobMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReply_JobMultiError) Error

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

type GetUserReply_JobValidationError

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

GetUserReply_JobValidationError is the validation error returned by GetUserReply_Job.Validate if the designated constraints aren't met.

func (GetUserReply_JobValidationError) Cause

Cause function returns cause value.

func (GetUserReply_JobValidationError) Error

Error satisfies the builtin error interface

func (GetUserReply_JobValidationError) ErrorName

ErrorName returns error name.

func (GetUserReply_JobValidationError) Field

Field function returns field value.

func (GetUserReply_JobValidationError) Key

Key function returns key value.

func (GetUserReply_JobValidationError) Reason

Reason function returns reason value.

type GetUserReply_Role

type GetUserReply_Role struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply_Role) Descriptor deprecated

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

Deprecated: Use GetUserReply_Role.ProtoReflect.Descriptor instead.

func (*GetUserReply_Role) GetId

func (x *GetUserReply_Role) GetId() uint32

func (*GetUserReply_Role) GetKeyword

func (x *GetUserReply_Role) GetKeyword() string

func (*GetUserReply_Role) GetName

func (x *GetUserReply_Role) GetName() string

func (*GetUserReply_Role) ProtoMessage

func (*GetUserReply_Role) ProtoMessage()

func (*GetUserReply_Role) ProtoReflect

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

func (*GetUserReply_Role) Reset

func (x *GetUserReply_Role) Reset()

func (*GetUserReply_Role) String

func (x *GetUserReply_Role) String() string

func (*GetUserReply_Role) Validate

func (m *GetUserReply_Role) Validate() error

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

func (m *GetUserReply_Role) ValidateAll() error

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

type GetUserReply_RoleMultiError

type GetUserReply_RoleMultiError []error

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

func (GetUserReply_RoleMultiError) AllErrors

func (m GetUserReply_RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReply_RoleMultiError) Error

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

type GetUserReply_RoleValidationError

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

GetUserReply_RoleValidationError is the validation error returned by GetUserReply_Role.Validate if the designated constraints aren't met.

func (GetUserReply_RoleValidationError) Cause

Cause function returns cause value.

func (GetUserReply_RoleValidationError) Error

Error satisfies the builtin error interface

func (GetUserReply_RoleValidationError) ErrorName

ErrorName returns error name.

func (GetUserReply_RoleValidationError) Field

Field function returns field value.

func (GetUserReply_RoleValidationError) Key

Key function returns key value.

func (GetUserReply_RoleValidationError) Reason

Reason function returns reason value.

type GetUserRequest

type GetUserRequest struct {
	Id    *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Phone *string `protobuf:"bytes,2,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetEmail

func (x *GetUserRequest) GetEmail() string

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() uint32

func (*GetUserRequest) GetPhone

func (x *GetUserRequest) GetPhone() string

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 ListUserReply

type ListUserReply struct {
	Total uint32                `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListUserReply_User `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply) Descriptor deprecated

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

Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.

func (*ListUserReply) GetList

func (x *ListUserReply) GetList() []*ListUserReply_User

func (*ListUserReply) GetTotal

func (x *ListUserReply) GetTotal() uint32

func (*ListUserReply) ProtoMessage

func (*ListUserReply) ProtoMessage()

func (*ListUserReply) ProtoReflect

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

func (*ListUserReply) Reset

func (x *ListUserReply) Reset()

func (*ListUserReply) String

func (x *ListUserReply) String() string

func (*ListUserReply) Validate

func (m *ListUserReply) Validate() error

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

func (m *ListUserReply) ValidateAll() error

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

type ListUserReplyMultiError

type ListUserReplyMultiError []error

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

func (ListUserReplyMultiError) AllErrors

func (m ListUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserReplyMultiError) Error

func (m ListUserReplyMultiError) Error() string

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

type ListUserReplyValidationError

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

ListUserReplyValidationError is the validation error returned by ListUserReply.Validate if the designated constraints aren't met.

func (ListUserReplyValidationError) Cause

Cause function returns cause value.

func (ListUserReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserReplyValidationError) ErrorName

func (e ListUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListUserReplyValidationError) Field

Field function returns field value.

func (ListUserReplyValidationError) Key

Key function returns key value.

func (ListUserReplyValidationError) Reason

Reason function returns reason value.

type ListUserReply_Department

type ListUserReply_Department struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply_Department) Descriptor deprecated

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

Deprecated: Use ListUserReply_Department.ProtoReflect.Descriptor instead.

func (*ListUserReply_Department) GetId

func (x *ListUserReply_Department) GetId() uint32

func (*ListUserReply_Department) GetKeyword

func (x *ListUserReply_Department) GetKeyword() string

func (*ListUserReply_Department) GetName

func (x *ListUserReply_Department) GetName() string

func (*ListUserReply_Department) ProtoMessage

func (*ListUserReply_Department) ProtoMessage()

func (*ListUserReply_Department) ProtoReflect

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

func (*ListUserReply_Department) Reset

func (x *ListUserReply_Department) Reset()

func (*ListUserReply_Department) String

func (x *ListUserReply_Department) String() string

func (*ListUserReply_Department) Validate

func (m *ListUserReply_Department) Validate() error

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

func (m *ListUserReply_Department) ValidateAll() error

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

type ListUserReply_DepartmentMultiError

type ListUserReply_DepartmentMultiError []error

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

func (ListUserReply_DepartmentMultiError) AllErrors

func (m ListUserReply_DepartmentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserReply_DepartmentMultiError) Error

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

type ListUserReply_DepartmentValidationError

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

ListUserReply_DepartmentValidationError is the validation error returned by ListUserReply_Department.Validate if the designated constraints aren't met.

func (ListUserReply_DepartmentValidationError) Cause

Cause function returns cause value.

func (ListUserReply_DepartmentValidationError) Error

Error satisfies the builtin error interface

func (ListUserReply_DepartmentValidationError) ErrorName

ErrorName returns error name.

func (ListUserReply_DepartmentValidationError) Field

Field function returns field value.

func (ListUserReply_DepartmentValidationError) Key

Key function returns key value.

func (ListUserReply_DepartmentValidationError) Reason

Reason function returns reason value.

type ListUserReply_Role

type ListUserReply_Role struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply_Role) Descriptor deprecated

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

Deprecated: Use ListUserReply_Role.ProtoReflect.Descriptor instead.

func (*ListUserReply_Role) GetId

func (x *ListUserReply_Role) GetId() uint32

func (*ListUserReply_Role) GetKeyword

func (x *ListUserReply_Role) GetKeyword() string

func (*ListUserReply_Role) GetName

func (x *ListUserReply_Role) GetName() string

func (*ListUserReply_Role) ProtoMessage

func (*ListUserReply_Role) ProtoMessage()

func (*ListUserReply_Role) ProtoReflect

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

func (*ListUserReply_Role) Reset

func (x *ListUserReply_Role) Reset()

func (*ListUserReply_Role) String

func (x *ListUserReply_Role) String() string

func (*ListUserReply_Role) Validate

func (m *ListUserReply_Role) Validate() error

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

func (m *ListUserReply_Role) ValidateAll() error

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

type ListUserReply_RoleMultiError

type ListUserReply_RoleMultiError []error

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

func (ListUserReply_RoleMultiError) AllErrors

func (m ListUserReply_RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserReply_RoleMultiError) Error

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

type ListUserReply_RoleValidationError

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

ListUserReply_RoleValidationError is the validation error returned by ListUserReply_Role.Validate if the designated constraints aren't met.

func (ListUserReply_RoleValidationError) Cause

Cause function returns cause value.

func (ListUserReply_RoleValidationError) Error

Error satisfies the builtin error interface

func (ListUserReply_RoleValidationError) ErrorName

ErrorName returns error name.

func (ListUserReply_RoleValidationError) Field

Field function returns field value.

func (ListUserReply_RoleValidationError) Key

Key function returns key value.

func (ListUserReply_RoleValidationError) Reason

Reason function returns reason value.

type ListUserReply_User

type ListUserReply_User struct {
	Id         uint32                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string                    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Nickname   string                    `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Gender     string                    `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
	Avatar     *string                   `protobuf:"bytes,5,opt,name=avatar,proto3,oneof" json:"avatar,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"`
	Status     *bool                     `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	LoggedAt   uint32                    `protobuf:"varint,9,opt,name=loggedAt,proto3" json:"loggedAt,omitempty"`
	CreatedAt  uint32                    `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt  uint32                    `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Department *ListUserReply_Department `protobuf:"bytes,17,opt,name=department,proto3,oneof" json:"department,omitempty"`
	Role       *ListUserReply_Role       `protobuf:"bytes,18,opt,name=role,proto3,oneof" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply_User) Descriptor deprecated

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

Deprecated: Use ListUserReply_User.ProtoReflect.Descriptor instead.

func (*ListUserReply_User) GetAvatar

func (x *ListUserReply_User) GetAvatar() string

func (*ListUserReply_User) GetCreatedAt

func (x *ListUserReply_User) GetCreatedAt() uint32

func (*ListUserReply_User) GetDepartment

func (x *ListUserReply_User) GetDepartment() *ListUserReply_Department

func (*ListUserReply_User) GetEmail

func (x *ListUserReply_User) GetEmail() string

func (*ListUserReply_User) GetGender

func (x *ListUserReply_User) GetGender() string

func (*ListUserReply_User) GetId

func (x *ListUserReply_User) GetId() uint32

func (*ListUserReply_User) GetLoggedAt

func (x *ListUserReply_User) GetLoggedAt() uint32

func (*ListUserReply_User) GetName

func (x *ListUserReply_User) GetName() string

func (*ListUserReply_User) GetNickname

func (x *ListUserReply_User) GetNickname() string

func (*ListUserReply_User) GetPhone

func (x *ListUserReply_User) GetPhone() string

func (*ListUserReply_User) GetRole

func (x *ListUserReply_User) GetRole() *ListUserReply_Role

func (*ListUserReply_User) GetStatus

func (x *ListUserReply_User) GetStatus() bool

func (*ListUserReply_User) GetUpdatedAt

func (x *ListUserReply_User) GetUpdatedAt() uint32

func (*ListUserReply_User) ProtoMessage

func (*ListUserReply_User) ProtoMessage()

func (*ListUserReply_User) ProtoReflect

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

func (*ListUserReply_User) Reset

func (x *ListUserReply_User) Reset()

func (*ListUserReply_User) String

func (x *ListUserReply_User) String() string

func (*ListUserReply_User) Validate

func (m *ListUserReply_User) Validate() error

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

func (m *ListUserReply_User) ValidateAll() error

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

type ListUserReply_UserMultiError

type ListUserReply_UserMultiError []error

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

func (ListUserReply_UserMultiError) AllErrors

func (m ListUserReply_UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserReply_UserMultiError) Error

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

type ListUserReply_UserValidationError

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

ListUserReply_UserValidationError is the validation error returned by ListUserReply_User.Validate if the designated constraints aren't met.

func (ListUserReply_UserValidationError) Cause

Cause function returns cause value.

func (ListUserReply_UserValidationError) Error

Error satisfies the builtin error interface

func (ListUserReply_UserValidationError) ErrorName

ErrorName returns error name.

func (ListUserReply_UserValidationError) Field

Field function returns field value.

func (ListUserReply_UserValidationError) Key

Key function returns key value.

func (ListUserReply_UserValidationError) Reason

Reason function returns reason value.

type ListUserRequest

type ListUserRequest struct {
	Page         uint32   `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize     uint32   `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order        *string  `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy      *string  `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	DepartmentId *uint32  `protobuf:"varint,5,opt,name=departmentId,proto3,oneof" json:"departmentId,omitempty"`
	RoleId       *uint32  `protobuf:"varint,6,opt,name=roleId,proto3,oneof" json:"roleId,omitempty"`
	Name         *string  `protobuf:"bytes,7,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Phone        *string  `protobuf:"bytes,8,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
	Email        *string  `protobuf:"bytes,9,opt,name=email,proto3,oneof" json:"email,omitempty"`
	Status       *bool    `protobuf:"varint,10,opt,name=status,proto3,oneof" json:"status,omitempty"`
	LoggedAts    []uint32 `protobuf:"varint,11,rep,packed,name=loggedAts,proto3" json:"loggedAts,omitempty"`
	CreatedAts   []uint32 `protobuf:"varint,12,rep,packed,name=createdAts,proto3" json:"createdAts,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRequest) Descriptor deprecated

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

Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.

func (*ListUserRequest) GetCreatedAts

func (x *ListUserRequest) GetCreatedAts() []uint32

func (*ListUserRequest) GetDepartmentId

func (x *ListUserRequest) GetDepartmentId() uint32

func (*ListUserRequest) GetEmail

func (x *ListUserRequest) GetEmail() string

func (*ListUserRequest) GetLoggedAts

func (x *ListUserRequest) GetLoggedAts() []uint32

func (*ListUserRequest) GetName

func (x *ListUserRequest) GetName() string

func (*ListUserRequest) GetOrder

func (x *ListUserRequest) GetOrder() string

func (*ListUserRequest) GetOrderBy

func (x *ListUserRequest) GetOrderBy() string

func (*ListUserRequest) GetPage

func (x *ListUserRequest) GetPage() uint32

func (*ListUserRequest) GetPageSize

func (x *ListUserRequest) GetPageSize() uint32

func (*ListUserRequest) GetPhone

func (x *ListUserRequest) GetPhone() string

func (*ListUserRequest) GetRoleId

func (x *ListUserRequest) GetRoleId() uint32

func (*ListUserRequest) GetStatus

func (x *ListUserRequest) GetStatus() bool

func (*ListUserRequest) ProtoMessage

func (*ListUserRequest) ProtoMessage()

func (*ListUserRequest) ProtoReflect

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

func (*ListUserRequest) Reset

func (x *ListUserRequest) Reset()

func (*ListUserRequest) String

func (x *ListUserRequest) String() string

func (*ListUserRequest) Validate

func (m *ListUserRequest) Validate() error

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

func (m *ListUserRequest) ValidateAll() error

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

type ListUserRequestMultiError

type ListUserRequestMultiError []error

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

func (ListUserRequestMultiError) AllErrors

func (m ListUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserRequestMultiError) Error

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

type ListUserRequestValidationError

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

ListUserRequestValidationError is the validation error returned by ListUserRequest.Validate if the designated constraints aren't met.

func (ListUserRequestValidationError) Cause

Cause function returns cause value.

func (ListUserRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserRequestValidationError) ErrorName

func (e ListUserRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListUserRequestValidationError) Field

Field function returns field value.

func (ListUserRequestValidationError) Key

Key function returns key value.

func (ListUserRequestValidationError) Reason

Reason function returns reason value.

type ResetUserPasswordReply

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

func (*ResetUserPasswordReply) Descriptor deprecated

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

Deprecated: Use ResetUserPasswordReply.ProtoReflect.Descriptor instead.

func (*ResetUserPasswordReply) ProtoMessage

func (*ResetUserPasswordReply) ProtoMessage()

func (*ResetUserPasswordReply) ProtoReflect

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

func (*ResetUserPasswordReply) Reset

func (x *ResetUserPasswordReply) Reset()

func (*ResetUserPasswordReply) String

func (x *ResetUserPasswordReply) String() string

func (*ResetUserPasswordReply) Validate

func (m *ResetUserPasswordReply) Validate() error

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

func (m *ResetUserPasswordReply) ValidateAll() error

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

type ResetUserPasswordReplyMultiError

type ResetUserPasswordReplyMultiError []error

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

func (ResetUserPasswordReplyMultiError) AllErrors

func (m ResetUserPasswordReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetUserPasswordReplyMultiError) Error

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

type ResetUserPasswordReplyValidationError

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

ResetUserPasswordReplyValidationError is the validation error returned by ResetUserPasswordReply.Validate if the designated constraints aren't met.

func (ResetUserPasswordReplyValidationError) Cause

Cause function returns cause value.

func (ResetUserPasswordReplyValidationError) Error

Error satisfies the builtin error interface

func (ResetUserPasswordReplyValidationError) ErrorName

ErrorName returns error name.

func (ResetUserPasswordReplyValidationError) Field

Field function returns field value.

func (ResetUserPasswordReplyValidationError) Key

Key function returns key value.

func (ResetUserPasswordReplyValidationError) 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 SendCurrentUserCaptchaReply

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

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

Deprecated: Use SendCurrentUserCaptchaReply.ProtoReflect.Descriptor instead.

func (*SendCurrentUserCaptchaReply) GetCaptcha

func (x *SendCurrentUserCaptchaReply) GetCaptcha() string

func (*SendCurrentUserCaptchaReply) GetExpire

func (x *SendCurrentUserCaptchaReply) GetExpire() uint32

func (*SendCurrentUserCaptchaReply) GetUuid

func (x *SendCurrentUserCaptchaReply) GetUuid() string

func (*SendCurrentUserCaptchaReply) ProtoMessage

func (*SendCurrentUserCaptchaReply) ProtoMessage()

func (*SendCurrentUserCaptchaReply) ProtoReflect

func (*SendCurrentUserCaptchaReply) Reset

func (x *SendCurrentUserCaptchaReply) Reset()

func (*SendCurrentUserCaptchaReply) String

func (x *SendCurrentUserCaptchaReply) String() string

func (*SendCurrentUserCaptchaReply) Validate

func (m *SendCurrentUserCaptchaReply) Validate() error

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

func (m *SendCurrentUserCaptchaReply) ValidateAll() error

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

type SendCurrentUserCaptchaReplyMultiError

type SendCurrentUserCaptchaReplyMultiError []error

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

func (SendCurrentUserCaptchaReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendCurrentUserCaptchaReplyMultiError) Error

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

type SendCurrentUserCaptchaReplyValidationError

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

SendCurrentUserCaptchaReplyValidationError is the validation error returned by SendCurrentUserCaptchaReply.Validate if the designated constraints aren't met.

func (SendCurrentUserCaptchaReplyValidationError) Cause

Cause function returns cause value.

func (SendCurrentUserCaptchaReplyValidationError) Error

Error satisfies the builtin error interface

func (SendCurrentUserCaptchaReplyValidationError) ErrorName

ErrorName returns error name.

func (SendCurrentUserCaptchaReplyValidationError) Field

Field function returns field value.

func (SendCurrentUserCaptchaReplyValidationError) Key

Key function returns key value.

func (SendCurrentUserCaptchaReplyValidationError) Reason

Reason function returns reason value.

type SendCurrentUserCaptchaRequest

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

func (*SendCurrentUserCaptchaRequest) Descriptor deprecated

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

Deprecated: Use SendCurrentUserCaptchaRequest.ProtoReflect.Descriptor instead.

func (*SendCurrentUserCaptchaRequest) GetType

func (*SendCurrentUserCaptchaRequest) ProtoMessage

func (*SendCurrentUserCaptchaRequest) ProtoMessage()

func (*SendCurrentUserCaptchaRequest) ProtoReflect

func (*SendCurrentUserCaptchaRequest) Reset

func (x *SendCurrentUserCaptchaRequest) Reset()

func (*SendCurrentUserCaptchaRequest) String

func (*SendCurrentUserCaptchaRequest) Validate

func (m *SendCurrentUserCaptchaRequest) Validate() error

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

func (m *SendCurrentUserCaptchaRequest) ValidateAll() error

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

type SendCurrentUserCaptchaRequestMultiError

type SendCurrentUserCaptchaRequestMultiError []error

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

func (SendCurrentUserCaptchaRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendCurrentUserCaptchaRequestMultiError) Error

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

type SendCurrentUserCaptchaRequestValidationError

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

SendCurrentUserCaptchaRequestValidationError is the validation error returned by SendCurrentUserCaptchaRequest.Validate if the designated constraints aren't met.

func (SendCurrentUserCaptchaRequestValidationError) Cause

Cause function returns cause value.

func (SendCurrentUserCaptchaRequestValidationError) Error

Error satisfies the builtin error interface

func (SendCurrentUserCaptchaRequestValidationError) ErrorName

ErrorName returns error name.

func (SendCurrentUserCaptchaRequestValidationError) Field

Field function returns field value.

func (SendCurrentUserCaptchaRequestValidationError) Key

Key function returns key value.

func (SendCurrentUserCaptchaRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) CreateUser

func (UnimplementedUserServer) DeleteUser

func (UnimplementedUserServer) GetCurrentUser

func (UnimplementedUserServer) GetUser

func (UnimplementedUserServer) GetUserLoginCaptcha

func (UnimplementedUserServer) ListUser

func (UnimplementedUserServer) ResetUserPassword

func (UnimplementedUserServer) UpdateCurrentUser

func (UnimplementedUserServer) UpdateUser

func (UnimplementedUserServer) UpdateUserStatus

func (UnimplementedUserServer) UserLogin

func (UnimplementedUserServer) UserLogout

func (UnimplementedUserServer) UserRefreshToken

type UnsafeUserServer

type UnsafeUserServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.

type UpdateCurrentUserPasswordReply

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

func (*UpdateCurrentUserPasswordReply) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserPasswordReply.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserPasswordReply) ProtoMessage

func (*UpdateCurrentUserPasswordReply) ProtoMessage()

func (*UpdateCurrentUserPasswordReply) ProtoReflect

func (*UpdateCurrentUserPasswordReply) Reset

func (x *UpdateCurrentUserPasswordReply) Reset()

func (*UpdateCurrentUserPasswordReply) String

func (*UpdateCurrentUserPasswordReply) Validate

func (m *UpdateCurrentUserPasswordReply) Validate() error

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

func (m *UpdateCurrentUserPasswordReply) ValidateAll() error

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

type UpdateCurrentUserPasswordReplyMultiError

type UpdateCurrentUserPasswordReplyMultiError []error

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

func (UpdateCurrentUserPasswordReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserPasswordReplyMultiError) Error

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

type UpdateCurrentUserPasswordReplyValidationError

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

UpdateCurrentUserPasswordReplyValidationError is the validation error returned by UpdateCurrentUserPasswordReply.Validate if the designated constraints aren't met.

func (UpdateCurrentUserPasswordReplyValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserPasswordReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserPasswordReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserPasswordReplyValidationError) Field

Field function returns field value.

func (UpdateCurrentUserPasswordReplyValidationError) Key

Key function returns key value.

func (UpdateCurrentUserPasswordReplyValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserPasswordRequest

type UpdateCurrentUserPasswordRequest struct {
	Password    string  `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	OldPassword *string `protobuf:"bytes,2,opt,name=oldPassword,proto3,oneof" json:"oldPassword,omitempty"`
	CaptchaId   *string `protobuf:"bytes,3,opt,name=captchaId,proto3,oneof" json:"captchaId,omitempty"`
	Captcha     *string `protobuf:"bytes,4,opt,name=captcha,proto3,oneof" json:"captcha,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCurrentUserPasswordRequest) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserPasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserPasswordRequest) GetCaptcha

func (x *UpdateCurrentUserPasswordRequest) GetCaptcha() string

func (*UpdateCurrentUserPasswordRequest) GetCaptchaId

func (x *UpdateCurrentUserPasswordRequest) GetCaptchaId() string

func (*UpdateCurrentUserPasswordRequest) GetOldPassword

func (x *UpdateCurrentUserPasswordRequest) GetOldPassword() string

func (*UpdateCurrentUserPasswordRequest) GetPassword

func (x *UpdateCurrentUserPasswordRequest) GetPassword() string

func (*UpdateCurrentUserPasswordRequest) ProtoMessage

func (*UpdateCurrentUserPasswordRequest) ProtoMessage()

func (*UpdateCurrentUserPasswordRequest) ProtoReflect

func (*UpdateCurrentUserPasswordRequest) Reset

func (*UpdateCurrentUserPasswordRequest) String

func (*UpdateCurrentUserPasswordRequest) Validate

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

func (m *UpdateCurrentUserPasswordRequest) ValidateAll() error

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

type UpdateCurrentUserPasswordRequestMultiError

type UpdateCurrentUserPasswordRequestMultiError []error

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

func (UpdateCurrentUserPasswordRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserPasswordRequestMultiError) Error

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

type UpdateCurrentUserPasswordRequestValidationError

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

UpdateCurrentUserPasswordRequestValidationError is the validation error returned by UpdateCurrentUserPasswordRequest.Validate if the designated constraints aren't met.

func (UpdateCurrentUserPasswordRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserPasswordRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserPasswordRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserPasswordRequestValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserReply

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

func (*UpdateCurrentUserReply) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserReply.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserReply) ProtoMessage

func (*UpdateCurrentUserReply) ProtoMessage()

func (*UpdateCurrentUserReply) ProtoReflect

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

func (*UpdateCurrentUserReply) Reset

func (x *UpdateCurrentUserReply) Reset()

func (*UpdateCurrentUserReply) String

func (x *UpdateCurrentUserReply) String() string

func (*UpdateCurrentUserReply) Validate

func (m *UpdateCurrentUserReply) Validate() error

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

func (m *UpdateCurrentUserReply) ValidateAll() error

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

type UpdateCurrentUserReplyMultiError

type UpdateCurrentUserReplyMultiError []error

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

func (UpdateCurrentUserReplyMultiError) AllErrors

func (m UpdateCurrentUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserReplyMultiError) Error

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

type UpdateCurrentUserReplyValidationError

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

UpdateCurrentUserReplyValidationError is the validation error returned by UpdateCurrentUserReply.Validate if the designated constraints aren't met.

func (UpdateCurrentUserReplyValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserReplyValidationError) Field

Field function returns field value.

func (UpdateCurrentUserReplyValidationError) Key

Key function returns key value.

func (UpdateCurrentUserReplyValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserRequest

type UpdateCurrentUserRequest struct {
	Avatar   *string `protobuf:"bytes,1,opt,name=avatar,proto3,oneof" json:"avatar,omitempty"`
	Nickname string  `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Gender   string  `protobuf:"bytes,3,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) GetAvatar

func (x *UpdateCurrentUserRequest) GetAvatar() string

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 UpdateCurrentUserRoleReply

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

func (*UpdateCurrentUserRoleReply) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserRoleReply.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserRoleReply) GetToken

func (x *UpdateCurrentUserRoleReply) GetToken() string

func (*UpdateCurrentUserRoleReply) ProtoMessage

func (*UpdateCurrentUserRoleReply) ProtoMessage()

func (*UpdateCurrentUserRoleReply) ProtoReflect

func (*UpdateCurrentUserRoleReply) Reset

func (x *UpdateCurrentUserRoleReply) Reset()

func (*UpdateCurrentUserRoleReply) String

func (x *UpdateCurrentUserRoleReply) String() string

func (*UpdateCurrentUserRoleReply) Validate

func (m *UpdateCurrentUserRoleReply) Validate() error

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

func (m *UpdateCurrentUserRoleReply) ValidateAll() error

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

type UpdateCurrentUserRoleReplyMultiError

type UpdateCurrentUserRoleReplyMultiError []error

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

func (UpdateCurrentUserRoleReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserRoleReplyMultiError) Error

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

type UpdateCurrentUserRoleReplyValidationError

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

UpdateCurrentUserRoleReplyValidationError is the validation error returned by UpdateCurrentUserRoleReply.Validate if the designated constraints aren't met.

func (UpdateCurrentUserRoleReplyValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserRoleReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserRoleReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserRoleReplyValidationError) Field

Field function returns field value.

func (UpdateCurrentUserRoleReplyValidationError) Key

Key function returns key value.

func (UpdateCurrentUserRoleReplyValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserRoleRequest

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

func (*UpdateCurrentUserRoleRequest) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserRoleRequest) GetRoleId

func (x *UpdateCurrentUserRoleRequest) GetRoleId() uint32

func (*UpdateCurrentUserRoleRequest) ProtoMessage

func (*UpdateCurrentUserRoleRequest) ProtoMessage()

func (*UpdateCurrentUserRoleRequest) ProtoReflect

func (*UpdateCurrentUserRoleRequest) Reset

func (x *UpdateCurrentUserRoleRequest) Reset()

func (*UpdateCurrentUserRoleRequest) String

func (*UpdateCurrentUserRoleRequest) Validate

func (m *UpdateCurrentUserRoleRequest) Validate() error

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

func (m *UpdateCurrentUserRoleRequest) ValidateAll() error

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

type UpdateCurrentUserRoleRequestMultiError

type UpdateCurrentUserRoleRequestMultiError []error

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

func (UpdateCurrentUserRoleRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserRoleRequestMultiError) Error

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

type UpdateCurrentUserRoleRequestValidationError

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

UpdateCurrentUserRoleRequestValidationError is the validation error returned by UpdateCurrentUserRoleRequest.Validate if the designated constraints aren't met.

func (UpdateCurrentUserRoleRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserRoleRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserRoleRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserRoleRequestValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserSettingReply

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

func (*UpdateCurrentUserSettingReply) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserSettingReply.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserSettingReply) ProtoMessage

func (*UpdateCurrentUserSettingReply) ProtoMessage()

func (*UpdateCurrentUserSettingReply) ProtoReflect

func (*UpdateCurrentUserSettingReply) Reset

func (x *UpdateCurrentUserSettingReply) Reset()

func (*UpdateCurrentUserSettingReply) String

func (*UpdateCurrentUserSettingReply) Validate

func (m *UpdateCurrentUserSettingReply) Validate() error

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

func (m *UpdateCurrentUserSettingReply) ValidateAll() error

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

type UpdateCurrentUserSettingReplyMultiError

type UpdateCurrentUserSettingReplyMultiError []error

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

func (UpdateCurrentUserSettingReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserSettingReplyMultiError) Error

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

type UpdateCurrentUserSettingReplyValidationError

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

UpdateCurrentUserSettingReplyValidationError is the validation error returned by UpdateCurrentUserSettingReply.Validate if the designated constraints aren't met.

func (UpdateCurrentUserSettingReplyValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserSettingReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserSettingReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserSettingReplyValidationError) Field

Field function returns field value.

func (UpdateCurrentUserSettingReplyValidationError) Key

Key function returns key value.

func (UpdateCurrentUserSettingReplyValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserSettingRequest

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

func (*UpdateCurrentUserSettingRequest) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserSettingRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserSettingRequest) GetSetting

func (x *UpdateCurrentUserSettingRequest) GetSetting() string

func (*UpdateCurrentUserSettingRequest) ProtoMessage

func (*UpdateCurrentUserSettingRequest) ProtoMessage()

func (*UpdateCurrentUserSettingRequest) ProtoReflect

func (*UpdateCurrentUserSettingRequest) Reset

func (*UpdateCurrentUserSettingRequest) String

func (*UpdateCurrentUserSettingRequest) Validate

func (m *UpdateCurrentUserSettingRequest) Validate() error

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

func (m *UpdateCurrentUserSettingRequest) ValidateAll() error

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

type UpdateCurrentUserSettingRequestMultiError

type UpdateCurrentUserSettingRequestMultiError []error

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

func (UpdateCurrentUserSettingRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserSettingRequestMultiError) Error

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

type UpdateCurrentUserSettingRequestValidationError

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

UpdateCurrentUserSettingRequestValidationError is the validation error returned by UpdateCurrentUserSettingRequest.Validate if the designated constraints aren't met.

func (UpdateCurrentUserSettingRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserSettingRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserSettingRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserSettingRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserSettingRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserSettingRequestValidationError) Reason

Reason function returns reason value.

type UpdateUserReply

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

func (*UpdateUserReply) Descriptor deprecated

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

Deprecated: Use UpdateUserReply.ProtoReflect.Descriptor instead.

func (*UpdateUserReply) ProtoMessage

func (*UpdateUserReply) ProtoMessage()

func (*UpdateUserReply) ProtoReflect

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

func (*UpdateUserReply) Reset

func (x *UpdateUserReply) Reset()

func (*UpdateUserReply) String

func (x *UpdateUserReply) String() string

func (*UpdateUserReply) Validate

func (m *UpdateUserReply) Validate() error

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

func (m *UpdateUserReply) ValidateAll() error

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

type UpdateUserReplyMultiError

type UpdateUserReplyMultiError []error

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

func (UpdateUserReplyMultiError) AllErrors

func (m UpdateUserReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserReplyMultiError) Error

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

type UpdateUserReplyValidationError

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

UpdateUserReplyValidationError is the validation error returned by UpdateUserReply.Validate if the designated constraints aren't met.

func (UpdateUserReplyValidationError) Cause

Cause function returns cause value.

func (UpdateUserReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserReplyValidationError) ErrorName

func (e UpdateUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateUserReplyValidationError) Field

Field function returns field value.

func (UpdateUserReplyValidationError) Key

Key function returns key value.

func (UpdateUserReplyValidationError) 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=departmentId,proto3" json:"departmentId,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"`
	JobIds       []uint32 `protobuf:"varint,7,rep,packed,name=jobIds,proto3" json:"jobIds,omitempty"`
	RoleIds      []uint32 `protobuf:"varint,8,rep,packed,name=roleIds,proto3" json:"roleIds,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 UpdateUserStatusReply

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

func (*UpdateUserStatusReply) Descriptor deprecated

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

Deprecated: Use UpdateUserStatusReply.ProtoReflect.Descriptor instead.

func (*UpdateUserStatusReply) ProtoMessage

func (*UpdateUserStatusReply) ProtoMessage()

func (*UpdateUserStatusReply) ProtoReflect

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

func (*UpdateUserStatusReply) Reset

func (x *UpdateUserStatusReply) Reset()

func (*UpdateUserStatusReply) String

func (x *UpdateUserStatusReply) String() string

func (*UpdateUserStatusReply) Validate

func (m *UpdateUserStatusReply) Validate() error

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

func (m *UpdateUserStatusReply) ValidateAll() error

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

type UpdateUserStatusReplyMultiError

type UpdateUserStatusReplyMultiError []error

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

func (UpdateUserStatusReplyMultiError) AllErrors

func (m UpdateUserStatusReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserStatusReplyMultiError) Error

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

type UpdateUserStatusReplyValidationError

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

UpdateUserStatusReplyValidationError is the validation error returned by UpdateUserStatusReply.Validate if the designated constraints aren't met.

func (UpdateUserStatusReplyValidationError) Cause

Cause function returns cause value.

func (UpdateUserStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserStatusReplyValidationError) Field

Field function returns field value.

func (UpdateUserStatusReplyValidationError) Key

Key function returns key value.

func (UpdateUserStatusReplyValidationError) Reason

Reason function returns reason value.

type UpdateUserStatusRequest

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

func (*UpdateUserStatusRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserStatusRequest) GetId

func (x *UpdateUserStatusRequest) GetId() uint32

func (*UpdateUserStatusRequest) GetStatus

func (x *UpdateUserStatusRequest) GetStatus() bool

func (*UpdateUserStatusRequest) ProtoMessage

func (*UpdateUserStatusRequest) ProtoMessage()

func (*UpdateUserStatusRequest) ProtoReflect

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

func (*UpdateUserStatusRequest) Reset

func (x *UpdateUserStatusRequest) Reset()

func (*UpdateUserStatusRequest) String

func (x *UpdateUserStatusRequest) String() string

func (*UpdateUserStatusRequest) Validate

func (m *UpdateUserStatusRequest) Validate() error

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

func (m *UpdateUserStatusRequest) ValidateAll() error

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

type UpdateUserStatusRequestMultiError

type UpdateUserStatusRequestMultiError []error

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

func (UpdateUserStatusRequestMultiError) AllErrors

func (m UpdateUserStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserStatusRequestMultiError) Error

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

type UpdateUserStatusRequestValidationError

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

UpdateUserStatusRequestValidationError is the validation error returned by UpdateUserStatusRequest.Validate if the designated constraints aren't met.

func (UpdateUserStatusRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserStatusRequestValidationError) Field

Field function returns field value.

func (UpdateUserStatusRequestValidationError) Key

Key function returns key value.

func (UpdateUserStatusRequestValidationError) Reason

Reason function returns reason value.

type UserClient

type UserClient interface {
	// GetUser 获取指定的用户信息
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserReply, error)
	// ListUser 获取用户信息列表
	ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserReply, error)
	// CreateUser 创建用户信息
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserReply, error)
	// UpdateUser 更新用户信息
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserReply, error)
	// UpdateUserStatus 更新用户信息状态
	UpdateUserStatus(ctx context.Context, in *UpdateUserStatusRequest, opts ...grpc.CallOption) (*UpdateUserStatusReply, error)
	// DeleteUser 删除用户信息
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserReply, error)
	// GetCurrentUser 获取当前用户信息
	GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserReply, error)
	// ResetUserPassword 重置用户密码
	ResetUserPassword(ctx context.Context, in *ResetUserPasswordRequest, opts ...grpc.CallOption) (*ResetUserPasswordReply, error)
	// UpdateCurrentUser 更新当前用户信息
	UpdateCurrentUser(ctx context.Context, in *UpdateCurrentUserRequest, opts ...grpc.CallOption) (*UpdateCurrentUserReply, error)
	// UpdateCurrentUserRole 切换用户当前角色
	UpdateCurrentUserRole(ctx context.Context, in *UpdateCurrentUserRoleRequest, opts ...grpc.CallOption) (*UpdateCurrentUserRoleReply, error)
	// UpdateCurrentUserPassword 用户修改密码
	UpdateCurrentUserPassword(ctx context.Context, in *UpdateCurrentUserPasswordRequest, opts ...grpc.CallOption) (*UpdateCurrentUserPasswordReply, error)
	// UpdateCurrentUserSetting 用户设置保存
	UpdateCurrentUserSetting(ctx context.Context, in *UpdateCurrentUserSettingRequest, opts ...grpc.CallOption) (*UpdateCurrentUserSettingReply, error)
	// SendCurrentUserCaptcha 发送用户验证吗
	SendCurrentUserCaptcha(ctx context.Context, in *SendCurrentUserCaptchaRequest, opts ...grpc.CallOption) (*SendCurrentUserCaptchaReply, error)
	// GetUserLoginCaptcha 获取用户登陆验证吗
	GetUserLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserLoginCaptchaReply, error)
	// UserLogin 用户登陆
	UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginReply, error)
	// UserLogout 用户退出
	UserLogout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UserRefreshToken 用户刷新token
	UserRefreshToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserRefreshTokenReply, error)
}

UserClient is the client API for User 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 NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserHTTPClient

type UserHTTPClient interface {
	CreateUser(ctx context.Context, req *CreateUserRequest, opts ...http.CallOption) (rsp *CreateUserReply, err error)
	DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *DeleteUserReply, err error)
	GetCurrentUser(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetUserReply, err error)
	GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserReply, err error)
	GetUserLoginCaptcha(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *GetUserLoginCaptchaReply, err error)
	ListUser(ctx context.Context, req *ListUserRequest, opts ...http.CallOption) (rsp *ListUserReply, err error)
	ResetUserPassword(ctx context.Context, req *ResetUserPasswordRequest, opts ...http.CallOption) (rsp *ResetUserPasswordReply, err error)
	SendCurrentUserCaptcha(ctx context.Context, req *SendCurrentUserCaptchaRequest, opts ...http.CallOption) (rsp *SendCurrentUserCaptchaReply, err error)
	UpdateCurrentUser(ctx context.Context, req *UpdateCurrentUserRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserReply, err error)
	UpdateCurrentUserPassword(ctx context.Context, req *UpdateCurrentUserPasswordRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserPasswordReply, err error)
	UpdateCurrentUserRole(ctx context.Context, req *UpdateCurrentUserRoleRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserRoleReply, err error)
	UpdateCurrentUserSetting(ctx context.Context, req *UpdateCurrentUserSettingRequest, opts ...http.CallOption) (rsp *UpdateCurrentUserSettingReply, err error)
	UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserReply, err error)
	UpdateUserStatus(ctx context.Context, req *UpdateUserStatusRequest, opts ...http.CallOption) (rsp *UpdateUserStatusReply, err error)
	UserLogin(ctx context.Context, req *UserLoginRequest, opts ...http.CallOption) (rsp *UserLoginReply, 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 NewUserHTTPClient

func NewUserHTTPClient(client *http.Client) UserHTTPClient

type UserHTTPClientImpl

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

func (*UserHTTPClientImpl) CreateUser

func (*UserHTTPClientImpl) DeleteUser

func (*UserHTTPClientImpl) GetCurrentUser

func (c *UserHTTPClientImpl) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserReply, error)

func (*UserHTTPClientImpl) GetUser

func (*UserHTTPClientImpl) GetUserLoginCaptcha

func (c *UserHTTPClientImpl) GetUserLoginCaptcha(ctx context.Context, in *emptypb.Empty, opts ...http.CallOption) (*GetUserLoginCaptchaReply, error)

func (*UserHTTPClientImpl) ListUser

func (*UserHTTPClientImpl) ResetUserPassword

func (*UserHTTPClientImpl) SendCurrentUserCaptcha

func (*UserHTTPClientImpl) UpdateCurrentUser

func (*UserHTTPClientImpl) UpdateCurrentUserPassword

func (*UserHTTPClientImpl) UpdateCurrentUserRole

func (*UserHTTPClientImpl) UpdateCurrentUserSetting

func (*UserHTTPClientImpl) UpdateUser

func (*UserHTTPClientImpl) UpdateUserStatus

func (*UserHTTPClientImpl) UserLogin

func (*UserHTTPClientImpl) UserLogout

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

func (*UserHTTPClientImpl) UserRefreshToken

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

type UserHTTPServer

type UserHTTPServer interface {
	// CreateUser CreateUser 创建用户信息
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
	// DeleteUser DeleteUser 删除用户信息
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error)
	// GetCurrentUser GetCurrentUser 获取当前用户信息
	GetCurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error)
	// GetUser GetUser 获取指定的用户信息
	GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
	// GetUserLoginCaptcha GetUserLoginCaptcha 获取用户登陆验证吗
	GetUserLoginCaptcha(context.Context, *emptypb.Empty) (*GetUserLoginCaptchaReply, error)
	// ListUser ListUser 获取用户信息列表
	ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
	// ResetUserPassword ResetUserPassword 重置用户密码
	ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*ResetUserPasswordReply, error)
	// SendCurrentUserCaptcha SendCurrentUserCaptcha 发送用户验证吗
	SendCurrentUserCaptcha(context.Context, *SendCurrentUserCaptchaRequest) (*SendCurrentUserCaptchaReply, error)
	// UpdateCurrentUser UpdateCurrentUser 更新当前用户信息
	UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
	// UpdateCurrentUserPassword UpdateCurrentUserPassword 用户修改密码
	UpdateCurrentUserPassword(context.Context, *UpdateCurrentUserPasswordRequest) (*UpdateCurrentUserPasswordReply, error)
	// UpdateCurrentUserRole UpdateCurrentUserRole 切换用户当前角色
	UpdateCurrentUserRole(context.Context, *UpdateCurrentUserRoleRequest) (*UpdateCurrentUserRoleReply, error)
	// UpdateCurrentUserSetting UpdateCurrentUserSetting 用户设置保存
	UpdateCurrentUserSetting(context.Context, *UpdateCurrentUserSettingRequest) (*UpdateCurrentUserSettingReply, error)
	// UpdateUser UpdateUser 更新用户信息
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
	// UpdateUserStatus UpdateUserStatus 更新用户信息状态
	UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
	// UserLogin UserLogin 用户登陆
	UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error)
	// UserLogout UserLogout 用户退出
	UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// UserRefreshToken UserRefreshToken 用户刷新token
	UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error)
}

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=captchaId,proto3" json:"captchaId,omitempty"`
	Captcha   string `protobuf:"bytes,4,opt,name=captcha,proto3" json:"captcha,omitempty"`
	// contains filtered or unexported fields
}

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

type UserServer interface {
	// GetUser 获取指定的用户信息
	GetUser(context.Context, *GetUserRequest) (*GetUserReply, error)
	// ListUser 获取用户信息列表
	ListUser(context.Context, *ListUserRequest) (*ListUserReply, error)
	// CreateUser 创建用户信息
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserReply, error)
	// UpdateUser 更新用户信息
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
	// UpdateUserStatus 更新用户信息状态
	UpdateUserStatus(context.Context, *UpdateUserStatusRequest) (*UpdateUserStatusReply, error)
	// DeleteUser 删除用户信息
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserReply, error)
	// GetCurrentUser 获取当前用户信息
	GetCurrentUser(context.Context, *emptypb.Empty) (*GetUserReply, error)
	// ResetUserPassword 重置用户密码
	ResetUserPassword(context.Context, *ResetUserPasswordRequest) (*ResetUserPasswordReply, error)
	// UpdateCurrentUser 更新当前用户信息
	UpdateCurrentUser(context.Context, *UpdateCurrentUserRequest) (*UpdateCurrentUserReply, error)
	// UpdateCurrentUserRole 切换用户当前角色
	UpdateCurrentUserRole(context.Context, *UpdateCurrentUserRoleRequest) (*UpdateCurrentUserRoleReply, error)
	// UpdateCurrentUserPassword 用户修改密码
	UpdateCurrentUserPassword(context.Context, *UpdateCurrentUserPasswordRequest) (*UpdateCurrentUserPasswordReply, error)
	// UpdateCurrentUserSetting 用户设置保存
	UpdateCurrentUserSetting(context.Context, *UpdateCurrentUserSettingRequest) (*UpdateCurrentUserSettingReply, error)
	// SendCurrentUserCaptcha 发送用户验证吗
	SendCurrentUserCaptcha(context.Context, *SendCurrentUserCaptchaRequest) (*SendCurrentUserCaptchaReply, error)
	// GetUserLoginCaptcha 获取用户登陆验证吗
	GetUserLoginCaptcha(context.Context, *emptypb.Empty) (*GetUserLoginCaptchaReply, error)
	// UserLogin 用户登陆
	UserLogin(context.Context, *UserLoginRequest) (*UserLoginReply, error)
	// UserLogout 用户退出
	UserLogout(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// UserRefreshToken 用户刷新token
	UserRefreshToken(context.Context, *emptypb.Empty) (*UserRefreshTokenReply, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

Jump to

Keyboard shortcuts

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