v1

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Userinfo_ListUserinfo_FullMethodName   = "/application.api.application.userinfo.v1.Userinfo/ListUserinfo"
	Userinfo_CreateUserinfo_FullMethodName = "/application.api.application.userinfo.v1.Userinfo/CreateUserinfo"
	Userinfo_UpdateUserinfo_FullMethodName = "/application.api.application.userinfo.v1.Userinfo/UpdateUserinfo"
	Userinfo_DeleteUserinfo_FullMethodName = "/application.api.application.userinfo.v1.Userinfo/DeleteUserinfo"
)
View Source
const OperationUserinfoCreateUserinfo = "/application.api.application.userinfo.v1.Userinfo/CreateUserinfo"
View Source
const OperationUserinfoDeleteUserinfo = "/application.api.application.userinfo.v1.Userinfo/DeleteUserinfo"
View Source
const OperationUserinfoListUserinfo = "/application.api.application.userinfo.v1.Userinfo/ListUserinfo"
View Source
const OperationUserinfoUpdateUserinfo = "/application.api.application.userinfo.v1.Userinfo/UpdateUserinfo"

Variables

View Source
var File_api_application_userinfo_application_userinfo_proto protoreflect.FileDescriptor
View Source
var File_api_application_userinfo_application_userinfo_service_proto protoreflect.FileDescriptor
View Source
var Userinfo_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "application.api.application.userinfo.v1.Userinfo",
	HandlerType: (*UserinfoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListUserinfo",
			Handler:    _Userinfo_ListUserinfo_Handler,
		},
		{
			MethodName: "CreateUserinfo",
			Handler:    _Userinfo_CreateUserinfo_Handler,
		},
		{
			MethodName: "UpdateUserinfo",
			Handler:    _Userinfo_UpdateUserinfo_Handler,
		},
		{
			MethodName: "DeleteUserinfo",
			Handler:    _Userinfo_DeleteUserinfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/application/userinfo/application_userinfo_service.proto",
}

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

Functions

func RegisterUserinfoHTTPServer

func RegisterUserinfoHTTPServer(s *http.Server, srv UserinfoHTTPServer)

func RegisterUserinfoServer

func RegisterUserinfoServer(s grpc.ServiceRegistrar, srv UserinfoServer)

Types

type CreateUserinfoReply

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

func (*CreateUserinfoReply) Descriptor deprecated

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

Deprecated: Use CreateUserinfoReply.ProtoReflect.Descriptor instead.

func (*CreateUserinfoReply) GetId

func (x *CreateUserinfoReply) GetId() uint32

func (*CreateUserinfoReply) ProtoMessage

func (*CreateUserinfoReply) ProtoMessage()

func (*CreateUserinfoReply) ProtoReflect

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

func (*CreateUserinfoReply) Reset

func (x *CreateUserinfoReply) Reset()

func (*CreateUserinfoReply) String

func (x *CreateUserinfoReply) String() string

func (*CreateUserinfoReply) Validate

func (m *CreateUserinfoReply) Validate() error

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

func (m *CreateUserinfoReply) ValidateAll() error

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

type CreateUserinfoReplyMultiError

type CreateUserinfoReplyMultiError []error

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

func (CreateUserinfoReplyMultiError) AllErrors

func (m CreateUserinfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserinfoReplyMultiError) Error

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

type CreateUserinfoReplyValidationError

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

CreateUserinfoReplyValidationError is the validation error returned by CreateUserinfoReply.Validate if the designated constraints aren't met.

func (CreateUserinfoReplyValidationError) Cause

Cause function returns cause value.

func (CreateUserinfoReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateUserinfoReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateUserinfoReplyValidationError) Field

Field function returns field value.

func (CreateUserinfoReplyValidationError) Key

Key function returns key value.

func (CreateUserinfoReplyValidationError) Reason

Reason function returns reason value.

type CreateUserinfoRequest

type CreateUserinfoRequest struct {
	UserId  uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserinfoRequest) Descriptor deprecated

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

Deprecated: Use CreateUserinfoRequest.ProtoReflect.Descriptor instead.

