Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterUserinfoHTTPServer(s *http.Server, srv UserinfoHTTPServer)
- func RegisterUserinfoServer(s grpc.ServiceRegistrar, srv UserinfoServer)
- type CreateUserinfoReply
- func (*CreateUserinfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserinfoReply) GetId() uint32
- func (*CreateUserinfoReply) ProtoMessage()
- func (x *CreateUserinfoReply) ProtoReflect() protoreflect.Message
- func (x *CreateUserinfoReply) Reset()
- func (x *CreateUserinfoReply) String() string
- func (m *CreateUserinfoReply) Validate() error
- func (m *CreateUserinfoReply) ValidateAll() error
- type CreateUserinfoReplyMultiError
- type CreateUserinfoReplyValidationError
- func (e CreateUserinfoReplyValidationError) Cause() error
- func (e CreateUserinfoReplyValidationError) Error() string
- func (e CreateUserinfoReplyValidationError) ErrorName() string
- func (e CreateUserinfoReplyValidationError) Field() string
- func (e CreateUserinfoReplyValidationError) Key() bool
- func (e CreateUserinfoReplyValidationError) Reason() string
- type CreateUserinfoRequest
- func (*CreateUserinfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserinfoRequest) GetKeyword() string
- func (x *CreateUserinfoRequest) GetUserId() uint32
- func (x *CreateUserinfoRequest) GetValue() string
- func (*CreateUserinfoRequest) ProtoMessage()
- func (x *CreateUserinfoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserinfoRequest) Reset()
- func (x *CreateUserinfoRequest) String() string
- func (m *CreateUserinfoRequest) Validate() error
- func (m *CreateUserinfoRequest) ValidateAll() error
- type CreateUserinfoRequestMultiError
- type CreateUserinfoRequestValidationError
- func (e CreateUserinfoRequestValidationError) Cause() error
- func (e CreateUserinfoRequestValidationError) Error() string
- func (e CreateUserinfoRequestValidationError) ErrorName() string
- func (e CreateUserinfoRequestValidationError) Field() string
- func (e CreateUserinfoRequestValidationError) Key() bool
- func (e CreateUserinfoRequestValidationError) Reason() string
- type DeleteUserinfoReply
- func (*DeleteUserinfoReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserinfoReply) ProtoMessage()
- func (x *DeleteUserinfoReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserinfoReply) Reset()
- func (x *DeleteUserinfoReply) String() string
- func (m *DeleteUserinfoReply) Validate() error
- func (m *DeleteUserinfoReply) ValidateAll() error
- type DeleteUserinfoReplyMultiError
- type DeleteUserinfoReplyValidationError
- func (e DeleteUserinfoReplyValidationError) Cause() error
- func (e DeleteUserinfoReplyValidationError) Error() string
- func (e DeleteUserinfoReplyValidationError) ErrorName() string
- func (e DeleteUserinfoReplyValidationError) Field() string
- func (e DeleteUserinfoReplyValidationError) Key() bool
- func (e DeleteUserinfoReplyValidationError) Reason() string
- type DeleteUserinfoRequest
- func (*DeleteUserinfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserinfoRequest) GetId() uint32
- func (*DeleteUserinfoRequest) ProtoMessage()
- func (x *DeleteUserinfoRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserinfoRequest) Reset()
- func (x *DeleteUserinfoRequest) String() string
- func (m *DeleteUserinfoRequest) Validate() error
- func (m *DeleteUserinfoRequest) ValidateAll() error
- type DeleteUserinfoRequestMultiError
- type DeleteUserinfoRequestValidationError
- func (e DeleteUserinfoRequestValidationError) Cause() error
- func (e DeleteUserinfoRequestValidationError) Error() string
- func (e DeleteUserinfoRequestValidationError) ErrorName() string
- func (e DeleteUserinfoRequestValidationError) Field() string
- func (e DeleteUserinfoRequestValidationError) Key() bool
- func (e DeleteUserinfoRequestValidationError) Reason() string
- type ListUserinfoReply
- func (*ListUserinfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserinfoReply) GetList() []*ListUserinfoReply_Userinfo
- func (x *ListUserinfoReply) GetTotal() uint32
- func (*ListUserinfoReply) ProtoMessage()
- func (x *ListUserinfoReply) ProtoReflect() protoreflect.Message
- func (x *ListUserinfoReply) Reset()
- func (x *ListUserinfoReply) String() string
- func (m *ListUserinfoReply) Validate() error
- func (m *ListUserinfoReply) ValidateAll() error
- type ListUserinfoReplyMultiError
- type ListUserinfoReplyValidationError
- func (e ListUserinfoReplyValidationError) Cause() error
- func (e ListUserinfoReplyValidationError) Error() string
- func (e ListUserinfoReplyValidationError) ErrorName() string
- func (e ListUserinfoReplyValidationError) Field() string
- func (e ListUserinfoReplyValidationError) Key() bool
- func (e ListUserinfoReplyValidationError) Reason() string
- type ListUserinfoReply_Userinfo
- func (*ListUserinfoReply_Userinfo) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserinfoReply_Userinfo) GetCreatedAt() uint32
- func (x *ListUserinfoReply_Userinfo) GetId() uint32
- func (x *ListUserinfoReply_Userinfo) GetKeyword() string
- func (x *ListUserinfoReply_Userinfo) GetName() string
- func (x *ListUserinfoReply_Userinfo) GetUpdatedAt() uint32
- func (x *ListUserinfoReply_Userinfo) GetUserId() uint32
- func (x *ListUserinfoReply_Userinfo) GetValue() string
- func (*ListUserinfoReply_Userinfo) ProtoMessage()
- func (x *ListUserinfoReply_Userinfo) ProtoReflect() protoreflect.Message
- func (x *ListUserinfoReply_Userinfo) Reset()
- func (x *ListUserinfoReply_Userinfo) String() string
- func (m *ListUserinfoReply_Userinfo) Validate() error
- func (m *ListUserinfoReply_Userinfo) ValidateAll() error
- type ListUserinfoReply_UserinfoMultiError
- type ListUserinfoReply_UserinfoValidationError
- func (e ListUserinfoReply_UserinfoValidationError) Cause() error
- func (e ListUserinfoReply_UserinfoValidationError) Error() string
- func (e ListUserinfoReply_UserinfoValidationError) ErrorName() string
- func (e ListUserinfoReply_UserinfoValidationError) Field() string
- func (e ListUserinfoReply_UserinfoValidationError) Key() bool
- func (e ListUserinfoReply_UserinfoValidationError) Reason() string
- type ListUserinfoRequest
- func (*ListUserinfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserinfoRequest) GetOrder() string
- func (x *ListUserinfoRequest) GetOrderBy() string
- func (x *ListUserinfoRequest) GetPage() uint32
- func (x *ListUserinfoRequest) GetPageSize() uint32
- func (x *ListUserinfoRequest) GetUserId() uint32
- func (*ListUserinfoRequest) ProtoMessage()
- func (x *ListUserinfoRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserinfoRequest) Reset()
- func (x *ListUserinfoRequest) String() string
- func (m *ListUserinfoRequest) Validate() error
- func (m *ListUserinfoRequest) ValidateAll() error
- type ListUserinfoRequestMultiError
- type ListUserinfoRequestValidationError
- func (e ListUserinfoRequestValidationError) Cause() error
- func (e ListUserinfoRequestValidationError) Error() string
- func (e ListUserinfoRequestValidationError) ErrorName() string
- func (e ListUserinfoRequestValidationError) Field() string
- func (e ListUserinfoRequestValidationError) Key() bool
- func (e ListUserinfoRequestValidationError) Reason() string
- type UnimplementedUserinfoServer
- func (UnimplementedUserinfoServer) CreateUserinfo(context.Context, *CreateUserinfoRequest) (*CreateUserinfoReply, error)
- func (UnimplementedUserinfoServer) DeleteUserinfo(context.Context, *DeleteUserinfoRequest) (*DeleteUserinfoReply, error)
- func (UnimplementedUserinfoServer) ListUserinfo(context.Context, *ListUserinfoRequest) (*ListUserinfoReply, error)
- func (UnimplementedUserinfoServer) UpdateUserinfo(context.Context, *UpdateUserinfoRequest) (*UpdateUserinfoReply, error)
- type UnsafeUserinfoServer
- type UpdateCurrentUserinfoReply
- func (*UpdateCurrentUserinfoReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateCurrentUserinfoReply) ProtoMessage()
- func (x *UpdateCurrentUserinfoReply) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserinfoReply) Reset()
- func (x *UpdateCurrentUserinfoReply) String() string
- func (m *UpdateCurrentUserinfoReply) Validate() error
- func (m *UpdateCurrentUserinfoReply) ValidateAll() error
- type UpdateCurrentUserinfoReplyMultiError
- type UpdateCurrentUserinfoReplyValidationError
- func (e UpdateCurrentUserinfoReplyValidationError) Cause() error
- func (e UpdateCurrentUserinfoReplyValidationError) Error() string
- func (e UpdateCurrentUserinfoReplyValidationError) ErrorName() string
- func (e UpdateCurrentUserinfoReplyValidationError) Field() string
- func (e UpdateCurrentUserinfoReplyValidationError) Key() bool
- func (e UpdateCurrentUserinfoReplyValidationError) Reason() string
- type UpdateCurrentUserinfoRequest
- func (*UpdateCurrentUserinfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserinfoRequest) GetList() []*UpdateCurrentUserinfoRequest_Data
- func (*UpdateCurrentUserinfoRequest) ProtoMessage()
- func (x *UpdateCurrentUserinfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserinfoRequest) Reset()
- func (x *UpdateCurrentUserinfoRequest) String() string
- func (m *UpdateCurrentUserinfoRequest) Validate() error
- func (m *UpdateCurrentUserinfoRequest) ValidateAll() error
- type UpdateCurrentUserinfoRequestMultiError
- type UpdateCurrentUserinfoRequestValidationError
- func (e UpdateCurrentUserinfoRequestValidationError) Cause() error
- func (e UpdateCurrentUserinfoRequestValidationError) Error() string
- func (e UpdateCurrentUserinfoRequestValidationError) ErrorName() string
- func (e UpdateCurrentUserinfoRequestValidationError) Field() string
- func (e UpdateCurrentUserinfoRequestValidationError) Key() bool
- func (e UpdateCurrentUserinfoRequestValidationError) Reason() string
- type UpdateCurrentUserinfoRequest_Data
- func (*UpdateCurrentUserinfoRequest_Data) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCurrentUserinfoRequest_Data) GetKeyword() string
- func (x *UpdateCurrentUserinfoRequest_Data) GetValue() string
- func (*UpdateCurrentUserinfoRequest_Data) ProtoMessage()
- func (x *UpdateCurrentUserinfoRequest_Data) ProtoReflect() protoreflect.Message
- func (x *UpdateCurrentUserinfoRequest_Data) Reset()
- func (x *UpdateCurrentUserinfoRequest_Data) String() string
- func (m *UpdateCurrentUserinfoRequest_Data) Validate() error
- func (m *UpdateCurrentUserinfoRequest_Data) ValidateAll() error
- type UpdateCurrentUserinfoRequest_DataMultiError
- type UpdateCurrentUserinfoRequest_DataValidationError
- func (e UpdateCurrentUserinfoRequest_DataValidationError) Cause() error
- func (e UpdateCurrentUserinfoRequest_DataValidationError) Error() string
- func (e UpdateCurrentUserinfoRequest_DataValidationError) ErrorName() string
- func (e UpdateCurrentUserinfoRequest_DataValidationError) Field() string
- func (e UpdateCurrentUserinfoRequest_DataValidationError) Key() bool
- func (e UpdateCurrentUserinfoRequest_DataValidationError) Reason() string
- type UpdateUserinfoReply
- func (*UpdateUserinfoReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserinfoReply) ProtoMessage()
- func (x *UpdateUserinfoReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserinfoReply) Reset()
- func (x *UpdateUserinfoReply) String() string
- func (m *UpdateUserinfoReply) Validate() error
- func (m *UpdateUserinfoReply) ValidateAll() error
- type UpdateUserinfoReplyMultiError
- type UpdateUserinfoReplyValidationError
- func (e UpdateUserinfoReplyValidationError) Cause() error
- func (e UpdateUserinfoReplyValidationError) Error() string
- func (e UpdateUserinfoReplyValidationError) ErrorName() string
- func (e UpdateUserinfoReplyValidationError) Field() string
- func (e UpdateUserinfoReplyValidationError) Key() bool
- func (e UpdateUserinfoReplyValidationError) Reason() string
- type UpdateUserinfoRequest
- func (*UpdateUserinfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserinfoRequest) GetId() uint32
- func (x *UpdateUserinfoRequest) GetKeyword() string
- func (x *UpdateUserinfoRequest) GetValue() string
- func (*UpdateUserinfoRequest) ProtoMessage()
- func (x *UpdateUserinfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserinfoRequest) Reset()
- func (x *UpdateUserinfoRequest) String() string
- func (m *UpdateUserinfoRequest) Validate() error
- func (m *UpdateUserinfoRequest) ValidateAll() error
- type UpdateUserinfoRequestMultiError
- type UpdateUserinfoRequestValidationError
- func (e UpdateUserinfoRequestValidationError) Cause() error
- func (e UpdateUserinfoRequestValidationError) Error() string
- func (e UpdateUserinfoRequestValidationError) ErrorName() string
- func (e UpdateUserinfoRequestValidationError) Field() string
- func (e UpdateUserinfoRequestValidationError) Key() bool
- func (e UpdateUserinfoRequestValidationError) Reason() string
- type UserinfoClient
- type UserinfoHTTPClient
- type UserinfoHTTPClientImpl
- func (c *UserinfoHTTPClientImpl) CreateUserinfo(ctx context.Context, in *CreateUserinfoRequest, opts ...http.CallOption) (*CreateUserinfoReply, error)
- func (c *UserinfoHTTPClientImpl) DeleteUserinfo(ctx context.Context, in *DeleteUserinfoRequest, opts ...http.CallOption) (*DeleteUserinfoReply, error)
- func (c *UserinfoHTTPClientImpl) ListUserinfo(ctx context.Context, in *ListUserinfoRequest, opts ...http.CallOption) (*ListUserinfoReply, error)
- func (c *UserinfoHTTPClientImpl) UpdateUserinfo(ctx context.Context, in *UpdateUserinfoRequest, opts ...http.CallOption) (*UpdateUserinfoReply, error)
- type UserinfoHTTPServer
- type UserinfoServer
Constants ¶
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" )
const OperationUserinfoCreateUserinfo = "/application.api.application.userinfo.v1.Userinfo/CreateUserinfo"
const OperationUserinfoDeleteUserinfo = "/application.api.application.userinfo.v1.Userinfo/DeleteUserinfo"
const OperationUserinfoListUserinfo = "/application.api.application.userinfo.v1.Userinfo/ListUserinfo"
const OperationUserinfoUpdateUserinfo = "/application.api.application.userinfo.v1.Userinfo/UpdateUserinfo"
Variables ¶
var File_api_application_userinfo_application_userinfo_proto protoreflect.FileDescriptor
var File_api_application_userinfo_application_userinfo_service_proto protoreflect.FileDescriptor
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 ¶
func (m CreateUserinfoReplyMultiError) Error() string
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 ¶
func (e CreateUserinfoReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateUserinfoReplyValidationError) Error ¶
func (e CreateUserinfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserinfoReplyValidationError) ErrorName ¶
func (e CreateUserinfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserinfoReplyValidationError) Field ¶
func (e CreateUserinfoReplyValidationError) Field() string
Field function returns field value.
func (CreateUserinfoReplyValidationError) Key ¶
func (e CreateUserinfoReplyValidationError) Key() bool
Key function returns key value.
func (CreateUserinfoReplyValidationError) Reason ¶
func (e CreateUserinfoReplyValidationError) Reason() string
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 ¶
func (m CreateUserinfoRequestMultiError) Error() string
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 ¶
func (e CreateUserinfoRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserinfoRequestValidationError) Error ¶
func (e CreateUserinfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserinfoRequestValidationError) ErrorName ¶
func (e CreateUserinfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserinfoRequestValidationError) Field ¶
func (e CreateUserinfoRequestValidationError) Field() string
Field function returns field value.
func (CreateUserinfoRequestValidationError) Key ¶
func (e CreateUserinfoRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserinfoRequestValidationError) Reason ¶
func (e CreateUserinfoRequestValidationError) Reason() string
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 ¶
func (m DeleteUserinfoReplyMultiError) Error() string
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 ¶
func (e DeleteUserinfoReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserinfoReplyValidationError) Error ¶
func (e DeleteUserinfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserinfoReplyValidationError) ErrorName ¶
func (e DeleteUserinfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserinfoReplyValidationError) Field ¶
func (e DeleteUserinfoReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserinfoReplyValidationError) Key ¶
func (e DeleteUserinfoReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserinfoReplyValidationError) Reason ¶
func (e DeleteUserinfoReplyValidationError) Reason() string
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 ¶
func (m DeleteUserinfoRequestMultiError) Error() string
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 ¶
func (e DeleteUserinfoRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserinfoRequestValidationError) Error ¶
func (e DeleteUserinfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserinfoRequestValidationError) ErrorName ¶
func (e DeleteUserinfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserinfoRequestValidationError) Field ¶
func (e DeleteUserinfoRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserinfoRequestValidationError) Key ¶
func (e DeleteUserinfoRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserinfoRequestValidationError) Reason ¶
func (e DeleteUserinfoRequestValidationError) Reason() string
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 (x *ListUserinfoReply) GetList() []*ListUserinfoReply_Userinfo
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 ¶
func (m ListUserinfoReplyMultiError) Error() string
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 ¶
func (e ListUserinfoReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserinfoReplyValidationError) Error ¶
func (e ListUserinfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserinfoReplyValidationError) ErrorName ¶
func (e ListUserinfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserinfoReplyValidationError) Field ¶
func (e ListUserinfoReplyValidationError) Field() string
Field function returns field value.
func (ListUserinfoReplyValidationError) Key ¶
func (e ListUserinfoReplyValidationError) Key() bool
Key function returns key value.
func (ListUserinfoReplyValidationError) Reason ¶
func (e ListUserinfoReplyValidationError) Reason() string
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 (x *ListUserinfoReply_Userinfo) GetId() uint32
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 (x *ListUserinfoReply_Userinfo) ProtoReflect() protoreflect.Message
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 ¶
func (m ListUserinfoReply_UserinfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserinfoReply_UserinfoMultiError) Error ¶
func (m ListUserinfoReply_UserinfoMultiError) Error() string
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 ¶
func (e ListUserinfoReply_UserinfoValidationError) Cause() error
Cause function returns cause value.
func (ListUserinfoReply_UserinfoValidationError) Error ¶
func (e ListUserinfoReply_UserinfoValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserinfoReply_UserinfoValidationError) ErrorName ¶
func (e ListUserinfoReply_UserinfoValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserinfoReply_UserinfoValidationError) Field ¶
func (e ListUserinfoReply_UserinfoValidationError) Field() string
Field function returns field value.
func (ListUserinfoReply_UserinfoValidationError) Key ¶
func (e ListUserinfoReply_UserinfoValidationError) Key() bool
Key function returns key value.
func (ListUserinfoReply_UserinfoValidationError) Reason ¶
func (e ListUserinfoReply_UserinfoValidationError) Reason() string
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 ¶
func (m ListUserinfoRequestMultiError) Error() string
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 ¶
func (e ListUserinfoRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserinfoRequestValidationError) Error ¶
func (e ListUserinfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserinfoRequestValidationError) ErrorName ¶
func (e ListUserinfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserinfoRequestValidationError) Field ¶
func (e ListUserinfoRequestValidationError) Field() string
Field function returns field value.
func (ListUserinfoRequestValidationError) Key ¶
func (e ListUserinfoRequestValidationError) Key() bool
Key function returns key value.
func (ListUserinfoRequestValidationError) Reason ¶
func (e ListUserinfoRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedUserinfoServer ¶
type UnimplementedUserinfoServer struct {
}
UnimplementedUserinfoServer must be embedded to have forward compatible implementations.
func (UnimplementedUserinfoServer) CreateUserinfo ¶
func (UnimplementedUserinfoServer) CreateUserinfo(context.Context, *CreateUserinfoRequest) (*CreateUserinfoReply, error)
func (UnimplementedUserinfoServer) DeleteUserinfo ¶
func (UnimplementedUserinfoServer) DeleteUserinfo(context.Context, *DeleteUserinfoRequest) (*DeleteUserinfoReply, error)
func (UnimplementedUserinfoServer) ListUserinfo ¶
func (UnimplementedUserinfoServer) ListUserinfo(context.Context, *ListUserinfoRequest) (*ListUserinfoReply, error)
func (UnimplementedUserinfoServer) UpdateUserinfo ¶
func (UnimplementedUserinfoServer) UpdateUserinfo(context.Context, *UpdateUserinfoRequest) (*UpdateUserinfoReply, error)
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 (x *UpdateCurrentUserinfoReply) ProtoReflect() protoreflect.Message
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 ¶
func (m UpdateCurrentUserinfoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserinfoReplyMultiError) Error ¶
func (m UpdateCurrentUserinfoReplyMultiError) Error() string
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 ¶
func (e UpdateCurrentUserinfoReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserinfoReplyValidationError) Error ¶
func (e UpdateCurrentUserinfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserinfoReplyValidationError) ErrorName ¶
func (e UpdateCurrentUserinfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserinfoReplyValidationError) Field ¶
func (e UpdateCurrentUserinfoReplyValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserinfoReplyValidationError) Key ¶
func (e UpdateCurrentUserinfoReplyValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserinfoReplyValidationError) Reason ¶
func (e UpdateCurrentUserinfoReplyValidationError) Reason() string
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 (x *UpdateCurrentUserinfoRequest) GetList() []*UpdateCurrentUserinfoRequest_Data
func (*UpdateCurrentUserinfoRequest) ProtoMessage ¶
func (*UpdateCurrentUserinfoRequest) ProtoMessage()
func (*UpdateCurrentUserinfoRequest) ProtoReflect ¶
func (x *UpdateCurrentUserinfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserinfoRequest) Reset ¶
func (x *UpdateCurrentUserinfoRequest) Reset()
func (*UpdateCurrentUserinfoRequest) String ¶
func (x *UpdateCurrentUserinfoRequest) String() 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 ¶
func (m UpdateCurrentUserinfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserinfoRequestMultiError) Error ¶
func (m UpdateCurrentUserinfoRequestMultiError) Error() string
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 ¶
func (e UpdateCurrentUserinfoRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserinfoRequestValidationError) Error ¶
func (e UpdateCurrentUserinfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserinfoRequestValidationError) ErrorName ¶
func (e UpdateCurrentUserinfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserinfoRequestValidationError) Field ¶
func (e UpdateCurrentUserinfoRequestValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserinfoRequestValidationError) Key ¶
func (e UpdateCurrentUserinfoRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserinfoRequestValidationError) Reason ¶
func (e UpdateCurrentUserinfoRequestValidationError) Reason() string
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 (x *UpdateCurrentUserinfoRequest_Data) GetValue() string
func (*UpdateCurrentUserinfoRequest_Data) ProtoMessage ¶
func (*UpdateCurrentUserinfoRequest_Data) ProtoMessage()
func (*UpdateCurrentUserinfoRequest_Data) ProtoReflect ¶
func (x *UpdateCurrentUserinfoRequest_Data) ProtoReflect() protoreflect.Message
func (*UpdateCurrentUserinfoRequest_Data) Reset ¶
func (x *UpdateCurrentUserinfoRequest_Data) Reset()
func (*UpdateCurrentUserinfoRequest_Data) String ¶
func (x *UpdateCurrentUserinfoRequest_Data) String() string
func (*UpdateCurrentUserinfoRequest_Data) Validate ¶
func (m *UpdateCurrentUserinfoRequest_Data) Validate() error
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 ¶
func (m UpdateCurrentUserinfoRequest_DataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCurrentUserinfoRequest_DataMultiError) Error ¶
func (m UpdateCurrentUserinfoRequest_DataMultiError) Error() string
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 ¶
func (e UpdateCurrentUserinfoRequest_DataValidationError) Cause() error
Cause function returns cause value.
func (UpdateCurrentUserinfoRequest_DataValidationError) Error ¶
func (e UpdateCurrentUserinfoRequest_DataValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCurrentUserinfoRequest_DataValidationError) ErrorName ¶
func (e UpdateCurrentUserinfoRequest_DataValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCurrentUserinfoRequest_DataValidationError) Field ¶
func (e UpdateCurrentUserinfoRequest_DataValidationError) Field() string
Field function returns field value.
func (UpdateCurrentUserinfoRequest_DataValidationError) Key ¶
func (e UpdateCurrentUserinfoRequest_DataValidationError) Key() bool
Key function returns key value.
func (UpdateCurrentUserinfoRequest_DataValidationError) Reason ¶
func (e UpdateCurrentUserinfoRequest_DataValidationError) Reason() string
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 ¶
func (m UpdateUserinfoReplyMultiError) Error() string
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 ¶
func (e UpdateUserinfoReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserinfoReplyValidationError) Error ¶
func (e UpdateUserinfoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserinfoReplyValidationError) ErrorName ¶
func (e UpdateUserinfoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserinfoReplyValidationError) Field ¶
func (e UpdateUserinfoReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserinfoReplyValidationError) Key ¶
func (e UpdateUserinfoReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserinfoReplyValidationError) Reason ¶
func (e UpdateUserinfoReplyValidationError) Reason() string
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 ¶
func (m UpdateUserinfoRequestMultiError) Error() string
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 ¶
func (e UpdateUserinfoRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserinfoRequestValidationError) Error ¶
func (e UpdateUserinfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserinfoRequestValidationError) ErrorName ¶
func (e UpdateUserinfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserinfoRequestValidationError) Field ¶
func (e UpdateUserinfoRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserinfoRequestValidationError) Key ¶
func (e UpdateUserinfoRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserinfoRequestValidationError) Reason ¶
func (e UpdateUserinfoRequestValidationError) Reason() string
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 (c *UserinfoHTTPClientImpl) CreateUserinfo(ctx context.Context, in *CreateUserinfoRequest, opts ...http.CallOption) (*CreateUserinfoReply, error)
func (*UserinfoHTTPClientImpl) DeleteUserinfo ¶
func (c *UserinfoHTTPClientImpl) DeleteUserinfo(ctx context.Context, in *DeleteUserinfoRequest, opts ...http.CallOption) (*DeleteUserinfoReply, error)
func (*UserinfoHTTPClientImpl) ListUserinfo ¶
func (c *UserinfoHTTPClientImpl) ListUserinfo(ctx context.Context, in *ListUserinfoRequest, opts ...http.CallOption) (*ListUserinfoReply, error)
func (*UserinfoHTTPClientImpl) UpdateUserinfo ¶
func (c *UserinfoHTTPClientImpl) UpdateUserinfo(ctx context.Context, in *UpdateUserinfoRequest, opts ...http.CallOption) (*UpdateUserinfoReply, error)
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