user

package
v0.0.0-...-c38fcd0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OperationUserCreateUser = "/api.auth.user.User/CreateUser"
View Source
const OperationUserCreateUserPhoneRegister = "/api.auth.user.User/CreateUserPhoneRegister"
View Source
const OperationUserCreateUserRoleBind = "/api.auth.user.User/CreateUserRoleBind"
View Source
const OperationUserCreateUserVerify = "/api.auth.user.User/CreateUserVerify"
View Source
const OperationUserDeleteUser = "/api.auth.user.User/DeleteUser"
View Source
const OperationUserDeleteUserRoleBind = "/api.auth.user.User/DeleteUserRoleBind"
View Source
const OperationUserGetUser = "/api.auth.user.User/GetUser"
View Source
const OperationUserGetUserVerify = "/api.auth.user.User/GetUserVerify"
View Source
const OperationUserListUser = "/api.auth.user.User/ListUser"
View Source
const OperationUserListUserNavigation = "/api.auth.user.User/ListUserNavigation"
View Source
const OperationUserListUserRoleBind = "/api.auth.user.User/ListUserRoleBind"
View Source
const OperationUserLogin = "/api.auth.user.User/Login"
View Source
const OperationUserPostPhoneSmsVeryfy = "/api.auth.user.User/PostPhoneSmsVeryfy"
View Source
const OperationUserResetPassword = "/api.auth.user.User/ResetPassword"
View Source
const OperationUserUpdateUser = "/api.auth.user.User/UpdateUser"
View Source
const OperationUserUpdateUserVerify = "/api.auth.user.User/UpdateUserVerify"

Variables

View Source
var (
	UserStatus_name = map[int32]string{
		0: "NotRegister",
		1: "NotVerify",
		2: "Valid",
	}
	UserStatus_value = map[string]int32{
		"NotRegister": 0,
		"NotVerify":   1,
		"Valid":       2,
	}
)

Enum value maps for UserStatus.

View Source
var File_api_auth_user_user_proto protoreflect.FileDescriptor
View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.auth.user.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _User_CreateUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _User_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _User_DeleteUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _User_GetUser_Handler,
		},
		{
			MethodName: "GetUserVerify",
			Handler:    _User_GetUserVerify_Handler,
		},
		{
			MethodName: "CreateUserVerify",
			Handler:    _User_CreateUserVerify_Handler,
		},
		{
			MethodName: "UpdateUserVerify",
			Handler:    _User_UpdateUserVerify_Handler,
		},
		{
			MethodName: "ListUser",
			Handler:    _User_ListUser_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _User_ResetPassword_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _User_Login_Handler,
		},
		{
			MethodName: "CreateUserRoleBind",
			Handler:    _User_CreateUserRoleBind_Handler,
		},
		{
			MethodName: "DeleteUserRoleBind",
			Handler:    _User_DeleteUserRoleBind_Handler,
		},
		{
			MethodName: "ListUserRoleBind",
			Handler:    _User_ListUserRoleBind_Handler,
		},
		{
			MethodName: "ListUserNavigation",
			Handler:    _User_ListUserNavigation_Handler,
		},
		{
			MethodName: "CreateUserPhoneRegister",
			Handler:    _User_CreateUserPhoneRegister_Handler,
		},
		{
			MethodName: "PostPhoneSmsVeryfy",
			Handler:    _User_PostPhoneSmsVeryfy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/auth/user/user.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 CreatUserVerifyReqeust

type CreatUserVerifyReqeust struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Url    string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatUserVerifyReqeust) Descriptor deprecated

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

Deprecated: Use CreatUserVerifyReqeust.ProtoReflect.Descriptor instead.

func (*CreatUserVerifyReqeust) GetUrl

func (x *CreatUserVerifyReqeust) GetUrl() string

func (*CreatUserVerifyReqeust) GetUserID

func (x *CreatUserVerifyReqeust) GetUserID() string

func (*CreatUserVerifyReqeust) ProtoMessage

func (*CreatUserVerifyReqeust) ProtoMessage()

func (*CreatUserVerifyReqeust) ProtoReflect

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

func (*CreatUserVerifyReqeust) Reset

func (x *CreatUserVerifyReqeust) Reset()

func (*CreatUserVerifyReqeust) String

func (x *CreatUserVerifyReqeust) String() string

func (*CreatUserVerifyReqeust) Validate

func (m *CreatUserVerifyReqeust) Validate() error

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

func (m *CreatUserVerifyReqeust) ValidateAll() error

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

type CreatUserVerifyReqeustMultiError

type CreatUserVerifyReqeustMultiError []error

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

func (CreatUserVerifyReqeustMultiError) AllErrors

func (m CreatUserVerifyReqeustMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreatUserVerifyReqeustMultiError) Error

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

type CreatUserVerifyReqeustValidationError

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

CreatUserVerifyReqeustValidationError is the validation error returned by CreatUserVerifyReqeust.Validate if the designated constraints aren't met.

func (CreatUserVerifyReqeustValidationError) Cause

Cause function returns cause value.

func (CreatUserVerifyReqeustValidationError) Error

Error satisfies the builtin error interface

func (CreatUserVerifyReqeustValidationError) ErrorName

ErrorName returns error name.

func (CreatUserVerifyReqeustValidationError) Field

Field function returns field value.

func (CreatUserVerifyReqeustValidationError) Key

Key function returns key value.

func (CreatUserVerifyReqeustValidationError) Reason

Reason function returns reason value.

type CreateUserRequest