func (*CreateUserinfoRequest) GetKeyword

func (x *CreateUserinfoRequest) GetKeyword() string

func (*CreateUserinfoRequest) GetUserId

func (x *CreateUserinfoRequest) GetUserId() uint32

func (*CreateUserinfoRequest) GetValue

func (x *CreateUserinfoRequest) GetValue() string

func (*CreateUserinfoRequest) ProtoMessage

func (*CreateUserinfoRequest) ProtoMessage()

func (*CreateUserinfoRequest) ProtoReflect

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

func (*CreateUserinfoRequest) Reset

func (x *CreateUserinfoRequest) Reset()

func (*CreateUserinfoRequest) String

func (x *CreateUserinfoRequest) String() string

func (*CreateUserinfoRequest) Validate

func (m *CreateUserinfoRequest) Validate() error

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

func (m *CreateUserinfoRequest) ValidateAll() error

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

type CreateUserinfoRequestMultiError

type CreateUserinfoRequestMultiError []error

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

func (CreateUserinfoRequestMultiError) AllErrors

func (m CreateUserinfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserinfoRequestMultiError) Error

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

type CreateUserinfoRequestValidationError

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

CreateUserinfoRequestValidationError is the validation error returned by CreateUserinfoRequest.Validate if the designated constraints aren't met.

func (CreateUserinfoRequestValidationError) Cause

Cause function returns cause value.

func (CreateUserinfoRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserinfoRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserinfoRequestValidationError) Field

Field function returns field value.

func (CreateUserinfoRequestValidationError) Key

Key function returns key value.

func (CreateUserinfoRequestValidationError) Reason

Reason function returns reason value.

type DeleteUserinfoReply

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

func (*DeleteUserinfoReply) Descriptor deprecated

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

Deprecated: Use DeleteUserinfoReply.ProtoReflect.Descriptor instead.

func (*DeleteUserinfoReply) ProtoMessage

func (*DeleteUserinfoReply) ProtoMessage()

func (*DeleteUserinfoReply) ProtoReflect

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

func (*DeleteUserinfoReply) Reset

func (x *DeleteUserinfoReply) Reset()

func (*DeleteUserinfoReply) String

func (x *DeleteUserinfoReply) String() string

func (*DeleteUserinfoReply) Validate

func (m *DeleteUserinfoReply) Validate() error

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

func (m *DeleteUserinfoReply) ValidateAll() error

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

type DeleteUserinfoReplyMultiError

type DeleteUserinfoReplyMultiError []error

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

func (DeleteUserinfoReplyMultiError) AllErrors

func (m DeleteUserinfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserinfoReplyMultiError) Error

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

type DeleteUserinfoReplyValidationError

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

DeleteUserinfoReplyValidationError is the validation error returned by DeleteUserinfoReply.Validate if the designated constraints aren't met.

func (DeleteUserinfoReplyValidationError) Cause

Cause function returns cause value.

func (DeleteUserinfoReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserinfoReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserinfoReplyValidationError) Field

Field function returns field value.

func (DeleteUserinfoReplyValidationError) Key

Key function returns key value.

func (DeleteUserinfoReplyValidationError) Reason

Reason function returns reason value.

type DeleteUserinfoRequest

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

func (*DeleteUserinfoRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserinfoRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserinfoRequest) GetId

func (x *DeleteUserinfoRequest) GetId() uint32

func (*DeleteUserinfoRequest) ProtoMessage

func (*DeleteUserinfoRequest) ProtoMessage()

func (*DeleteUserinfoRequest) ProtoReflect

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

func (*DeleteUserinfoRequest) Reset

func (x *DeleteUserinfoRequest) Reset()

func (*DeleteUserinfoRequest) String

func (x *DeleteUserinfoRequest) String() string

func (*DeleteUserinfoRequest) Validate

func (m *DeleteUserinfoRequest) Validate() error

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

func (m *DeleteUserinfoRequest) ValidateAll() error

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

type DeleteUserinfoRequestMultiError

type DeleteUserinfoRequestMultiError []error

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