type CreateUserRequest struct {
	UserID    string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	UserName  string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	Email     string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
	Comment   string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	OrgID     string `protobuf:"bytes,8,opt,name=orgID,proto3" json:"orgID,omitempty"`
	RoleID    string `protobuf:"bytes,9,opt,name=roleID,proto3" json:"roleID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetAvatarUrl

func (x *CreateUserRequest) GetAvatarUrl() string

func (*CreateUserRequest) GetComment

func (x *CreateUserRequest) GetComment() string

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetOrgID

func (x *CreateUserRequest) GetOrgID() string

func (*CreateUserRequest) GetPhone

func (x *CreateUserRequest) GetPhone() string

func (*CreateUserRequest) GetRoleID

func (x *CreateUserRequest) GetRoleID() string

func (*CreateUserRequest) GetUserID

func (x *CreateUserRequest) GetUserID() string

func (*CreateUserRequest) GetUserName

func (x *CreateUserRequest) GetUserName() string

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 CreateVerifyUrl

type CreateVerifyUrl struct {
	URL    string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
	UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVerifyUrl) Descriptor deprecated

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

Deprecated: Use CreateVerifyUrl.ProtoReflect.Descriptor instead.

func (*CreateVerifyUrl) GetURL

func (x *CreateVerifyUrl) GetURL() string

func (*CreateVerifyUrl) GetUserID

func (x *CreateVerifyUrl) GetUserID() string

func (*CreateVerifyUrl) ProtoMessage

func (*CreateVerifyUrl) ProtoMessage()

func (*CreateVerifyUrl) ProtoReflect

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

func (*CreateVerifyUrl) Reset

func (x *CreateVerifyUrl) Reset()

func (*CreateVerifyUrl) String

func (x *CreateVerifyUrl) String() string

func (*CreateVerifyUrl) Validate

func (m *CreateVerifyUrl) Validate() error

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

func (m *CreateVerifyUrl) ValidateAll() error

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

type CreateVerifyUrlMultiError

type CreateVerifyUrlMultiError []error

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

func (CreateVerifyUrlMultiError) AllErrors

func (m CreateVerifyUrlMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateVerifyUrlMultiError) Error

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

type CreateVerifyUrlValidationError

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

CreateVerifyUrlValidationError is the validation error returned by CreateVerifyUrl.Validate if the designated constraints aren't met.

func (CreateVerifyUrlValidationError) Cause

Cause function returns cause value.

func (CreateVerifyUrlValidationError) Error

Error satisfies the builtin error interface

func (CreateVerifyUrlValidationError) ErrorName

func (e CreateVerifyUrlValidationError) ErrorName() string

ErrorName returns error name.

func (CreateVerifyUrlValidationError) Field

Field function returns field value.

func (CreateVerifyUrlValidationError) Key

Key function returns key value.

func (CreateVerifyUrlValidationError) Reason

Reason function returns reason value.

type DeleteUserReply

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

func (*DeleteUserReply) Descriptor deprecated

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

Deprecated: Use DeleteUserReply.ProtoReflect.Descriptor instead.

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 {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetId

func (x *DeleteUserRequest) GetId() string

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 DeleteUserRoleBindRequest

type DeleteUserRoleBindRequest struct {
	BindIDList []string `protobuf:"bytes,1,rep,name=bindIDList,proto3" json:"bindIDList,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRoleBindRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRoleBindRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRoleBindRequest) GetBindIDList

func (x *DeleteUserRoleBindRequest) GetBindIDList() []string

func (*DeleteUserRoleBindRequest) ProtoMessage

func (*DeleteUserRoleBindRequest) ProtoMessage()

func (*DeleteUserRoleBindRequest) ProtoReflect

func (*DeleteUserRoleBindRequest) Reset

func (x *DeleteUserRoleBindRequest) Reset()

func (*DeleteUserRoleBindRequest) String

func (x *DeleteUserRoleBindRequest) String() string

func (*DeleteUserRoleBindRequest) Validate

func (m *DeleteUserRoleBindRequest) Validate() error

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

func (m *DeleteUserRoleBindRequest) ValidateAll() error

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

type DeleteUserRoleBindRequestMultiError

type DeleteUserRoleBindRequestMultiError []error

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

func (DeleteUserRoleBindRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteUserRoleBindRequestMultiError) Error

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

type DeleteUserRoleBindRequestValidationError

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

DeleteUserRoleBindRequestValidationError is the validation error returned by DeleteUserRoleBindRequest.Validate if the designated constraints aren't met.

func (DeleteUserRoleBindRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserRoleBindRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRoleBindRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRoleBindRequestValidationError) Field

Field function returns field value.

func (DeleteUserRoleBindRequestValidationError) Key

Key function returns key value.

func (DeleteUserRoleBindRequestValidationError) Reason

Reason function returns reason value.

type GetUserReply

type GetUserReply struct {
	UserID    string                   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	UserName  string                   `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	Email     string                   `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string                   `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
	Comment   string                   `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	AvatarUrl string                   `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Id        string                   `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
	Org       *GetUserReply_Organizion `protobuf:"bytes,9,opt,name=org,proto3" json:"org,omitempty"`
	Role      []*GetUserReply_Role     `protobuf:"bytes,10,rep,name=role,proto3" json:"role,omitempty"`
	IsVerify  bool                     `protobuf:"varint,11,opt,name=isVerify,proto3" json:"isVerify,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply) Descriptor deprecated

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

Deprecated: Use GetUserReply.ProtoReflect.Descriptor instead.

func (*GetUserReply) GetAvatarUrl

func (x *GetUserReply) GetAvatarUrl() string

func (*GetUserReply) GetComment

func (x *GetUserReply) GetComment() string

func (*GetUserReply) GetEmail

func (x *GetUserReply) GetEmail() string

func (*GetUserReply) GetId

func (x *GetUserReply) GetId() string

func (*GetUserReply) GetIsVerify

func (x *GetUserReply) GetIsVerify() bool

func (*GetUserReply) GetOrg

func (*GetUserReply) GetPhone

func (x *GetUserReply) GetPhone() string

func (*GetUserReply) GetRole

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

func (*GetUserReply) GetUserID

func (x *GetUserReply) GetUserID() string

func (*GetUserReply) GetUserName

func (x *GetUserReply) GetUserName() string

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_Organizion

type GetUserReply_Organizion struct {
	OrgID   string `protobuf:"bytes,1,opt,name=orgID,proto3" json:"orgID,omitempty"`
	OrgName string `protobuf:"bytes,2,opt,name=orgName,proto3" json:"orgName,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReply_Organizion) Descriptor deprecated

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

Deprecated: Use GetUserReply_Organizion.ProtoReflect.Descriptor instead.

func (*GetUserReply_Organizion) GetOrgID

func (x *GetUserReply_Organizion) GetOrgID() string

func (*GetUserReply_Organizion) GetOrgName

func (x *GetUserReply_Organizion) GetOrgName() string

func (*GetUserReply_Organizion) ProtoMessage

func (*GetUserReply_Organizion) ProtoMessage()

func (*GetUserReply_Organizion) ProtoReflect

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

func (*GetUserReply_Organizion) Reset

func (x *GetUserReply_Organizion) Reset()

func (*GetUserReply_Organizion) String

func (x *GetUserReply_Organizion) String() string

func (*GetUserReply_Organizion) Validate

func (m *GetUserReply_Organizion) Validate() error

Validate checks the field values on GetUserReply_Organizion 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_Organizion) ValidateAll

func (m *GetUserReply_Organizion) ValidateAll() error

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

type GetUserReply_OrganizionMultiError

type GetUserReply_OrganizionMultiError []error

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

func (GetUserReply_OrganizionMultiError) AllErrors

func (m GetUserReply_OrganizionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReply_OrganizionMultiError) Error

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

type GetUserReply_OrganizionValidationError

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

GetUserReply_OrganizionValidationError is the validation error returned by GetUserReply_Organizion.Validate if the designated constraints aren't met.

func (GetUserReply_OrganizionValidationError) Cause

Cause function returns cause value.

func (GetUserReply_OrganizionValidationError) Error

Error satisfies the builtin error interface

func (GetUserReply_OrganizionValidationError) ErrorName

ErrorName returns error name.

func (GetUserReply_OrganizionValidationError) Field

Field function returns field value.

func (GetUserReply_OrganizionValidationError) Key

Key function returns key value.

func (GetUserReply_OrganizionValidationError) Reason

Reason function returns reason value.

type GetUserReply_Role

type GetUserReply_Role struct {
	RoleID   string `protobuf:"bytes,1,opt,name=roleID,proto3" json:"roleID,omitempty"`
	RoleName string `protobuf:"bytes,2,opt,name=roleName,proto3" json:"roleName,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) GetRoleID

func (x *GetUserReply_Role) GetRoleID() string

func (*GetUserReply_Role) GetRoleName

func (x *GetUserReply_Role) GetRoleName() 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 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() 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 {
	DataList []*GetUserReply `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"`
	Total    int32           `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	Page     int32           `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PerPage  int32           `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserReply) Descriptor deprecated

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

Deprecated: Use ListUserReply.ProtoReflect.Descriptor instead.

func (*ListUserReply) GetDataList

func (x *ListUserReply) GetDataList() []*GetUserReply

func (*ListUserReply) GetPage

func (x *ListUserReply) GetPage() int32

func (*ListUserReply) GetPerPage

func (x *ListUserReply) GetPerPage() int32

func (*ListUserReply) GetTotal

func (x *ListUserReply) GetTotal() int32

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 ListUserRoleBindReply

type ListUserRoleBindReply struct {
	UserRoleBinds []*ListUserRoleBindReply_UserRoleBindReply `protobuf:"bytes,1,rep,name=userRoleBinds,proto3" json:"userRoleBinds,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRoleBindReply) Descriptor deprecated

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

Deprecated: Use ListUserRoleBindReply.ProtoReflect.Descriptor instead.

func (*ListUserRoleBindReply) GetUserRoleBinds

func (*ListUserRoleBindReply) ProtoMessage

func (*ListUserRoleBindReply) ProtoMessage()

func (*ListUserRoleBindReply) ProtoReflect

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

func (*ListUserRoleBindReply) Reset

func (x *ListUserRoleBindReply) Reset()

func (*ListUserRoleBindReply) String

func (x *ListUserRoleBindReply) String() string

func (*ListUserRoleBindReply) Validate

func (m *ListUserRoleBindReply) Validate() error

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

func (m *ListUserRoleBindReply) ValidateAll() error

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

type ListUserRoleBindReplyMultiError

type ListUserRoleBindReplyMultiError []error

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

func (ListUserRoleBindReplyMultiError) AllErrors

func (m ListUserRoleBindReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserRoleBindReplyMultiError) Error

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

type ListUserRoleBindReplyValidationError

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

ListUserRoleBindReplyValidationError is the validation error returned by ListUserRoleBindReply.Validate if the designated constraints aren't met.

func (ListUserRoleBindReplyValidationError) Cause

Cause function returns cause value.

func (ListUserRoleBindReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserRoleBindReplyValidationError) ErrorName

ErrorName returns error name.

func (ListUserRoleBindReplyValidationError) Field

Field function returns field value.

func (ListUserRoleBindReplyValidationError) Key

Key function returns key value.

func (ListUserRoleBindReplyValidationError) Reason

Reason function returns reason value.

type ListUserRoleBindReply_UserRoleBindReply

type ListUserRoleBindReply_UserRoleBindReply struct {
	UserID   string                                               `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	UserName string                                               `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	RoleList []*ListUserRoleBindReply_UserRoleBindReply_RoleReply `protobuf:"bytes,3,rep,name=roleList,proto3" json:"roleList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRoleBindReply_UserRoleBindReply) Descriptor deprecated

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

Deprecated: Use ListUserRoleBindReply_UserRoleBindReply.ProtoReflect.Descriptor instead.

func (*ListUserRoleBindReply_UserRoleBindReply) GetRoleList

func (*ListUserRoleBindReply_UserRoleBindReply) GetUserID

func (*ListUserRoleBindReply_UserRoleBindReply) GetUserName

func (*ListUserRoleBindReply_UserRoleBindReply) ProtoMessage

func (*ListUserRoleBindReply_UserRoleBindReply) ProtoReflect

func (*ListUserRoleBindReply_UserRoleBindReply) Reset

func (*ListUserRoleBindReply_UserRoleBindReply) String

func (*ListUserRoleBindReply_UserRoleBindReply) Validate

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

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

type ListUserRoleBindReply_UserRoleBindReplyMultiError

type ListUserRoleBindReply_UserRoleBindReplyMultiError []error

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

func (ListUserRoleBindReply_UserRoleBindReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListUserRoleBindReply_UserRoleBindReplyMultiError) Error

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

type ListUserRoleBindReply_UserRoleBindReplyValidationError

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

ListUserRoleBindReply_UserRoleBindReplyValidationError is the validation error returned by ListUserRoleBindReply_UserRoleBindReply.Validate if the designated constraints aren't met.

func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Cause

Cause function returns cause value.

func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserRoleBindReply_UserRoleBindReplyValidationError) ErrorName

ErrorName returns error name.

func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Field

Field function returns field value.

func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Key

Key function returns key value.

func (ListUserRoleBindReply_UserRoleBindReplyValidationError) Reason

Reason function returns reason value.

type ListUserRoleBindReply_UserRoleBindReply_RoleReply

type ListUserRoleBindReply_UserRoleBindReply_RoleReply struct {
	BindID   string `protobuf:"bytes,1,opt,name=bindID,proto3" json:"bindID,omitempty"`
	RoleID   string `protobuf:"bytes,2,opt,name=roleID,proto3" json:"roleID,omitempty"`
	RoleName string `protobuf:"bytes,3,opt,name=roleName,proto3" json:"roleName,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Descriptor deprecated

Deprecated: Use ListUserRoleBindReply_UserRoleBindReply_RoleReply.ProtoReflect.Descriptor instead.

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetBindID

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleID

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) GetRoleName

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoMessage

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) ProtoReflect

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Reset

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) String

func (*ListUserRoleBindReply_UserRoleBindReply_RoleReply) Validate

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

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

type ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError

type ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError []error

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

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyMultiError) Error

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

type ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError

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

ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError is the validation error returned by ListUserRoleBindReply_UserRoleBindReply_RoleReply.Validate if the designated constraints aren't met.

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Cause

Cause function returns cause value.

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) ErrorName

ErrorName returns error name.

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Field

Field function returns field value.

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Key

Key function returns key value.

func (ListUserRoleBindReply_UserRoleBindReply_RoleReplyValidationError) Reason

Reason function returns reason value.

type ListUserRoleBindRequest

type ListUserRoleBindRequest struct {
	UserIDList []string `protobuf:"bytes,1,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRoleBindRequest) Descriptor deprecated

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

Deprecated: Use ListUserRoleBindRequest.ProtoReflect.Descriptor instead.

func (*ListUserRoleBindRequest) GetUserIDList

func (x *ListUserRoleBindRequest) GetUserIDList() []string

func (*ListUserRoleBindRequest) ProtoMessage

func (*ListUserRoleBindRequest) ProtoMessage()

func (*ListUserRoleBindRequest) ProtoReflect

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

func (*ListUserRoleBindRequest) Reset

func (x *ListUserRoleBindRequest) Reset()

func (*ListUserRoleBindRequest) String

func (x *ListUserRoleBindRequest) String() string

func (*ListUserRoleBindRequest) Validate

func (m *ListUserRoleBindRequest) Validate() error

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

func (m *ListUserRoleBindRequest) ValidateAll() error

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

type ListUserRoleBindRequestMultiError

type ListUserRoleBindRequestMultiError []error

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

func (ListUserRoleBindRequestMultiError) AllErrors

func (m ListUserRoleBindRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserRoleBindRequestMultiError) Error

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

type ListUserRoleBindRequestValidationError

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

ListUserRoleBindRequestValidationError is the validation error returned by ListUserRoleBindRequest.Validate if the designated constraints aren't met.

func (ListUserRoleBindRequestValidationError) Cause

Cause function returns cause value.

func (ListUserRoleBindRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserRoleBindRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserRoleBindRequestValidationError) Field

Field function returns field value.

func (ListUserRoleBindRequestValidationError) Key

Key function returns key value.

func (ListUserRoleBindRequestValidationError) Reason

Reason function returns reason value.

type LoginReply

type LoginReply struct {
	Token string        `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	User  *GetUserReply `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReply) Descriptor deprecated

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

Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.

func (*LoginReply) GetToken

func (x *LoginReply) GetToken() string

func (*LoginReply) GetUser

func (x *LoginReply) GetUser() *GetUserReply

func (*LoginReply) ProtoMessage

func (*LoginReply) ProtoMessage()

func (*LoginReply) ProtoReflect

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

func (*LoginReply) Reset

func (x *LoginReply) Reset()

func (*LoginReply) String

func (x *LoginReply) String() string

func (*LoginReply) Validate

func (m *LoginReply) Validate() error

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

func (*LoginReply) ValidateAll

func (m *LoginReply) ValidateAll() error

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

type LoginReplyMultiError

type LoginReplyMultiError []error

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

func (LoginReplyMultiError) AllErrors

func (m LoginReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginReplyMultiError) Error

func (m LoginReplyMultiError) Error() string

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

type LoginReplyValidationError

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

LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.

func (LoginReplyValidationError) Cause

func (e LoginReplyValidationError) Cause() error

Cause function returns cause value.

func (LoginReplyValidationError) Error

Error satisfies the builtin error interface

func (LoginReplyValidationError) ErrorName

func (e LoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoginReplyValidationError) Field

Field function returns field value.

func (LoginReplyValidationError) Key

Key function returns key value.

func (LoginReplyValidationError) Reason

func (e LoginReplyValidationError) Reason() string

Reason function returns reason value.

type LoginRequest

type LoginRequest struct {
	UserID   string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUserID

func (x *LoginRequest) GetUserID() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

func (*LoginRequest) Validate

func (m *LoginRequest) Validate() error

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

func (*LoginRequest) ValidateAll

func (m *LoginRequest) ValidateAll() error

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

type LoginRequestMultiError

type LoginRequestMultiError []error

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

func (LoginRequestMultiError) AllErrors

func (m LoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequestMultiError) Error

func (m LoginRequestMultiError) Error() string

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

type LoginRequestValidationError

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

LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.

func (LoginRequestValidationError) Cause

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

type PhoneVerifyReply

type PhoneVerifyReply struct {

	// status 用户状态
	Status  UserStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.auth.user.UserStatus" json:"status,omitempty"`
	UserID  string     `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
	OrgID   string     `protobuf:"bytes,3,opt,name=orgID,proto3" json:"orgID,omitempty"`
	OrgName string     `protobuf:"bytes,4,opt,name=orgName,proto3" json:"orgName,omitempty"`
	IdCard  string     `protobuf:"bytes,5,opt,name=idCard,proto3" json:"idCard,omitempty"`
	// contains filtered or unexported fields
}

func (*PhoneVerifyReply) Descriptor deprecated

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

Deprecated: Use PhoneVerifyReply.ProtoReflect.Descriptor instead.

func (*PhoneVerifyReply) GetIdCard

func (x *PhoneVerifyReply) GetIdCard() string

func (*PhoneVerifyReply) GetOrgID

func (x *PhoneVerifyReply) GetOrgID() string

func (*PhoneVerifyReply) GetOrgName

func (x *PhoneVerifyReply) GetOrgName() string

func (*PhoneVerifyReply) GetStatus

func (x *PhoneVerifyReply) GetStatus() UserStatus

func (*PhoneVerifyReply) GetUserID

func (x *PhoneVerifyReply) GetUserID() string

func (*PhoneVerifyReply) ProtoMessage

func (*PhoneVerifyReply) ProtoMessage()

func (*PhoneVerifyReply) ProtoReflect

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

func (*PhoneVerifyReply) Reset

func (x *PhoneVerifyReply) Reset()

func (*PhoneVerifyReply) String

func (x *PhoneVerifyReply) String() string

func (*PhoneVerifyReply) Validate

func (m *PhoneVerifyReply) Validate() error

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

func (m *PhoneVerifyReply) ValidateAll() error

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

type PhoneVerifyReplyMultiError

type PhoneVerifyReplyMultiError []error

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

func (PhoneVerifyReplyMultiError) AllErrors

func (m PhoneVerifyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PhoneVerifyReplyMultiError) Error

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

type PhoneVerifyReplyValidationError

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

PhoneVerifyReplyValidationError is the validation error returned by PhoneVerifyReply.Validate if the designated constraints aren't met.

func (PhoneVerifyReplyValidationError) Cause

Cause function returns cause value.

func (PhoneVerifyReplyValidationError) Error

Error satisfies the builtin error interface

func (PhoneVerifyReplyValidationError) ErrorName

ErrorName returns error name.

func (PhoneVerifyReplyValidationError) Field

Field function returns field value.

func (PhoneVerifyReplyValidationError) Key

Key function returns key value.

func (PhoneVerifyReplyValidationError) Reason

Reason function returns reason value.

type PhoneVerifyRequest

type PhoneVerifyRequest struct {

	// phone 手机号
	Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
	Code  string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`   //验证码
	// contains filtered or unexported fields
}