func (DeleteUserinfoRequestMultiError) AllErrors

func (m DeleteUserinfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserinfoRequestMultiError) Error

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

type DeleteUserinfoRequestValidationError

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

DeleteUserinfoRequestValidationError is the validation error returned by DeleteUserinfoRequest.Validate if the designated constraints aren't met.

func (DeleteUserinfoRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserinfoRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserinfoRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserinfoRequestValidationError) Field

Field function returns field value.

func (DeleteUserinfoRequestValidationError) Key

Key function returns key value.

func (DeleteUserinfoRequestValidationError) Reason

Reason function returns reason value.

type ListUserinfoReply

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

func (*ListUserinfoReply) Descriptor deprecated

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

Deprecated: Use ListUserinfoReply.ProtoReflect.Descriptor instead.

func (*ListUserinfoReply) GetList

func (*ListUserinfoReply) GetTotal

func (x *ListUserinfoReply) GetTotal() uint32

func (*ListUserinfoReply) ProtoMessage

func (*ListUserinfoReply) ProtoMessage()

func (*ListUserinfoReply) ProtoReflect

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

func (*ListUserinfoReply) Reset

func (x *ListUserinfoReply) Reset()

func (*ListUserinfoReply) String

func (x *ListUserinfoReply) String() string

func (*ListUserinfoReply) Validate

func (m *ListUserinfoReply) Validate() error

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

func (m *ListUserinfoReply) ValidateAll() error

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

type ListUserinfoReplyMultiError

type ListUserinfoReplyMultiError []error

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

func (ListUserinfoReplyMultiError) AllErrors

func (m ListUserinfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserinfoReplyMultiError) Error

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

type ListUserinfoReplyValidationError

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

ListUserinfoReplyValidationError is the validation error returned by ListUserinfoReply.Validate if the designated constraints aren't met.

func (ListUserinfoReplyValidationError) Cause

Cause function returns cause value.

func (ListUserinfoReplyValidationError) Error

Error satisfies the builtin error interface

func (ListUserinfoReplyValidationError) ErrorName

ErrorName returns error name.

func (ListUserinfoReplyValidationError) Field

Field function returns field value.

func (ListUserinfoReplyValidationError) Key

Key function returns key value.

func (ListUserinfoReplyValidationError) Reason

Reason function returns reason value.

type ListUserinfoReply_Userinfo

type ListUserinfoReply_Userinfo struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId    uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Keyword   string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Value     string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Name      string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt uint32 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt uint32 `protobuf:"varint,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserinfoReply_Userinfo) Descriptor deprecated

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

Deprecated: Use ListUserinfoReply_Userinfo.ProtoReflect.Descriptor instead.

func (*ListUserinfoReply_Userinfo) GetCreatedAt

func (x *ListUserinfoReply_Userinfo) GetCreatedAt() uint32

func (*ListUserinfoReply_Userinfo) GetId

func (*ListUserinfoReply_Userinfo) GetKeyword

func (x *ListUserinfoReply_Userinfo) GetKeyword() string

func (*ListUserinfoReply_Userinfo) GetName

func (x *ListUserinfoReply_Userinfo) GetName() string

func (*ListUserinfoReply_Userinfo) GetUpdatedAt

func (x *ListUserinfoReply_Userinfo) GetUpdatedAt() uint32

func (*ListUserinfoReply_Userinfo) GetUserId

func (x *ListUserinfoReply_Userinfo) GetUserId() uint32

func (*ListUserinfoReply_Userinfo) GetValue

func (x *ListUserinfoReply_Userinfo) GetValue() string

func (*ListUserinfoReply_Userinfo) ProtoMessage

func (*ListUserinfoReply_Userinfo) ProtoMessage()

func (*ListUserinfoReply_Userinfo) ProtoReflect

func (*ListUserinfoReply_Userinfo) Reset

func (x *ListUserinfoReply_Userinfo) Reset()

func (*ListUserinfoReply_Userinfo) String

func (x *ListUserinfoReply_Userinfo) String() string

func (*ListUserinfoReply_Userinfo) Validate

func (m *ListUserinfoReply_Userinfo) Validate() error

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

func (m *ListUserinfoReply_Userinfo) ValidateAll() error

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

type ListUserinfoReply_UserinfoMultiError

type ListUserinfoReply_UserinfoMultiError []error

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

func (ListUserinfoReply_UserinfoMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListUserinfoReply_UserinfoMultiError) Error

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

type ListUserinfoReply_UserinfoValidationError

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

ListUserinfoReply_UserinfoValidationError is the validation error returned by ListUserinfoReply_Userinfo.Validate if the designated constraints aren't met.

func (ListUserinfoReply_UserinfoValidationError) Cause

Cause function returns cause value.

func (ListUserinfoReply_UserinfoValidationError) Error

Error satisfies the builtin error interface

func (ListUserinfoReply_UserinfoValidationError) ErrorName

ErrorName returns error name.

func (ListUserinfoReply_UserinfoValidationError) Field

Field function returns field value.

func (ListUserinfoReply_UserinfoValidationError) Key

Key function returns key value.

func (ListUserinfoReply_UserinfoValidationError) Reason

Reason function returns reason value.

type ListUserinfoRequest

type ListUserinfoRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Order    *string `protobuf:"bytes,3,opt,name=order,proto3,oneof" json:"order,omitempty"`
	OrderBy  *string `protobuf:"bytes,4,opt,name=orderBy,proto3,oneof" json:"orderBy,omitempty"`
	UserId   uint32  `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserinfoRequest) Descriptor deprecated

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