func (*PhoneVerifyRequest) Descriptor deprecated

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

Deprecated: Use PhoneVerifyRequest.ProtoReflect.Descriptor instead.

func (*PhoneVerifyRequest) GetCode

func (x *PhoneVerifyRequest) GetCode() string

func (*PhoneVerifyRequest) GetPhone

func (x *PhoneVerifyRequest) GetPhone() string

func (*PhoneVerifyRequest) ProtoMessage

func (*PhoneVerifyRequest) ProtoMessage()

func (*PhoneVerifyRequest) ProtoReflect

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

func (*PhoneVerifyRequest) Reset

func (x *PhoneVerifyRequest) Reset()

func (*PhoneVerifyRequest) String

func (x *PhoneVerifyRequest) String() string

func (*PhoneVerifyRequest) Validate

func (m *PhoneVerifyRequest) Validate() error

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

func (m *PhoneVerifyRequest) ValidateAll() error

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

type PhoneVerifyRequestMultiError

type PhoneVerifyRequestMultiError []error

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

func (PhoneVerifyRequestMultiError) AllErrors

func (m PhoneVerifyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PhoneVerifyRequestMultiError) Error

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

type PhoneVerifyRequestValidationError

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

PhoneVerifyRequestValidationError is the validation error returned by PhoneVerifyRequest.Validate if the designated constraints aren't met.

func (PhoneVerifyRequestValidationError) Cause

Cause function returns cause value.

func (PhoneVerifyRequestValidationError) Error

Error satisfies the builtin error interface

func (PhoneVerifyRequestValidationError) ErrorName

ErrorName returns error name.

func (PhoneVerifyRequestValidationError) Field

Field function returns field value.

func (PhoneVerifyRequestValidationError) Key

Key function returns key value.

func (PhoneVerifyRequestValidationError) Reason

Reason function returns reason value.

type ResetPasswordRequest

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

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetId

func (x *ResetPasswordRequest) GetId() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

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

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

func (*ResetPasswordRequest) Validate

func (m *ResetPasswordRequest) Validate() error

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

func (m *ResetPasswordRequest) ValidateAll() error

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

type ResetPasswordRequestMultiError

type ResetPasswordRequestMultiError []error

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

func (ResetPasswordRequestMultiError) AllErrors

func (m ResetPasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetPasswordRequestMultiError) Error

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

type ResetPasswordRequestValidationError

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

ResetPasswordRequestValidationError is the validation error returned by ResetPasswordRequest.Validate if the designated constraints aren't met.

func (ResetPasswordRequestValidationError) Cause

Cause function returns cause value.

func (ResetPasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetPasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetPasswordRequestValidationError) Field

Field function returns field value.

func (ResetPasswordRequestValidationError) Key

Key function returns key value.

func (ResetPasswordRequestValidationError) 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) CreateUserPhoneRegister

func (UnimplementedUserServer) CreateUserPhoneRegister(context.Context, *UserPhoneRegister) (*api.Success, error)

func (UnimplementedUserServer) CreateUserRoleBind

func (UnimplementedUserServer) CreateUserVerify

func (UnimplementedUserServer) DeleteUser

func (UnimplementedUserServer) DeleteUserRoleBind

func (UnimplementedUserServer) GetUser

func (UnimplementedUserServer) GetUserVerify

func (UnimplementedUserServer) ListUser

func (UnimplementedUserServer) ListUserNavigation

func (UnimplementedUserServer) ListUserRoleBind

func (UnimplementedUserServer) Login

func (UnimplementedUserServer) PostPhoneSmsVeryfy

func (UnimplementedUserServer) ResetPassword

func (UnimplementedUserServer) UpdateUser

func (UnimplementedUserServer) UpdateUserVerify

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 UpdatePasswordReply

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

func (*UpdatePasswordReply) Descriptor deprecated

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

Deprecated: Use UpdatePasswordReply.ProtoReflect.Descriptor instead.

func (*UpdatePasswordReply) ProtoMessage

func (*UpdatePasswordReply) ProtoMessage()

func (*UpdatePasswordReply) ProtoReflect

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

func (*UpdatePasswordReply) Reset

func (x *UpdatePasswordReply) Reset()

func (*UpdatePasswordReply) String

func (x *UpdatePasswordReply) String() string

func (*UpdatePasswordReply) Validate

func (m *UpdatePasswordReply) Validate() error

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

func (m *UpdatePasswordReply) ValidateAll() error

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

type UpdatePasswordReplyMultiError

type UpdatePasswordReplyMultiError []error

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

func (UpdatePasswordReplyMultiError) AllErrors

func (m UpdatePasswordReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordReplyMultiError) Error

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

type UpdatePasswordReplyValidationError

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

UpdatePasswordReplyValidationError is the validation error returned by UpdatePasswordReply.Validate if the designated constraints aren't met.

func (UpdatePasswordReplyValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordReplyValidationError) Field

Field function returns field value.

func (UpdatePasswordReplyValidationError) Key

Key function returns key value.

func (UpdatePasswordReplyValidationError) 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        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserName  string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"`
	Email     string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"`
	Comment   string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	UserID    string `protobuf:"bytes,8,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAvatarUrl

func (x *UpdateUserRequest) GetAvatarUrl() string

func (*UpdateUserRequest) GetComment

func (x *UpdateUserRequest) GetComment() string

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetId

func (x *UpdateUserRequest) GetId() string

func (*UpdateUserRequest) GetPhone

func (x *UpdateUserRequest) GetPhone() string

func (*UpdateUserRequest) GetUserID

func (x *UpdateUserRequest) GetUserID() string

func (*UpdateUserRequest) GetUserName

func (x *UpdateUserRequest) GetUserName() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate

func (m *UpdateUserRequest) Validate() error

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

func (*UpdateUserRequest) ValidateAll

func (m *UpdateUserRequest) ValidateAll() error

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

type UpdateUserRequestMultiError

type UpdateUserRequestMultiError []error

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

func (UpdateUserRequestMultiError) AllErrors

func (m UpdateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserRequestMultiError) Error

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 UpdateUserVerifyRequest

type UpdateUserVerifyRequest struct {
	UserID       string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	VerifyStatus bool   `protobuf:"varint,2,opt,name=verifyStatus,proto3" json:"verifyStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserVerifyRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserVerifyRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserVerifyRequest) GetUserID