Deprecated: Use ListUserinfoRequest.ProtoReflect.Descriptor instead.

func (*ListUserinfoRequest) GetOrder

func (x *ListUserinfoRequest) GetOrder() string

func (*ListUserinfoRequest) GetOrderBy

func (x *ListUserinfoRequest) GetOrderBy() string

func (*ListUserinfoRequest) GetPage

func (x *ListUserinfoRequest) GetPage() uint32

func (*ListUserinfoRequest) GetPageSize

func (x *ListUserinfoRequest) GetPageSize() uint32

func (*ListUserinfoRequest) GetUserId

func (x *ListUserinfoRequest) GetUserId() uint32

func (*ListUserinfoRequest) ProtoMessage

func (*ListUserinfoRequest) ProtoMessage()

func (*ListUserinfoRequest) ProtoReflect

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

func (*ListUserinfoRequest) Reset

func (x *ListUserinfoRequest) Reset()

func (*ListUserinfoRequest) String

func (x *ListUserinfoRequest) String() string

func (*ListUserinfoRequest) Validate

func (m *ListUserinfoRequest) Validate() error

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

func (m *ListUserinfoRequest) ValidateAll() error

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

type ListUserinfoRequestMultiError

type ListUserinfoRequestMultiError []error

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

func (ListUserinfoRequestMultiError) AllErrors

func (m ListUserinfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUserinfoRequestMultiError) Error

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

type ListUserinfoRequestValidationError

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

ListUserinfoRequestValidationError is the validation error returned by ListUserinfoRequest.Validate if the designated constraints aren't met.

func (ListUserinfoRequestValidationError) Cause

Cause function returns cause value.

func (ListUserinfoRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUserinfoRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUserinfoRequestValidationError) Field

Field function returns field value.

func (ListUserinfoRequestValidationError) Key

Key function returns key value.

func (ListUserinfoRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedUserinfoServer

type UnimplementedUserinfoServer struct {
}

UnimplementedUserinfoServer must be embedded to have forward compatible implementations.

func (UnimplementedUserinfoServer) CreateUserinfo

func (UnimplementedUserinfoServer) DeleteUserinfo

func (UnimplementedUserinfoServer) ListUserinfo

func (UnimplementedUserinfoServer) UpdateUserinfo

type UnsafeUserinfoServer

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

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

type UpdateCurrentUserinfoReply

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

func (*UpdateCurrentUserinfoReply) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserinfoReply.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserinfoReply) ProtoMessage

func (*UpdateCurrentUserinfoReply) ProtoMessage()