func (x *UpdateUserVerifyRequest) GetUserID() string

func (*UpdateUserVerifyRequest) GetVerifyStatus

func (x *UpdateUserVerifyRequest) GetVerifyStatus() bool

func (*UpdateUserVerifyRequest) ProtoMessage

func (*UpdateUserVerifyRequest) ProtoMessage()

func (*UpdateUserVerifyRequest) ProtoReflect

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

func (*UpdateUserVerifyRequest) Reset

func (x *UpdateUserVerifyRequest) Reset()

func (*UpdateUserVerifyRequest) String

func (x *UpdateUserVerifyRequest) String() string

func (*UpdateUserVerifyRequest) Validate

func (m *UpdateUserVerifyRequest) Validate() error

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

func (m *UpdateUserVerifyRequest) ValidateAll() error

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

type UpdateUserVerifyRequestMultiError

type UpdateUserVerifyRequestMultiError []error

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

func (UpdateUserVerifyRequestMultiError) AllErrors

func (m UpdateUserVerifyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserVerifyRequestMultiError) Error

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

type UpdateUserVerifyRequestValidationError

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

UpdateUserVerifyRequestValidationError is the validation error returned by UpdateUserVerifyRequest.Validate if the designated constraints aren't met.

func (UpdateUserVerifyRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserVerifyRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserVerifyRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserVerifyRequestValidationError) Field

Field function returns field value.

func (UpdateUserVerifyRequestValidationError) Key

Key function returns key value.

func (UpdateUserVerifyRequestValidationError) Reason

Reason function returns reason value.

type UserClient

type UserClient interface {
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*api.Success, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*api.Success, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*api.Success, error)
	GetUser(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*GetUserReply, error)
	GetUserVerify(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*UserVerifyUrl, error)
	CreateUserVerify(ctx context.Context, in *CreatUserVerifyReqeust, opts ...grpc.CallOption) (*api.Success, error)
	UpdateUserVerify(ctx context.Context, in *UpdateUserVerifyRequest, opts ...grpc.CallOption) (*api.Success, error)
	ListUser(ctx context.Context, in *api.PageSearch, opts ...grpc.CallOption) (*ListUserReply, error)
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*api.Success, error)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error)
	CreateUserRoleBind(ctx context.Context, in *UserRoleBindRequest, opts ...grpc.CallOption) (*api.Success, error)
	DeleteUserRoleBind(ctx context.Context, in *DeleteUserRoleBindRequest, opts ...grpc.CallOption) (*api.Success, error)
	ListUserRoleBind(ctx context.Context, in *ListUserRoleBindRequest, opts ...grpc.CallOption) (*ListUserRoleBindReply, error)
	ListUserNavigation(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*UserNavigationReply, error)
	CreateUserPhoneRegister(ctx context.Context, in *UserPhoneRegister, opts ...grpc.CallOption) (*api.Success, error)
	// 描述该方法的功能
	PostPhoneSmsVeryfy(ctx context.Context, in *PhoneVerifyRequest, opts ...grpc.CallOption) (*PhoneVerifyReply, 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 *api.Success, err error)
	CreateUserPhoneRegister(ctx context.Context, req *UserPhoneRegister, opts ...http.CallOption) (rsp *api.Success, err error)
	CreateUserRoleBind(ctx context.Context, req *UserRoleBindRequest, opts ...http.CallOption) (rsp *api.Success, err error)
	CreateUserVerify(ctx context.Context, req *CreatUserVerifyReqeust, opts ...http.CallOption) (rsp *api.Success, err error)
	DeleteUser(ctx context.Context, req *DeleteUserRequest, opts ...http.CallOption) (rsp *api.Success, err error)
	DeleteUserRoleBind(ctx context.Context, req *DeleteUserRoleBindRequest, opts ...http.CallOption) (rsp *api.Success, err error)
	GetUser(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *GetUserReply, err error)
	GetUserVerify(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *UserVerifyUrl, err error)
	ListUser(ctx context.Context, req *api.PageSearch, opts ...http.CallOption) (rsp *ListUserReply, err error)
	ListUserNavigation(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *UserNavigationReply, err error)
	ListUserRoleBind(ctx context.Context, req *ListUserRoleBindRequest, opts ...http.CallOption) (rsp *ListUserRoleBindReply, err error)
	Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error)
	PostPhoneSmsVeryfy(ctx context.Context, req *PhoneVerifyRequest, opts ...http.CallOption) (rsp *PhoneVerifyReply, err error)
	ResetPassword(ctx context.Context, req *ResetPasswordRequest, opts ...http.CallOption) (rsp *api.Success, err error)
	UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *api.Success, err error)
	UpdateUserVerify(ctx context.Context, req *UpdateUserVerifyRequest, opts ...http.CallOption) (rsp *api.Success, err error)
}

func NewUserHTTPClient

func NewUserHTTPClient(client *http.Client) UserHTTPClient

type UserHTTPClientImpl

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

func (*UserHTTPClientImpl) CreateUser

func (c *UserHTTPClientImpl) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) CreateUserPhoneRegister

func (c *UserHTTPClientImpl) CreateUserPhoneRegister(ctx context.Context, in *UserPhoneRegister, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) CreateUserRoleBind

func (c *UserHTTPClientImpl) CreateUserRoleBind(ctx context.Context, in *UserRoleBindRequest, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) CreateUserVerify

func (c *UserHTTPClientImpl) CreateUserVerify(ctx context.Context, in *CreatUserVerifyReqeust, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) DeleteUser

func (c *UserHTTPClientImpl) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) DeleteUserRoleBind

func (c *UserHTTPClientImpl) DeleteUserRoleBind(ctx context.Context, in *DeleteUserRoleBindRequest, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) GetUser

func (c *UserHTTPClientImpl) GetUser(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetUserReply, error)

func (*UserHTTPClientImpl) GetUserVerify

func (c *UserHTTPClientImpl) GetUserVerify(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*UserVerifyUrl, error)

func (*UserHTTPClientImpl) ListUser

func (c *UserHTTPClientImpl) ListUser(ctx context.Context, in *api.PageSearch, opts ...http.CallOption) (*ListUserReply, error)

func (*UserHTTPClientImpl) ListUserNavigation

func (c *UserHTTPClientImpl) ListUserNavigation(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*UserNavigationReply, error)

func (*UserHTTPClientImpl) ListUserRoleBind

func (*UserHTTPClientImpl) Login

func (*UserHTTPClientImpl) PostPhoneSmsVeryfy

func (c *UserHTTPClientImpl) PostPhoneSmsVeryfy(ctx context.Context, in *PhoneVerifyRequest, opts ...http.CallOption) (*PhoneVerifyReply, error)

func (*UserHTTPClientImpl) ResetPassword

func (c *UserHTTPClientImpl) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) UpdateUser

func (c *UserHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*api.Success, error)

func (*UserHTTPClientImpl) UpdateUserVerify

func (c *UserHTTPClientImpl) UpdateUserVerify(ctx context.Context, in *UpdateUserVerifyRequest, opts ...http.CallOption) (*api.Success, error)

type UserNavigationReply

type UserNavigationReply struct {
	NavigationList []*UserNavigationReply_NavigationReply `protobuf:"bytes,1,rep,name=navigationList,proto3" json:"navigationList,omitempty"`
	// contains filtered or unexported fields
}

func (*UserNavigationReply) Descriptor deprecated

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

Deprecated: Use UserNavigationReply.ProtoReflect.Descriptor instead.

func (*UserNavigationReply) GetNavigationList

func (x *UserNavigationReply) GetNavigationList() []*UserNavigationReply_NavigationReply

func (*UserNavigationReply) ProtoMessage

func (*UserNavigationReply) ProtoMessage()

func (*UserNavigationReply) ProtoReflect

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

func (*UserNavigationReply) Reset

func (x *UserNavigationReply) Reset()

func (*UserNavigationReply) String

func (x *UserNavigationReply) String() string

func (*UserNavigationReply) Validate

func (m *UserNavigationReply) Validate() error

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

func (m *UserNavigationReply) ValidateAll() error

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

type UserNavigationReplyMultiError

type UserNavigationReplyMultiError []error

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

func (UserNavigationReplyMultiError) AllErrors

func (m UserNavigationReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserNavigationReplyMultiError) Error

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

type UserNavigationReplyValidationError

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

UserNavigationReplyValidationError is the validation error returned by UserNavigationReply.Validate if the designated constraints aren't met.

func (UserNavigationReplyValidationError) Cause

Cause function returns cause value.

func (UserNavigationReplyValidationError) Error

Error satisfies the builtin error interface

func (UserNavigationReplyValidationError) ErrorName

ErrorName returns error name.

func (UserNavigationReplyValidationError) Field

Field function returns field value.

func (UserNavigationReplyValidationError) Key

Key function returns key value.

func (UserNavigationReplyValidationError) Reason

Reason function returns reason value.

type UserNavigationReply_NavigationReply