func (*UpdateCurrentUserinfoReply) ProtoReflect

func (*UpdateCurrentUserinfoReply) Reset

func (x *UpdateCurrentUserinfoReply) Reset()

func (*UpdateCurrentUserinfoReply) String

func (x *UpdateCurrentUserinfoReply) String() string

func (*UpdateCurrentUserinfoReply) Validate

func (m *UpdateCurrentUserinfoReply) Validate() error

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

func (m *UpdateCurrentUserinfoReply) ValidateAll() error

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

type UpdateCurrentUserinfoReplyMultiError

type UpdateCurrentUserinfoReplyMultiError []error

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

func (UpdateCurrentUserinfoReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserinfoReplyMultiError) Error

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

type UpdateCurrentUserinfoReplyValidationError

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

UpdateCurrentUserinfoReplyValidationError is the validation error returned by UpdateCurrentUserinfoReply.Validate if the designated constraints aren't met.

func (UpdateCurrentUserinfoReplyValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserinfoReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserinfoReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserinfoReplyValidationError) Field

Field function returns field value.

func (UpdateCurrentUserinfoReplyValidationError) Key

Key function returns key value.

func (UpdateCurrentUserinfoReplyValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserinfoRequest

type UpdateCurrentUserinfoRequest struct {
	List []*UpdateCurrentUserinfoRequest_Data `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCurrentUserinfoRequest) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserinfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserinfoRequest) GetList

func (*UpdateCurrentUserinfoRequest) ProtoMessage

func (*UpdateCurrentUserinfoRequest) ProtoMessage()

func (*UpdateCurrentUserinfoRequest) ProtoReflect

func (*UpdateCurrentUserinfoRequest) Reset

func (x *UpdateCurrentUserinfoRequest) Reset()

func (*UpdateCurrentUserinfoRequest) String

func (*UpdateCurrentUserinfoRequest) Validate

func (m *UpdateCurrentUserinfoRequest) Validate() error

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

func (m *UpdateCurrentUserinfoRequest) ValidateAll() error

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

type UpdateCurrentUserinfoRequestMultiError

type UpdateCurrentUserinfoRequestMultiError []error

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

func (UpdateCurrentUserinfoRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserinfoRequestMultiError) Error

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

type UpdateCurrentUserinfoRequestValidationError

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

UpdateCurrentUserinfoRequestValidationError is the validation error returned by UpdateCurrentUserinfoRequest.Validate if the designated constraints aren't met.

func (UpdateCurrentUserinfoRequestValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserinfoRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserinfoRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserinfoRequestValidationError) Field

Field function returns field value.

func (UpdateCurrentUserinfoRequestValidationError) Key

Key function returns key value.

func (UpdateCurrentUserinfoRequestValidationError) Reason

Reason function returns reason value.

type UpdateCurrentUserinfoRequest_Data

type UpdateCurrentUserinfoRequest_Data struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCurrentUserinfoRequest_Data) Descriptor deprecated

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

Deprecated: Use UpdateCurrentUserinfoRequest_Data.ProtoReflect.Descriptor instead.

func (*UpdateCurrentUserinfoRequest_Data) GetKeyword

func (x *UpdateCurrentUserinfoRequest_Data) GetKeyword() string

func (*UpdateCurrentUserinfoRequest_Data) GetValue

func (*UpdateCurrentUserinfoRequest_Data) ProtoMessage

func (*UpdateCurrentUserinfoRequest_Data) ProtoMessage()

func (*UpdateCurrentUserinfoRequest_Data) ProtoReflect

func (*UpdateCurrentUserinfoRequest_Data) Reset

func (*UpdateCurrentUserinfoRequest_Data) String

func (*UpdateCurrentUserinfoRequest_Data) Validate

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

func (m *UpdateCurrentUserinfoRequest_Data) ValidateAll() error

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

type UpdateCurrentUserinfoRequest_DataMultiError

type UpdateCurrentUserinfoRequest_DataMultiError []error

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

func (UpdateCurrentUserinfoRequest_DataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateCurrentUserinfoRequest_DataMultiError) Error

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

type UpdateCurrentUserinfoRequest_DataValidationError

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

UpdateCurrentUserinfoRequest_DataValidationError is the validation error returned by UpdateCurrentUserinfoRequest_Data.Validate if the designated constraints aren't met.

func (UpdateCurrentUserinfoRequest_DataValidationError) Cause

Cause function returns cause value.

func (UpdateCurrentUserinfoRequest_DataValidationError) Error

Error satisfies the builtin error interface

func (UpdateCurrentUserinfoRequest_DataValidationError) ErrorName

ErrorName returns error name.

func (UpdateCurrentUserinfoRequest_DataValidationError) Field

Field function returns field value.

func (UpdateCurrentUserinfoRequest_DataValidationError) Key

Key function returns key value.

func (UpdateCurrentUserinfoRequest_DataValidationError) Reason

Reason function returns reason value.

type UpdateUserinfoReply

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

func (*UpdateUserinfoReply) Descriptor deprecated

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

Deprecated: Use UpdateUserinfoReply.ProtoReflect.Descriptor instead.

func (*UpdateUserinfoReply) ProtoMessage

func (*UpdateUserinfoReply) ProtoMessage()

func (*UpdateUserinfoReply) ProtoReflect

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

func (*UpdateUserinfoReply) Reset

func (x *UpdateUserinfoReply) Reset()

func (*UpdateUserinfoReply) String

func (x *UpdateUserinfoReply) String() string

func (*UpdateUserinfoReply) Validate

func (m *UpdateUserinfoReply) Validate() error

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

func (m *UpdateUserinfoReply) ValidateAll() error

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

type UpdateUserinfoReplyMultiError

type UpdateUserinfoReplyMultiError []error

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

func (UpdateUserinfoReplyMultiError) AllErrors

func (m UpdateUserinfoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserinfoReplyMultiError) Error

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

type UpdateUserinfoReplyValidationError

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

UpdateUserinfoReplyValidationError is the validation error returned by UpdateUserinfoReply.Validate if the designated constraints aren't met.

func (UpdateUserinfoReplyValidationError) Cause

Cause function returns cause value.

func (UpdateUserinfoReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserinfoReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserinfoReplyValidationError) Field

Field function returns field value.

func (UpdateUserinfoReplyValidationError) Key

Key function returns key value.

func (UpdateUserinfoReplyValidationError) Reason

Reason function returns reason value.

type UpdateUserinfoRequest

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

func (*UpdateUserinfoRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserinfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserinfoRequest) GetId

func (x *UpdateUserinfoRequest) GetId() uint32

func (*UpdateUserinfoRequest) GetKeyword

func (x *UpdateUserinfoRequest) GetKeyword() string

func (*UpdateUserinfoRequest) GetValue

func (x *UpdateUserinfoRequest) GetValue() string

func (*UpdateUserinfoRequest) ProtoMessage

func (*UpdateUserinfoRequest) ProtoMessage()

func (*UpdateUserinfoRequest) ProtoReflect

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

func (*UpdateUserinfoRequest) Reset

func (x *UpdateUserinfoRequest) Reset()

func (*UpdateUserinfoRequest) String

func (x *UpdateUserinfoRequest) String() string

func (*UpdateUserinfoRequest) Validate

func (m *UpdateUserinfoRequest) Validate() error

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

func (m *UpdateUserinfoRequest) ValidateAll() error

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

type UpdateUserinfoRequestMultiError

type UpdateUserinfoRequestMultiError []error

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

func (UpdateUserinfoRequestMultiError) AllErrors

func (m UpdateUserinfoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserinfoRequestMultiError) Error

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

type UpdateUserinfoRequestValidationError

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

UpdateUserinfoRequestValidationError is the validation error returned by UpdateUserinfoRequest.Validate if the designated constraints aren't met.

func (UpdateUserinfoRequestValidationError) Cause

Cause function returns cause value.

func (UpdateUserinfoRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserinfoRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserinfoRequestValidationError) Field

Field function returns field value.

func (UpdateUserinfoRequestValidationError) Key

Key function returns key value.

func (UpdateUserinfoRequestValidationError) Reason

Reason function returns reason value.

type UserinfoClient

type UserinfoClient interface {
	// ListUserinfo 获取用户扩展信息列表
	ListUserinfo(ctx context.Context, in *ListUserinfoRequest, opts ...grpc.CallOption) (*ListUserinfoReply, error)
	// CreateUserinfo 创建用户扩展信息
	CreateUserinfo(ctx context.Context, in *CreateUserinfoRequest, opts ...grpc.CallOption) (*CreateUserinfoReply, error)
	// UpdateUserinfo 更新用户扩展信息
	UpdateUserinfo(ctx context.Context, in *UpdateUserinfoRequest, opts ...grpc.CallOption) (*UpdateUserinfoReply, error)
	// DeleteUserinfo 删除用户扩展信息
	DeleteUserinfo(ctx context.Context, in *DeleteUserinfoRequest, opts ...grpc.CallOption) (*DeleteUserinfoReply, error)
}

UserinfoClient is the client API for Userinfo 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 NewUserinfoClient

func NewUserinfoClient(cc grpc.ClientConnInterface) UserinfoClient

type UserinfoHTTPClient

type UserinfoHTTPClient interface {
	CreateUserinfo(ctx context.Context, req *CreateUserinfoRequest, opts ...http.CallOption) (rsp *CreateUserinfoReply, err error)
	DeleteUserinfo(ctx context.Context, req *DeleteUserinfoRequest, opts ...http.CallOption) (rsp *DeleteUserinfoReply, err error)
	ListUserinfo(ctx context.Context, req *ListUserinfoRequest, opts ...http.CallOption) (rsp *ListUserinfoReply, err error)
	UpdateUserinfo(ctx context.Context, req *UpdateUserinfoRequest, opts ...http.CallOption) (rsp *UpdateUserinfoReply, err error)
}

func NewUserinfoHTTPClient

func NewUserinfoHTTPClient(client *http.Client) UserinfoHTTPClient

type UserinfoHTTPClientImpl

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

func (*UserinfoHTTPClientImpl) CreateUserinfo

func (*UserinfoHTTPClientImpl) DeleteUserinfo

func (*UserinfoHTTPClientImpl) ListUserinfo

func (*UserinfoHTTPClientImpl) UpdateUserinfo

type UserinfoHTTPServer

type UserinfoHTTPServer interface {
	// CreateUserinfo CreateUserinfo 创建用户扩展信息
	CreateUserinfo(context.Context, *CreateUserinfoRequest) (*CreateUserinfoReply, error)
	// DeleteUserinfo DeleteUserinfo 删除用户扩展信息
	DeleteUserinfo(context.Context, *DeleteUserinfoRequest) (*DeleteUserinfoReply, error)
	// ListUserinfo ListUserinfo 获取用户扩展信息列表
	ListUserinfo(context.Context, *ListUserinfoRequest) (*ListUserinfoReply, error)
	// UpdateUserinfo UpdateUserinfo 更新用户扩展信息
	UpdateUserinfo(context.Context, *UpdateUserinfoRequest) (*UpdateUserinfoReply, error)
}

type UserinfoServer

type UserinfoServer interface {
	// ListUserinfo 获取用户扩展信息列表
	ListUserinfo(context.Context, *ListUserinfoRequest) (*ListUserinfoReply, error)
	// CreateUserinfo 创建用户扩展信息
	CreateUserinfo(context.Context, *CreateUserinfoRequest) (*CreateUserinfoReply, error)
	// UpdateUserinfo 更新用户扩展信息
	UpdateUserinfo(context.Context, *UpdateUserinfoRequest) (*UpdateUserinfoReply, error)
	// DeleteUserinfo 删除用户扩展信息
	DeleteUserinfo(context.Context, *DeleteUserinfoRequest) (*DeleteUserinfoReply, error)
	// contains filtered or unexported methods
}

UserinfoServer is the server API for Userinfo service. All implementations must embed UnimplementedUserinfoServer for forward compatibility

Jump to

Keyboard shortcuts

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