type UserNavigationReply_NavigationReply struct {
	NavigationName string `protobuf:"bytes,1,opt,name=navigationName,proto3" json:"navigationName,omitempty"`
	NavigationID   string `protobuf:"bytes,2,opt,name=navigationID,proto3" json:"navigationID,omitempty"`
	Id             string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Status         bool   `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UserNavigationReply_NavigationReply) Descriptor deprecated

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

Deprecated: Use UserNavigationReply_NavigationReply.ProtoReflect.Descriptor instead.

func (*UserNavigationReply_NavigationReply) GetId

func (*UserNavigationReply_NavigationReply) GetNavigationID

func (x *UserNavigationReply_NavigationReply) GetNavigationID() string

func (*UserNavigationReply_NavigationReply) GetNavigationName

func (x *UserNavigationReply_NavigationReply) GetNavigationName() string

func (*UserNavigationReply_NavigationReply) GetStatus

func (*UserNavigationReply_NavigationReply) ProtoMessage

func (*UserNavigationReply_NavigationReply) ProtoMessage()

func (*UserNavigationReply_NavigationReply) ProtoReflect

func (*UserNavigationReply_NavigationReply) Reset

func (*UserNavigationReply_NavigationReply) String

func (*UserNavigationReply_NavigationReply) Validate

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

func (m *UserNavigationReply_NavigationReply) ValidateAll() error

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

type UserNavigationReply_NavigationReplyMultiError

type UserNavigationReply_NavigationReplyMultiError []error

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

func (UserNavigationReply_NavigationReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UserNavigationReply_NavigationReplyMultiError) Error

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

type UserNavigationReply_NavigationReplyValidationError

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

UserNavigationReply_NavigationReplyValidationError is the validation error returned by UserNavigationReply_NavigationReply.Validate if the designated constraints aren't met.

func (UserNavigationReply_NavigationReplyValidationError) Cause

Cause function returns cause value.

func (UserNavigationReply_NavigationReplyValidationError) Error

Error satisfies the builtin error interface

func (UserNavigationReply_NavigationReplyValidationError) ErrorName

ErrorName returns error name.

func (UserNavigationReply_NavigationReplyValidationError) Field

Field function returns field value.

func (UserNavigationReply_NavigationReplyValidationError) Key

Key function returns key value.

func (UserNavigationReply_NavigationReplyValidationError) Reason

Reason function returns reason value.

type UserPhoneRegister

type UserPhoneRegister struct {
	Phone          string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"`
	IdCard         string `protobuf:"bytes,2,opt,name=idCard,proto3" json:"idCard,omitempty"`
	Name           string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	CertificateURL string `protobuf:"bytes,4,opt,name=certificateURL,proto3" json:"certificateURL,omitempty"`
	RoleID         string `protobuf:"bytes,5,opt,name=roleID,proto3" json:"roleID,omitempty"`
	OrgID          string `protobuf:"bytes,6,opt,name=orgID,proto3" json:"orgID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPhoneRegister) Descriptor deprecated

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

Deprecated: Use UserPhoneRegister.ProtoReflect.Descriptor instead.

func (*UserPhoneRegister) GetCertificateURL

func (x *UserPhoneRegister) GetCertificateURL() string

func (*UserPhoneRegister) GetIdCard

func (x *UserPhoneRegister) GetIdCard() string

func (*UserPhoneRegister) GetName

func (x *UserPhoneRegister) GetName() string

func (*UserPhoneRegister) GetOrgID

func (x *UserPhoneRegister) GetOrgID() string

func (*UserPhoneRegister) GetPhone

func (x *UserPhoneRegister) GetPhone() string

func (*UserPhoneRegister) GetRoleID

func (x *UserPhoneRegister) GetRoleID() string

func (*UserPhoneRegister) ProtoMessage

func (*UserPhoneRegister) ProtoMessage()

func (*UserPhoneRegister) ProtoReflect

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

func (*UserPhoneRegister) Reset

func (x *UserPhoneRegister) Reset()

func (*UserPhoneRegister) String

func (x *UserPhoneRegister) String() string

func (*UserPhoneRegister) Validate

func (m *UserPhoneRegister) Validate() error

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

func (m *UserPhoneRegister) ValidateAll() error

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

type UserPhoneRegisterMultiError

type UserPhoneRegisterMultiError []error

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

func (UserPhoneRegisterMultiError) AllErrors

func (m UserPhoneRegisterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserPhoneRegisterMultiError) Error

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

type UserPhoneRegisterValidationError

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

UserPhoneRegisterValidationError is the validation error returned by UserPhoneRegister.Validate if the designated constraints aren't met.

func (UserPhoneRegisterValidationError) Cause

Cause function returns cause value.

func (UserPhoneRegisterValidationError) Error

Error satisfies the builtin error interface

func (UserPhoneRegisterValidationError) ErrorName

ErrorName returns error name.

func (UserPhoneRegisterValidationError) Field

Field function returns field value.

func (UserPhoneRegisterValidationError) Key

Key function returns key value.

func (UserPhoneRegisterValidationError) Reason

Reason function returns reason value.

type UserRoleBindRequest

type UserRoleBindRequest struct {
	UserID     string   `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	RoleIDList []string `protobuf:"bytes,2,rep,name=roleIDList,proto3" json:"roleIDList,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleBindRequest) Descriptor deprecated

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

Deprecated: Use UserRoleBindRequest.ProtoReflect.Descriptor instead.

func (*UserRoleBindRequest) GetRoleIDList

func (x *UserRoleBindRequest) GetRoleIDList() []string

func (*UserRoleBindRequest) GetUserID

func (x *UserRoleBindRequest) GetUserID() string

func (*UserRoleBindRequest) ProtoMessage

func (*UserRoleBindRequest) ProtoMessage()

func (*UserRoleBindRequest) ProtoReflect

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

func (*UserRoleBindRequest) Reset

func (x *UserRoleBindRequest) Reset()

func (*UserRoleBindRequest) String

func (x *UserRoleBindRequest) String() string

func (*UserRoleBindRequest) Validate

func (m *UserRoleBindRequest) Validate() error

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

func (m *UserRoleBindRequest) ValidateAll() error

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

type UserRoleBindRequestMultiError

type UserRoleBindRequestMultiError []error

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

func (UserRoleBindRequestMultiError) AllErrors

func (m UserRoleBindRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserRoleBindRequestMultiError) Error

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

type UserRoleBindRequestValidationError

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

UserRoleBindRequestValidationError is the validation error returned by UserRoleBindRequest.Validate if the designated constraints aren't met.

func (UserRoleBindRequestValidationError) Cause

Cause function returns cause value.

func (UserRoleBindRequestValidationError) Error

Error satisfies the builtin error interface

func (UserRoleBindRequestValidationError) ErrorName

ErrorName returns error name.

func (UserRoleBindRequestValidationError) Field

Field function returns field value.

func (UserRoleBindRequestValidationError) Key

Key function returns key value.

func (UserRoleBindRequestValidationError) Reason

Reason function returns reason value.

type UserServer

type UserServer interface {
	CreateUser(context.Context, *CreateUserRequest) (*api.Success, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*api.Success, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*api.Success, error)
	GetUser(context.Context, *api.IDRequest) (*GetUserReply, error)
	GetUserVerify(context.Context, *api.IDRequest) (*UserVerifyUrl, error)
	CreateUserVerify(context.Context, *CreatUserVerifyReqeust) (*api.Success, error)
	UpdateUserVerify(context.Context, *UpdateUserVerifyRequest) (*api.Success, error)
	ListUser(context.Context, *api.PageSearch) (*ListUserReply, error)
	ResetPassword(context.Context, *ResetPasswordRequest) (*api.Success, error)
	Login(context.Context, *LoginRequest) (*LoginReply, error)
	CreateUserRoleBind(context.Context, *UserRoleBindRequest) (*api.Success, error)
	DeleteUserRoleBind(context.Context, *DeleteUserRoleBindRequest) (*api.Success, error)
	ListUserRoleBind(context.Context, *ListUserRoleBindRequest) (*ListUserRoleBindReply, error)
	ListUserNavigation(context.Context, *api.IDRequest) (*UserNavigationReply, error)
	CreateUserPhoneRegister(context.Context, *UserPhoneRegister) (*api.Success, error)
	// 描述该方法的功能
	PostPhoneSmsVeryfy(context.Context, *PhoneVerifyRequest) (*PhoneVerifyReply, error)
	// contains filtered or unexported methods
}

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

type UserStatus

type UserStatus int32
const (
	// NotRegister 未注册
	UserStatus_NotRegister UserStatus = 0
	UserStatus_NotVerify   UserStatus = 1
	UserStatus_Valid       UserStatus = 2
)

func (UserStatus) Descriptor

func (UserStatus) Descriptor() protoreflect.EnumDescriptor

func (UserStatus) Enum

func (x UserStatus) Enum() *UserStatus

func (UserStatus) EnumDescriptor deprecated

func (UserStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserStatus.Descriptor instead.

func (UserStatus) Number

func (x UserStatus) Number() protoreflect.EnumNumber

func (UserStatus) String

func (x UserStatus) String() string

func (UserStatus) Type

type UserVerifyUrl

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

func (*UserVerifyUrl) Descriptor deprecated

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

Deprecated: Use UserVerifyUrl.ProtoReflect.Descriptor instead.

func (*UserVerifyUrl) GetURL

func (x *UserVerifyUrl) GetURL() string

func (*UserVerifyUrl) ProtoMessage

func (*UserVerifyUrl) ProtoMessage()

func (*UserVerifyUrl) ProtoReflect

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

func (*UserVerifyUrl) Reset

func (x *UserVerifyUrl) Reset()

func (*UserVerifyUrl) String

func (x *UserVerifyUrl) String() string

func (*UserVerifyUrl) Validate

func (m *UserVerifyUrl) Validate() error

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

func (m *UserVerifyUrl) ValidateAll() error

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

type UserVerifyUrlMultiError

type UserVerifyUrlMultiError []error

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

func (UserVerifyUrlMultiError) AllErrors

func (m UserVerifyUrlMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserVerifyUrlMultiError) Error

func (m UserVerifyUrlMultiError) Error() string

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

type UserVerifyUrlValidationError

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

UserVerifyUrlValidationError is the validation error returned by UserVerifyUrl.Validate if the designated constraints aren't met.

func (UserVerifyUrlValidationError) Cause

Cause function returns cause value.

func (UserVerifyUrlValidationError) Error

Error satisfies the builtin error interface

func (UserVerifyUrlValidationError) ErrorName

func (e UserVerifyUrlValidationError) ErrorName() string

ErrorName returns error name.

func (UserVerifyUrlValidationError) Field

Field function returns field value.

func (UserVerifyUrlValidationError) Key

Key function returns key value.

func (UserVerifyUrlValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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