Documentation ¶
Overview ¶
Package proto_build is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto_build is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto_build is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto_build is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto_build is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package proto_build is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterCommonServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCommonServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CommonServiceClient) error
- func RegisterCommonServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCommonServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CommonServiceServer) error
- func RegisterCommonServiceServer(s grpc.ServiceRegistrar, srv CommonServiceServer)
- func RegisterFeedServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFeedServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FeedServiceClient) error
- func RegisterFeedServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFeedServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FeedServiceServer) error
- func RegisterFeedServiceServer(s grpc.ServiceRegistrar, srv FeedServiceServer)
- func RegisterGatewayServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGatewayServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GatewayServiceClient) error
- func RegisterGatewayServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGatewayServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GatewayServiceServer) error
- func RegisterGatewayServiceServer(s grpc.ServiceRegistrar, srv GatewayServiceServer)
- func RegisterGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupServiceClient) error
- func RegisterGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServiceServer) error
- func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
- func RegisterMessageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMessageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessageServiceClient) error
- func RegisterMessageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMessageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessageServiceServer) error
- func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type CommonResponse
- func (*CommonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResponse) GetBusinessCode() uint64
- func (x *CommonResponse) GetErrorCode() uint64
- func (x *CommonResponse) GetMessage() string
- func (*CommonResponse) ProtoMessage()
- func (x *CommonResponse) ProtoReflect() protoreflect.Message
- func (x *CommonResponse) Reset()
- func (x *CommonResponse) String() string
- func (m *CommonResponse) Validate() error
- func (m *CommonResponse) ValidateAll() error
- type CommonResponseMultiError
- type CommonResponseValidationError
- func (e CommonResponseValidationError) Cause() error
- func (e CommonResponseValidationError) Error() string
- func (e CommonResponseValidationError) ErrorName() string
- func (e CommonResponseValidationError) Field() string
- func (e CommonResponseValidationError) Key() bool
- func (e CommonResponseValidationError) Reason() string
- type CommonServiceClient
- type CommonServiceServer
- type CommonService_UploadImageClient
- type CommonService_UploadImageServer
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetAvatarUrl() string
- func (x *CreateGroupRequest) GetIntroduction() string
- func (x *CreateGroupRequest) GetName() string
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- func (m *CreateGroupRequest) Validate() error
- func (m *CreateGroupRequest) ValidateAll() error
- type CreateGroupRequestMultiError
- type CreateGroupRequestValidationError
- func (e CreateGroupRequestValidationError) Cause() error
- func (e CreateGroupRequestValidationError) Error() string
- func (e CreateGroupRequestValidationError) ErrorName() string
- func (e CreateGroupRequestValidationError) Field() string
- func (e CreateGroupRequestValidationError) Key() bool
- func (e CreateGroupRequestValidationError) Reason() string
- type CreateGroupResponse
- func (*CreateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupResponse) GetGroup() *Group
- func (*CreateGroupResponse) ProtoMessage()
- func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGroupResponse) Reset()
- func (x *CreateGroupResponse) String() string
- func (m *CreateGroupResponse) Validate() error
- func (m *CreateGroupResponse) ValidateAll() error
- type CreateGroupResponseMultiError
- type CreateGroupResponseValidationError
- func (e CreateGroupResponseValidationError) Cause() error
- func (e CreateGroupResponseValidationError) Error() string
- func (e CreateGroupResponseValidationError) ErrorName() string
- func (e CreateGroupResponseValidationError) Field() string
- func (e CreateGroupResponseValidationError) Key() bool
- func (e CreateGroupResponseValidationError) Reason() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetId() uint64
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- func (m *DeleteGroupRequest) Validate() error
- func (m *DeleteGroupRequest) ValidateAll() error
- type DeleteGroupRequestMultiError
- type DeleteGroupRequestValidationError
- func (e DeleteGroupRequestValidationError) Cause() error
- func (e DeleteGroupRequestValidationError) Error() string
- func (e DeleteGroupRequestValidationError) ErrorName() string
- func (e DeleteGroupRequestValidationError) Field() string
- func (e DeleteGroupRequestValidationError) Key() bool
- func (e DeleteGroupRequestValidationError) Reason() string
- type DeleteGroupResponse
- func (*DeleteGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteGroupResponse) ProtoMessage()
- func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupResponse) Reset()
- func (x *DeleteGroupResponse) String() string
- func (m *DeleteGroupResponse) Validate() error
- func (m *DeleteGroupResponse) ValidateAll() error
- type DeleteGroupResponseMultiError
- type DeleteGroupResponseValidationError
- func (e DeleteGroupResponseValidationError) Cause() error
- func (e DeleteGroupResponseValidationError) Error() string
- func (e DeleteGroupResponseValidationError) ErrorName() string
- func (e DeleteGroupResponseValidationError) Field() string
- func (e DeleteGroupResponseValidationError) Key() bool
- func (e DeleteGroupResponseValidationError) Reason() string
- type FaceMessage
- func (*FaceMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FaceMessage) GetId() uint64
- func (x *FaceMessage) GetSymbol() string
- func (*FaceMessage) ProtoMessage()
- func (x *FaceMessage) ProtoReflect() protoreflect.Message
- func (x *FaceMessage) Reset()
- func (x *FaceMessage) String() string
- func (m *FaceMessage) Validate() error
- func (m *FaceMessage) ValidateAll() error
- type FaceMessageMultiError
- type FaceMessageValidationError
- func (e FaceMessageValidationError) Cause() error
- func (e FaceMessageValidationError) Error() string
- func (e FaceMessageValidationError) ErrorName() string
- func (e FaceMessageValidationError) Field() string
- func (e FaceMessageValidationError) Key() bool
- func (e FaceMessageValidationError) Reason() string
- type Feed
- func (*Feed) Descriptor() ([]byte, []int)deprecated
- func (x *Feed) GetCommentCount() uint64
- func (x *Feed) GetContent() string
- func (x *Feed) GetCreatedAt() *timestamppb.Timestamp
- func (x *Feed) GetDeletedAt() *timestamppb.Timestamp
- func (x *Feed) GetHot() uint64
- func (x *Feed) GetId() uint64
- func (x *Feed) GetIsEnable() IsEnable
- func (x *Feed) GetLikeCount() uint64
- func (x *Feed) GetOperator() uint64
- func (x *Feed) GetRemark() string
- func (x *Feed) GetReviewStatus() ReviewStatus
- func (x *Feed) GetType() FeedType
- func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Feed) GetUserId() uint64
- func (x *Feed) GetViewCount() uint64
- func (*Feed) ProtoMessage()
- func (x *Feed) ProtoReflect() protoreflect.Message
- func (x *Feed) Reset()
- func (x *Feed) String() string
- func (m *Feed) Validate() error
- func (m *Feed) ValidateAll() error
- type FeedCreateRequest
- func (*FeedCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedCreateRequest) GetContent() string
- func (x *FeedCreateRequest) GetResource() []string
- func (x *FeedCreateRequest) GetType() FeedType
- func (*FeedCreateRequest) ProtoMessage()
- func (x *FeedCreateRequest) ProtoReflect() protoreflect.Message
- func (x *FeedCreateRequest) Reset()
- func (x *FeedCreateRequest) String() string
- func (m *FeedCreateRequest) Validate() error
- func (m *FeedCreateRequest) ValidateAll() error
- type FeedCreateRequestMultiError
- type FeedCreateRequestValidationError
- func (e FeedCreateRequestValidationError) Cause() error
- func (e FeedCreateRequestValidationError) Error() string
- func (e FeedCreateRequestValidationError) ErrorName() string
- func (e FeedCreateRequestValidationError) Field() string
- func (e FeedCreateRequestValidationError) Key() bool
- func (e FeedCreateRequestValidationError) Reason() string
- type FeedCreateResponse
- func (*FeedCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedCreateResponse) GetFeed() *Feed
- func (*FeedCreateResponse) ProtoMessage()
- func (x *FeedCreateResponse) ProtoReflect() protoreflect.Message
- func (x *FeedCreateResponse) Reset()
- func (x *FeedCreateResponse) String() string
- func (m *FeedCreateResponse) Validate() error
- func (m *FeedCreateResponse) ValidateAll() error
- type FeedCreateResponseMultiError
- type FeedCreateResponseValidationError
- func (e FeedCreateResponseValidationError) Cause() error
- func (e FeedCreateResponseValidationError) Error() string
- func (e FeedCreateResponseValidationError) ErrorName() string
- func (e FeedCreateResponseValidationError) Field() string
- func (e FeedCreateResponseValidationError) Key() bool
- func (e FeedCreateResponseValidationError) Reason() string
- type FeedDeleteRequest
- func (*FeedDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedDeleteRequest) GetId() uint64
- func (*FeedDeleteRequest) ProtoMessage()
- func (x *FeedDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *FeedDeleteRequest) Reset()
- func (x *FeedDeleteRequest) String() string
- func (m *FeedDeleteRequest) Validate() error
- func (m *FeedDeleteRequest) ValidateAll() error
- type FeedDeleteRequestMultiError
- type FeedDeleteRequestValidationError
- func (e FeedDeleteRequestValidationError) Cause() error
- func (e FeedDeleteRequestValidationError) Error() string
- func (e FeedDeleteRequestValidationError) ErrorName() string
- func (e FeedDeleteRequestValidationError) Field() string
- func (e FeedDeleteRequestValidationError) Key() bool
- func (e FeedDeleteRequestValidationError) Reason() string
- type FeedDeleteResponse
- func (*FeedDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*FeedDeleteResponse) ProtoMessage()
- func (x *FeedDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *FeedDeleteResponse) Reset()
- func (x *FeedDeleteResponse) String() string
- func (m *FeedDeleteResponse) Validate() error
- func (m *FeedDeleteResponse) ValidateAll() error
- type FeedDeleteResponseMultiError
- type FeedDeleteResponseValidationError
- func (e FeedDeleteResponseValidationError) Cause() error
- func (e FeedDeleteResponseValidationError) Error() string
- func (e FeedDeleteResponseValidationError) ErrorName() string
- func (e FeedDeleteResponseValidationError) Field() string
- func (e FeedDeleteResponseValidationError) Key() bool
- func (e FeedDeleteResponseValidationError) Reason() string
- type FeedEditRequest
- func (*FeedEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedEditRequest) GetContent() string
- func (x *FeedEditRequest) GetId() uint64
- func (x *FeedEditRequest) GetResource() []string
- func (x *FeedEditRequest) GetType() FeedType
- func (*FeedEditRequest) ProtoMessage()
- func (x *FeedEditRequest) ProtoReflect() protoreflect.Message
- func (x *FeedEditRequest) Reset()
- func (x *FeedEditRequest) String() string
- func (m *FeedEditRequest) Validate() error
- func (m *FeedEditRequest) ValidateAll() error
- type FeedEditRequestMultiError
- type FeedEditRequestValidationError
- func (e FeedEditRequestValidationError) Cause() error
- func (e FeedEditRequestValidationError) Error() string
- func (e FeedEditRequestValidationError) ErrorName() string
- func (e FeedEditRequestValidationError) Field() string
- func (e FeedEditRequestValidationError) Key() bool
- func (e FeedEditRequestValidationError) Reason() string
- type FeedEditResponse
- func (*FeedEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedEditResponse) GetId() uint64
- func (*FeedEditResponse) ProtoMessage()
- func (x *FeedEditResponse) ProtoReflect() protoreflect.Message
- func (x *FeedEditResponse) Reset()
- func (x *FeedEditResponse) String() string
- func (m *FeedEditResponse) Validate() error
- func (m *FeedEditResponse) ValidateAll() error
- type FeedEditResponseMultiError
- type FeedEditResponseValidationError
- func (e FeedEditResponseValidationError) Cause() error
- func (e FeedEditResponseValidationError) Error() string
- func (e FeedEditResponseValidationError) ErrorName() string
- func (e FeedEditResponseValidationError) Field() string
- func (e FeedEditResponseValidationError) Key() bool
- func (e FeedEditResponseValidationError) Reason() string
- type FeedFollowRequest
- func (*FeedFollowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedFollowRequest) GetNum() uint64
- func (*FeedFollowRequest) ProtoMessage()
- func (x *FeedFollowRequest) ProtoReflect() protoreflect.Message
- func (x *FeedFollowRequest) Reset()
- func (x *FeedFollowRequest) String() string
- func (m *FeedFollowRequest) Validate() error
- func (m *FeedFollowRequest) ValidateAll() error
- type FeedFollowRequestMultiError
- type FeedFollowRequestValidationError
- func (e FeedFollowRequestValidationError) Cause() error
- func (e FeedFollowRequestValidationError) Error() string
- func (e FeedFollowRequestValidationError) ErrorName() string
- func (e FeedFollowRequestValidationError) Field() string
- func (e FeedFollowRequestValidationError) Key() bool
- func (e FeedFollowRequestValidationError) Reason() string
- type FeedFollowResponse
- func (*FeedFollowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedFollowResponse) GetFeed() []*Feed
- func (x *FeedFollowResponse) GetPager() *Pager
- func (*FeedFollowResponse) ProtoMessage()
- func (x *FeedFollowResponse) ProtoReflect() protoreflect.Message
- func (x *FeedFollowResponse) Reset()
- func (x *FeedFollowResponse) String() string
- func (m *FeedFollowResponse) Validate() error
- func (m *FeedFollowResponse) ValidateAll() error
- type FeedFollowResponseMultiError
- type FeedFollowResponseValidationError
- func (e FeedFollowResponseValidationError) Cause() error
- func (e FeedFollowResponseValidationError) Error() string
- func (e FeedFollowResponseValidationError) ErrorName() string
- func (e FeedFollowResponseValidationError) Field() string
- func (e FeedFollowResponseValidationError) Key() bool
- func (e FeedFollowResponseValidationError) Reason() string
- type FeedGetRequest
- func (*FeedGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedGetRequest) GetId() uint64
- func (*FeedGetRequest) ProtoMessage()
- func (x *FeedGetRequest) ProtoReflect() protoreflect.Message
- func (x *FeedGetRequest) Reset()
- func (x *FeedGetRequest) String() string
- func (m *FeedGetRequest) Validate() error
- func (m *FeedGetRequest) ValidateAll() error
- type FeedGetRequestMultiError
- type FeedGetRequestValidationError
- func (e FeedGetRequestValidationError) Cause() error
- func (e FeedGetRequestValidationError) Error() string
- func (e FeedGetRequestValidationError) ErrorName() string
- func (e FeedGetRequestValidationError) Field() string
- func (e FeedGetRequestValidationError) Key() bool
- func (e FeedGetRequestValidationError) Reason() string
- type FeedGetResponse
- func (*FeedGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedGetResponse) GetFeed() *Feed
- func (*FeedGetResponse) ProtoMessage()
- func (x *FeedGetResponse) ProtoReflect() protoreflect.Message
- func (x *FeedGetResponse) Reset()
- func (x *FeedGetResponse) String() string
- func (m *FeedGetResponse) Validate() error
- func (m *FeedGetResponse) ValidateAll() error
- type FeedGetResponseMultiError
- type FeedGetResponseValidationError
- func (e FeedGetResponseValidationError) Cause() error
- func (e FeedGetResponseValidationError) Error() string
- func (e FeedGetResponseValidationError) ErrorName() string
- func (e FeedGetResponseValidationError) Field() string
- func (e FeedGetResponseValidationError) Key() bool
- func (e FeedGetResponseValidationError) Reason() string
- type FeedImage
- func (*FeedImage) Descriptor() ([]byte, []int)deprecated
- func (x *FeedImage) GetCreatedAt() *timestamppb.Timestamp
- func (x *FeedImage) GetDeletedAt() *timestamppb.Timestamp
- func (x *FeedImage) GetFeedId() uint64
- func (x *FeedImage) GetId() uint64
- func (x *FeedImage) GetImgUrl() string
- func (x *FeedImage) GetUpdatedAt() *timestamppb.Timestamp
- func (*FeedImage) ProtoMessage()
- func (x *FeedImage) ProtoReflect() protoreflect.Message
- func (x *FeedImage) Reset()
- func (x *FeedImage) String() string
- func (m *FeedImage) Validate() error
- func (m *FeedImage) ValidateAll() error
- type FeedImageMultiError
- type FeedImageValidationError
- type FeedLike
- func (*FeedLike) Descriptor() ([]byte, []int)deprecated
- func (x *FeedLike) GetCreatedAt() *timestamppb.Timestamp
- func (x *FeedLike) GetDeletedAt() *timestamppb.Timestamp
- func (x *FeedLike) GetFeedId() uint64
- func (x *FeedLike) GetId() uint64
- func (x *FeedLike) GetUpdatedAt() *timestamppb.Timestamp
- func (x *FeedLike) GetUserId() uint64
- func (*FeedLike) ProtoMessage()
- func (x *FeedLike) ProtoReflect() protoreflect.Message
- func (x *FeedLike) Reset()
- func (x *FeedLike) String() string
- func (m *FeedLike) Validate() error
- func (m *FeedLike) ValidateAll() error
- type FeedLikeMultiError
- type FeedLikeRequest
- func (*FeedLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedLikeRequest) GetId() uint64
- func (*FeedLikeRequest) ProtoMessage()
- func (x *FeedLikeRequest) ProtoReflect() protoreflect.Message
- func (x *FeedLikeRequest) Reset()
- func (x *FeedLikeRequest) String() string
- func (m *FeedLikeRequest) Validate() error
- func (m *FeedLikeRequest) ValidateAll() error
- type FeedLikeRequestMultiError
- type FeedLikeRequestValidationError
- func (e FeedLikeRequestValidationError) Cause() error
- func (e FeedLikeRequestValidationError) Error() string
- func (e FeedLikeRequestValidationError) ErrorName() string
- func (e FeedLikeRequestValidationError) Field() string
- func (e FeedLikeRequestValidationError) Key() bool
- func (e FeedLikeRequestValidationError) Reason() string
- type FeedLikeResponse
- func (*FeedLikeResponse) Descriptor() ([]byte, []int)deprecated
- func (*FeedLikeResponse) ProtoMessage()
- func (x *FeedLikeResponse) ProtoReflect() protoreflect.Message
- func (x *FeedLikeResponse) Reset()
- func (x *FeedLikeResponse) String() string
- func (m *FeedLikeResponse) Validate() error
- func (m *FeedLikeResponse) ValidateAll() error
- type FeedLikeResponseMultiError
- type FeedLikeResponseValidationError
- func (e FeedLikeResponseValidationError) Cause() error
- func (e FeedLikeResponseValidationError) Error() string
- func (e FeedLikeResponseValidationError) ErrorName() string
- func (e FeedLikeResponseValidationError) Field() string
- func (e FeedLikeResponseValidationError) Key() bool
- func (e FeedLikeResponseValidationError) Reason() string
- type FeedLikeValidationError
- type FeedMultiError
- type FeedOwnRequest
- func (*FeedOwnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedOwnRequest) GetKeyword() string
- func (x *FeedOwnRequest) GetLastId() uint64
- func (x *FeedOwnRequest) GetNum() uint64
- func (x *FeedOwnRequest) GetReviewStatus() ReviewStatus
- func (*FeedOwnRequest) ProtoMessage()
- func (x *FeedOwnRequest) ProtoReflect() protoreflect.Message
- func (x *FeedOwnRequest) Reset()
- func (x *FeedOwnRequest) String() string
- func (m *FeedOwnRequest) Validate() error
- func (m *FeedOwnRequest) ValidateAll() error
- type FeedOwnRequestMultiError
- type FeedOwnRequestValidationError
- func (e FeedOwnRequestValidationError) Cause() error
- func (e FeedOwnRequestValidationError) Error() string
- func (e FeedOwnRequestValidationError) ErrorName() string
- func (e FeedOwnRequestValidationError) Field() string
- func (e FeedOwnRequestValidationError) Key() bool
- func (e FeedOwnRequestValidationError) Reason() string
- type FeedOwnResponse
- func (*FeedOwnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedOwnResponse) GetFeed() []*Feed
- func (x *FeedOwnResponse) GetPager() *Pager
- func (*FeedOwnResponse) ProtoMessage()
- func (x *FeedOwnResponse) ProtoReflect() protoreflect.Message
- func (x *FeedOwnResponse) Reset()
- func (x *FeedOwnResponse) String() string
- func (m *FeedOwnResponse) Validate() error
- func (m *FeedOwnResponse) ValidateAll() error
- type FeedOwnResponseMultiError
- type FeedOwnResponseValidationError
- func (e FeedOwnResponseValidationError) Cause() error
- func (e FeedOwnResponseValidationError) Error() string
- func (e FeedOwnResponseValidationError) ErrorName() string
- func (e FeedOwnResponseValidationError) Field() string
- func (e FeedOwnResponseValidationError) Key() bool
- func (e FeedOwnResponseValidationError) Reason() string
- type FeedQueryRequest
- func (*FeedQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedQueryRequest) GetKeyword() string
- func (x *FeedQueryRequest) GetLastId() uint64
- func (x *FeedQueryRequest) GetNum() uint64
- func (*FeedQueryRequest) ProtoMessage()
- func (x *FeedQueryRequest) ProtoReflect() protoreflect.Message
- func (x *FeedQueryRequest) Reset()
- func (x *FeedQueryRequest) String() string
- func (m *FeedQueryRequest) Validate() error
- func (m *FeedQueryRequest) ValidateAll() error
- type FeedQueryRequestMultiError
- type FeedQueryRequestValidationError
- func (e FeedQueryRequestValidationError) Cause() error
- func (e FeedQueryRequestValidationError) Error() string
- func (e FeedQueryRequestValidationError) ErrorName() string
- func (e FeedQueryRequestValidationError) Field() string
- func (e FeedQueryRequestValidationError) Key() bool
- func (e FeedQueryRequestValidationError) Reason() string
- type FeedQueryResponse
- func (*FeedQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedQueryResponse) GetFeed() []*Feed
- func (x *FeedQueryResponse) GetPager() *Pager
- func (*FeedQueryResponse) ProtoMessage()
- func (x *FeedQueryResponse) ProtoReflect() protoreflect.Message
- func (x *FeedQueryResponse) Reset()
- func (x *FeedQueryResponse) String() string
- func (m *FeedQueryResponse) Validate() error
- func (m *FeedQueryResponse) ValidateAll() error
- type FeedQueryResponseMultiError
- type FeedQueryResponseValidationError
- func (e FeedQueryResponseValidationError) Cause() error
- func (e FeedQueryResponseValidationError) Error() string
- func (e FeedQueryResponseValidationError) ErrorName() string
- func (e FeedQueryResponseValidationError) Field() string
- func (e FeedQueryResponseValidationError) Key() bool
- func (e FeedQueryResponseValidationError) Reason() string
- type FeedRecommendRequest
- func (*FeedRecommendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedRecommendRequest) GetNum() uint64
- func (*FeedRecommendRequest) ProtoMessage()
- func (x *FeedRecommendRequest) ProtoReflect() protoreflect.Message
- func (x *FeedRecommendRequest) Reset()
- func (x *FeedRecommendRequest) String() string
- func (m *FeedRecommendRequest) Validate() error
- func (m *FeedRecommendRequest) ValidateAll() error
- type FeedRecommendRequestMultiError
- type FeedRecommendRequestValidationError
- func (e FeedRecommendRequestValidationError) Cause() error
- func (e FeedRecommendRequestValidationError) Error() string
- func (e FeedRecommendRequestValidationError) ErrorName() string
- func (e FeedRecommendRequestValidationError) Field() string
- func (e FeedRecommendRequestValidationError) Key() bool
- func (e FeedRecommendRequestValidationError) Reason() string
- type FeedRecommendResponse
- func (*FeedRecommendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeedRecommendResponse) GetFeed() []*Feed
- func (x *FeedRecommendResponse) GetPager() *Pager
- func (*FeedRecommendResponse) ProtoMessage()
- func (x *FeedRecommendResponse) ProtoReflect() protoreflect.Message
- func (x *FeedRecommendResponse) Reset()
- func (x *FeedRecommendResponse) String() string
- func (m *FeedRecommendResponse) Validate() error
- func (m *FeedRecommendResponse) ValidateAll() error
- type FeedRecommendResponseMultiError
- type FeedRecommendResponseValidationError
- func (e FeedRecommendResponseValidationError) Cause() error
- func (e FeedRecommendResponseValidationError) Error() string
- func (e FeedRecommendResponseValidationError) ErrorName() string
- func (e FeedRecommendResponseValidationError) Field() string
- func (e FeedRecommendResponseValidationError) Key() bool
- func (e FeedRecommendResponseValidationError) Reason() string
- type FeedServiceClient
- type FeedServiceServer
- type FeedType
- type FeedUnLikeRequest
- func (*FeedUnLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeedUnLikeRequest) GetId() uint64
- func (*FeedUnLikeRequest) ProtoMessage()
- func (x *FeedUnLikeRequest) ProtoReflect() protoreflect.Message
- func (x *FeedUnLikeRequest) Reset()
- func (x *FeedUnLikeRequest) String() string
- func (m *FeedUnLikeRequest) Validate() error
- func (m *FeedUnLikeRequest) ValidateAll() error
- type FeedUnLikeRequestMultiError
- type FeedUnLikeRequestValidationError
- func (e FeedUnLikeRequestValidationError) Cause() error
- func (e FeedUnLikeRequestValidationError) Error() string
- func (e FeedUnLikeRequestValidationError) ErrorName() string
- func (e FeedUnLikeRequestValidationError) Field() string
- func (e FeedUnLikeRequestValidationError) Key() bool
- func (e FeedUnLikeRequestValidationError) Reason() string
- type FeedUnLikeResponse
- func (*FeedUnLikeResponse) Descriptor() ([]byte, []int)deprecated
- func (*FeedUnLikeResponse) ProtoMessage()
- func (x *FeedUnLikeResponse) ProtoReflect() protoreflect.Message
- func (x *FeedUnLikeResponse) Reset()
- func (x *FeedUnLikeResponse) String() string
- func (m *FeedUnLikeResponse) Validate() error
- func (m *FeedUnLikeResponse) ValidateAll() error
- type FeedUnLikeResponseMultiError
- type FeedUnLikeResponseValidationError
- func (e FeedUnLikeResponseValidationError) Cause() error
- func (e FeedUnLikeResponseValidationError) Error() string
- func (e FeedUnLikeResponseValidationError) ErrorName() string
- func (e FeedUnLikeResponseValidationError) Field() string
- func (e FeedUnLikeResponseValidationError) Key() bool
- func (e FeedUnLikeResponseValidationError) Reason() string
- type FeedValidationError
- type FeedVideo
- func (*FeedVideo) Descriptor() ([]byte, []int)deprecated
- func (x *FeedVideo) GetCoverUrl() string
- func (x *FeedVideo) GetCreatedAt() *timestamppb.Timestamp
- func (x *FeedVideo) GetDeletedAt() *timestamppb.Timestamp
- func (x *FeedVideo) GetDuration() float64
- func (x *FeedVideo) GetFeedId() uint64
- func (x *FeedVideo) GetHeight() uint64
- func (x *FeedVideo) GetId() uint64
- func (x *FeedVideo) GetUpdatedAt() *timestamppb.Timestamp
- func (x *FeedVideo) GetVideoUrl() string
- func (x *FeedVideo) GetWidth() uint64
- func (*FeedVideo) ProtoMessage()
- func (x *FeedVideo) ProtoReflect() protoreflect.Message
- func (x *FeedVideo) Reset()
- func (x *FeedVideo) String() string
- func (m *FeedVideo) Validate() error
- func (m *FeedVideo) ValidateAll() error
- type FeedVideoMultiError
- type FeedVideoValidationError
- type FileMessage
- func (*FileMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FileMessage) GetId() uint64
- func (x *FileMessage) GetName() string
- func (x *FileMessage) GetSize() uint64
- func (x *FileMessage) GetUrl() string
- func (*FileMessage) ProtoMessage()
- func (x *FileMessage) ProtoReflect() protoreflect.Message
- func (x *FileMessage) Reset()
- func (x *FileMessage) String() string
- func (m *FileMessage) Validate() error
- func (m *FileMessage) ValidateAll() error
- type FileMessageMultiError
- type FileMessageValidationError
- func (e FileMessageValidationError) Cause() error
- func (e FileMessageValidationError) Error() string
- func (e FileMessageValidationError) ErrorName() string
- func (e FileMessageValidationError) Field() string
- func (e FileMessageValidationError) Key() bool
- func (e FileMessageValidationError) Reason() string
- type GatewayServiceClient
- type GatewayServiceServer
- type GatewayService_SendMessageClient
- type GatewayService_SendMessageServer
- type Gender
- type GetGroupRequest
- func (*GetGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupRequest) GetId() uint64
- func (*GetGroupRequest) ProtoMessage()
- func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupRequest) Reset()
- func (x *GetGroupRequest) String() string
- func (m *GetGroupRequest) Validate() error
- func (m *GetGroupRequest) ValidateAll() error
- type GetGroupRequestMultiError
- type GetGroupRequestValidationError
- func (e GetGroupRequestValidationError) Cause() error
- func (e GetGroupRequestValidationError) Error() string
- func (e GetGroupRequestValidationError) ErrorName() string
- func (e GetGroupRequestValidationError) Field() string
- func (e GetGroupRequestValidationError) Key() bool
- func (e GetGroupRequestValidationError) Reason() string
- type GetGroupResponse
- func (*GetGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupResponse) GetGroup() *Group
- func (*GetGroupResponse) ProtoMessage()
- func (x *GetGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupResponse) Reset()
- func (x *GetGroupResponse) String() string
- func (m *GetGroupResponse) Validate() error
- func (m *GetGroupResponse) ValidateAll() error
- type GetGroupResponseMultiError
- type GetGroupResponseValidationError
- func (e GetGroupResponseValidationError) Cause() error
- func (e GetGroupResponseValidationError) Error() string
- func (e GetGroupResponseValidationError) ErrorName() string
- func (e GetGroupResponseValidationError) Field() string
- func (e GetGroupResponseValidationError) Key() bool
- func (e GetGroupResponseValidationError) Reason() string
- type GetGroupUserRequest
- func (*GetGroupUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupUserRequest) GetId() uint64
- func (x *GetGroupUserRequest) GetPage() uint64
- func (x *GetGroupUserRequest) GetPageSize() uint64
- func (*GetGroupUserRequest) ProtoMessage()
- func (x *GetGroupUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupUserRequest) Reset()
- func (x *GetGroupUserRequest) String() string
- func (m *GetGroupUserRequest) Validate() error
- func (m *GetGroupUserRequest) ValidateAll() error
- type GetGroupUserRequestMultiError
- type GetGroupUserRequestValidationError
- func (e GetGroupUserRequestValidationError) Cause() error
- func (e GetGroupUserRequestValidationError) Error() string
- func (e GetGroupUserRequestValidationError) ErrorName() string
- func (e GetGroupUserRequestValidationError) Field() string
- func (e GetGroupUserRequestValidationError) Key() bool
- func (e GetGroupUserRequestValidationError) Reason() string
- type GetGroupUserResponse
- func (*GetGroupUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupUserResponse) GetPager() *Pager
- func (x *GetGroupUserResponse) GetUser() []*User
- func (*GetGroupUserResponse) ProtoMessage()
- func (x *GetGroupUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetGroupUserResponse) Reset()
- func (x *GetGroupUserResponse) String() string
- func (m *GetGroupUserResponse) Validate() error
- func (m *GetGroupUserResponse) ValidateAll() error
- type GetGroupUserResponseMultiError
- type GetGroupUserResponseValidationError
- func (e GetGroupUserResponseValidationError) Cause() error
- func (e GetGroupUserResponseValidationError) Error() string
- func (e GetGroupUserResponseValidationError) ErrorName() string
- func (e GetGroupUserResponseValidationError) Field() string
- func (e GetGroupUserResponseValidationError) Key() bool
- func (e GetGroupUserResponseValidationError) Reason() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetAvatarUrl() string
- func (x *Group) GetCreatedAt() *timestamppb.Timestamp
- func (x *Group) GetDeletedAt() *timestamppb.Timestamp
- func (x *Group) GetExtra() string
- func (x *Group) GetId() uint64
- func (x *Group) GetIntroduction() string
- func (x *Group) GetName() string
- func (x *Group) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Group) GetUserId() uint64
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- func (m *Group) Validate() error
- func (m *Group) ValidateAll() error
- type GroupMultiError
- type GroupServiceClient
- type GroupServiceServer
- type GroupValidationError
- type IMAGE_FORMAT
- func (IMAGE_FORMAT) Descriptor() protoreflect.EnumDescriptor
- func (x IMAGE_FORMAT) Enum() *IMAGE_FORMAT
- func (IMAGE_FORMAT) EnumDescriptor() ([]byte, []int)deprecated
- func (x IMAGE_FORMAT) Number() protoreflect.EnumNumber
- func (x IMAGE_FORMAT) String() string
- func (IMAGE_FORMAT) Type() protoreflect.EnumType
- type IMAGE_TYPE
- type ImageInfo
- func (*ImageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ImageInfo) GetHeight() uint64
- func (x *ImageInfo) GetName() string
- func (x *ImageInfo) GetType() string
- func (x *ImageInfo) GetUrl() string
- func (x *ImageInfo) GetWidth() uint64
- func (*ImageInfo) ProtoMessage()
- func (x *ImageInfo) ProtoReflect() protoreflect.Message
- func (x *ImageInfo) Reset()
- func (x *ImageInfo) String() string
- func (m *ImageInfo) Validate() error
- func (m *ImageInfo) ValidateAll() error
- type ImageInfoMultiError
- type ImageInfoValidationError
- type ImageMessage
- func (*ImageMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ImageMessage) GetId() uint64
- func (x *ImageMessage) GetList() []*ImageMessageItem
- func (*ImageMessage) ProtoMessage()
- func (x *ImageMessage) ProtoReflect() protoreflect.Message
- func (x *ImageMessage) Reset()
- func (x *ImageMessage) String() string
- func (m *ImageMessage) Validate() error
- func (m *ImageMessage) ValidateAll() error
- type ImageMessageItem
- func (*ImageMessageItem) Descriptor() ([]byte, []int)deprecated
- func (x *ImageMessageItem) GetFormat() IMAGE_FORMAT
- func (x *ImageMessageItem) GetHeight() uint64
- func (x *ImageMessageItem) GetSize() uint64
- func (x *ImageMessageItem) GetType() IMAGE_TYPE
- func (x *ImageMessageItem) GetUrl() string
- func (x *ImageMessageItem) GetWidth() uint64
- func (*ImageMessageItem) ProtoMessage()
- func (x *ImageMessageItem) ProtoReflect() protoreflect.Message
- func (x *ImageMessageItem) Reset()
- func (x *ImageMessageItem) String() string
- func (m *ImageMessageItem) Validate() error
- func (m *ImageMessageItem) ValidateAll() error
- type ImageMessageItemMultiError
- type ImageMessageItemValidationError
- func (e ImageMessageItemValidationError) Cause() error
- func (e ImageMessageItemValidationError) Error() string
- func (e ImageMessageItemValidationError) ErrorName() string
- func (e ImageMessageItemValidationError) Field() string
- func (e ImageMessageItemValidationError) Key() bool
- func (e ImageMessageItemValidationError) Reason() string
- type ImageMessageMultiError
- type ImageMessageValidationError
- func (e ImageMessageValidationError) Cause() error
- func (e ImageMessageValidationError) Error() string
- func (e ImageMessageValidationError) ErrorName() string
- func (e ImageMessageValidationError) Field() string
- func (e ImageMessageValidationError) Key() bool
- func (e ImageMessageValidationError) Reason() string
- type IsEnable
- type JoinGroupRequest
- func (*JoinGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinGroupRequest) GetId() uint64
- func (x *JoinGroupRequest) GetUserId() uint64
- func (*JoinGroupRequest) ProtoMessage()
- func (x *JoinGroupRequest) ProtoReflect() protoreflect.Message
- func (x *JoinGroupRequest) Reset()
- func (x *JoinGroupRequest) String() string
- func (m *JoinGroupRequest) Validate() error
- func (m *JoinGroupRequest) ValidateAll() error
- type JoinGroupRequestMultiError
- type JoinGroupRequestValidationError
- func (e JoinGroupRequestValidationError) Cause() error
- func (e JoinGroupRequestValidationError) Error() string
- func (e JoinGroupRequestValidationError) ErrorName() string
- func (e JoinGroupRequestValidationError) Field() string
- func (e JoinGroupRequestValidationError) Key() bool
- func (e JoinGroupRequestValidationError) Reason() string
- type JoinGroupResponse
- func (*JoinGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (*JoinGroupResponse) ProtoMessage()
- func (x *JoinGroupResponse) ProtoReflect() protoreflect.Message
- func (x *JoinGroupResponse) Reset()
- func (x *JoinGroupResponse) String() string
- func (m *JoinGroupResponse) Validate() error
- func (m *JoinGroupResponse) ValidateAll() error
- type JoinGroupResponseMultiError
- type JoinGroupResponseValidationError
- func (e JoinGroupResponseValidationError) Cause() error
- func (e JoinGroupResponseValidationError) Error() string
- func (e JoinGroupResponseValidationError) ErrorName() string
- func (e JoinGroupResponseValidationError) Field() string
- func (e JoinGroupResponseValidationError) Key() bool
- func (e JoinGroupResponseValidationError) Reason() string
- type LocationMessage
- func (*LocationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LocationMessage) GetCoverImage() string
- func (x *LocationMessage) GetDesc() string
- func (x *LocationMessage) GetId() uint64
- func (x *LocationMessage) GetLat() float64
- func (x *LocationMessage) GetLng() float64
- func (x *LocationMessage) GetMapLink() string
- func (*LocationMessage) ProtoMessage()
- func (x *LocationMessage) ProtoReflect() protoreflect.Message
- func (x *LocationMessage) Reset()
- func (x *LocationMessage) String() string
- func (m *LocationMessage) Validate() error
- func (m *LocationMessage) ValidateAll() error
- type LocationMessageMultiError
- type LocationMessageValidationError
- func (e LocationMessageValidationError) Cause() error
- func (e LocationMessageValidationError) Error() string
- func (e LocationMessageValidationError) ErrorName() string
- func (e LocationMessageValidationError) Field() string
- func (e LocationMessageValidationError) Key() bool
- func (e LocationMessageValidationError) Reason() string
- type MESSAGE_TYPE
- func (MESSAGE_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x MESSAGE_TYPE) Enum() *MESSAGE_TYPE
- func (MESSAGE_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x MESSAGE_TYPE) Number() protoreflect.EnumNumber
- func (x MESSAGE_TYPE) String() string
- func (MESSAGE_TYPE) Type() protoreflect.EnumType
- type MessageServiceClient
- type MessageServiceServer
- type Pager
- func (*Pager) Descriptor() ([]byte, []int)deprecated
- func (x *Pager) GetPage() uint64
- func (x *Pager) GetPageZie() uint64
- func (x *Pager) GetTotalPages() uint64
- func (x *Pager) GetTotalRows() uint64
- func (*Pager) ProtoMessage()
- func (x *Pager) ProtoReflect() protoreflect.Message
- func (x *Pager) Reset()
- func (x *Pager) String() string
- func (m *Pager) Validate() error
- func (m *Pager) ValidateAll() error
- type PagerMultiError
- type PagerValidationError
- type ParseMessageRequest
- func (*ParseMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseMessageRequest) GetContent() []byte
- func (*ParseMessageRequest) ProtoMessage()
- func (x *ParseMessageRequest) ProtoReflect() protoreflect.Message
- func (x *ParseMessageRequest) Reset()
- func (x *ParseMessageRequest) String() string
- func (m *ParseMessageRequest) Validate() error
- func (m *ParseMessageRequest) ValidateAll() error
- type ParseMessageRequestMultiError
- type ParseMessageRequestValidationError
- func (e ParseMessageRequestValidationError) Cause() error
- func (e ParseMessageRequestValidationError) Error() string
- func (e ParseMessageRequestValidationError) ErrorName() string
- func (e ParseMessageRequestValidationError) Field() string
- func (e ParseMessageRequestValidationError) Key() bool
- func (e ParseMessageRequestValidationError) Reason() string
- type ParseMessageResponse
- func (*ParseMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (*ParseMessageResponse) ProtoMessage()
- func (x *ParseMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ParseMessageResponse) Reset()
- func (x *ParseMessageResponse) String() string
- func (m *ParseMessageResponse) Validate() error
- func (m *ParseMessageResponse) ValidateAll() error
- type ParseMessageResponseMultiError
- type ParseMessageResponseValidationError
- func (e ParseMessageResponseValidationError) Cause() error
- func (e ParseMessageResponseValidationError) Error() string
- func (e ParseMessageResponseValidationError) ErrorName() string
- func (e ParseMessageResponseValidationError) Field() string
- func (e ParseMessageResponseValidationError) Key() bool
- func (e ParseMessageResponseValidationError) Reason() string
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- func (m *PingRequest) Validate() error
- func (m *PingRequest) ValidateAll() error
- type PingRequestMultiError
- type PingRequestValidationError
- func (e PingRequestValidationError) Cause() error
- func (e PingRequestValidationError) Error() string
- func (e PingRequestValidationError) ErrorName() string
- func (e PingRequestValidationError) Field() string
- func (e PingRequestValidationError) Key() bool
- func (e PingRequestValidationError) Reason() string
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetContent() string
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- func (m *PingResponse) Validate() error
- func (m *PingResponse) ValidateAll() error
- type PingResponseMultiError
- type PingResponseValidationError
- func (e PingResponseValidationError) Cause() error
- func (e PingResponseValidationError) Error() string
- func (e PingResponseValidationError) ErrorName() string
- func (e PingResponseValidationError) Field() string
- func (e PingResponseValidationError) Key() bool
- func (e PingResponseValidationError) Reason() string
- type QueryGroupRequest
- func (*QueryGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGroupRequest) GetKeyword() string
- func (x *QueryGroupRequest) GetPage() uint64
- func (x *QueryGroupRequest) GetPageSize() uint64
- func (*QueryGroupRequest) ProtoMessage()
- func (x *QueryGroupRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGroupRequest) Reset()
- func (x *QueryGroupRequest) String() string
- func (m *QueryGroupRequest) Validate() error
- func (m *QueryGroupRequest) ValidateAll() error
- type QueryGroupRequestMultiError
- type QueryGroupRequestValidationError
- func (e QueryGroupRequestValidationError) Cause() error
- func (e QueryGroupRequestValidationError) Error() string
- func (e QueryGroupRequestValidationError) ErrorName() string
- func (e QueryGroupRequestValidationError) Field() string
- func (e QueryGroupRequestValidationError) Key() bool
- func (e QueryGroupRequestValidationError) Reason() string
- type QueryGroupResponse
- func (*QueryGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGroupResponse) GetGroup() []*Group
- func (x *QueryGroupResponse) GetPager() *Pager
- func (*QueryGroupResponse) ProtoMessage()
- func (x *QueryGroupResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGroupResponse) Reset()
- func (x *QueryGroupResponse) String() string
- func (m *QueryGroupResponse) Validate() error
- func (m *QueryGroupResponse) ValidateAll() error
- type QueryGroupResponseMultiError
- type QueryGroupResponseValidationError
- func (e QueryGroupResponseValidationError) Cause() error
- func (e QueryGroupResponseValidationError) Error() string
- func (e QueryGroupResponseValidationError) ErrorName() string
- func (e QueryGroupResponseValidationError) Field() string
- func (e QueryGroupResponseValidationError) Key() bool
- func (e QueryGroupResponseValidationError) Reason() string
- type QuitGroupRequest
- func (*QuitGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuitGroupRequest) GetId() uint64
- func (x *QuitGroupRequest) GetUserId() uint64
- func (*QuitGroupRequest) ProtoMessage()
- func (x *QuitGroupRequest) ProtoReflect() protoreflect.Message
- func (x *QuitGroupRequest) Reset()
- func (x *QuitGroupRequest) String() string
- func (m *QuitGroupRequest) Validate() error
- func (m *QuitGroupRequest) ValidateAll() error
- type QuitGroupRequestMultiError
- type QuitGroupRequestValidationError
- func (e QuitGroupRequestValidationError) Cause() error
- func (e QuitGroupRequestValidationError) Error() string
- func (e QuitGroupRequestValidationError) ErrorName() string
- func (e QuitGroupRequestValidationError) Field() string
- func (e QuitGroupRequestValidationError) Key() bool
- func (e QuitGroupRequestValidationError) Reason() string
- type QuitGroupResponse
- func (*QuitGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (*QuitGroupResponse) ProtoMessage()
- func (x *QuitGroupResponse) ProtoReflect() protoreflect.Message
- func (x *QuitGroupResponse) Reset()
- func (x *QuitGroupResponse) String() string
- func (m *QuitGroupResponse) Validate() error
- func (m *QuitGroupResponse) ValidateAll() error
- type QuitGroupResponseMultiError
- type QuitGroupResponseValidationError
- func (e QuitGroupResponseValidationError) Cause() error
- func (e QuitGroupResponseValidationError) Error() string
- func (e QuitGroupResponseValidationError) ErrorName() string
- func (e QuitGroupResponseValidationError) Field() string
- func (e QuitGroupResponseValidationError) Key() bool
- func (e QuitGroupResponseValidationError) Reason() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetClientId() string
- func (x *RegisterRequest) GetGatewayId() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- func (m *RegisterRequest) Validate() error
- func (m *RegisterRequest) ValidateAll() error
- type RegisterRequestMultiError
- type RegisterRequestValidationError
- func (e RegisterRequestValidationError) Cause() error
- func (e RegisterRequestValidationError) Error() string
- func (e RegisterRequestValidationError) ErrorName() string
- func (e RegisterRequestValidationError) Field() string
- func (e RegisterRequestValidationError) Key() bool
- func (e RegisterRequestValidationError) Reason() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- func (m *RegisterResponse) Validate() error
- func (m *RegisterResponse) ValidateAll() error
- type RegisterResponseMultiError
- type RegisterResponseValidationError
- func (e RegisterResponseValidationError) Cause() error
- func (e RegisterResponseValidationError) Error() string
- func (e RegisterResponseValidationError) ErrorName() string
- func (e RegisterResponseValidationError) Field() string
- func (e RegisterResponseValidationError) Key() bool
- func (e RegisterResponseValidationError) Reason() string
- type ReviewStatus
- func (ReviewStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ReviewStatus) Enum() *ReviewStatus
- func (ReviewStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReviewStatus) Number() protoreflect.EnumNumber
- func (x ReviewStatus) String() string
- func (ReviewStatus) Type() protoreflect.EnumType
- type SendEmailRequest
- func (*SendEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendEmailRequest) GetCc() map[string]string
- func (x *SendEmailRequest) GetContent() string
- func (x *SendEmailRequest) GetReceiver() map[string]string
- func (x *SendEmailRequest) GetSubject() string
- func (*SendEmailRequest) ProtoMessage()
- func (x *SendEmailRequest) ProtoReflect() protoreflect.Message
- func (x *SendEmailRequest) Reset()
- func (x *SendEmailRequest) String() string
- func (m *SendEmailRequest) Validate() error
- func (m *SendEmailRequest) ValidateAll() error
- type SendEmailRequestMultiError
- type SendEmailRequestValidationError
- func (e SendEmailRequestValidationError) Cause() error
- func (e SendEmailRequestValidationError) Error() string
- func (e SendEmailRequestValidationError) ErrorName() string
- func (e SendEmailRequestValidationError) Field() string
- func (e SendEmailRequestValidationError) Key() bool
- func (e SendEmailRequestValidationError) Reason() string
- type SendEmailResponse
- func (*SendEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (*SendEmailResponse) ProtoMessage()
- func (x *SendEmailResponse) ProtoReflect() protoreflect.Message
- func (x *SendEmailResponse) Reset()
- func (x *SendEmailResponse) String() string
- func (m *SendEmailResponse) Validate() error
- func (m *SendEmailResponse) ValidateAll() error
- type SendEmailResponseMultiError
- type SendEmailResponseValidationError
- func (e SendEmailResponseValidationError) Cause() error
- func (e SendEmailResponseValidationError) Error() string
- func (e SendEmailResponseValidationError) ErrorName() string
- func (e SendEmailResponseValidationError) Field() string
- func (e SendEmailResponseValidationError) Key() bool
- func (e SendEmailResponseValidationError) Reason() string
- type SendGroupFaceMessageRequest
- func (*SendGroupFaceMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupFaceMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupFaceMessageRequest) GetFace() *FaceMessage
- func (x *SendGroupFaceMessageRequest) GetToGroupId() uint64
- func (*SendGroupFaceMessageRequest) ProtoMessage()
- func (x *SendGroupFaceMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupFaceMessageRequest) Reset()
- func (x *SendGroupFaceMessageRequest) String() string
- func (m *SendGroupFaceMessageRequest) Validate() error
- func (m *SendGroupFaceMessageRequest) ValidateAll() error
- type SendGroupFaceMessageRequestMultiError
- type SendGroupFaceMessageRequestValidationError
- func (e SendGroupFaceMessageRequestValidationError) Cause() error
- func (e SendGroupFaceMessageRequestValidationError) Error() string
- func (e SendGroupFaceMessageRequestValidationError) ErrorName() string
- func (e SendGroupFaceMessageRequestValidationError) Field() string
- func (e SendGroupFaceMessageRequestValidationError) Key() bool
- func (e SendGroupFaceMessageRequestValidationError) Reason() string
- type SendGroupFaceMessageResponse
- func (*SendGroupFaceMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupFaceMessageResponse) GetId() uint64
- func (*SendGroupFaceMessageResponse) ProtoMessage()
- func (x *SendGroupFaceMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupFaceMessageResponse) Reset()
- func (x *SendGroupFaceMessageResponse) String() string
- func (m *SendGroupFaceMessageResponse) Validate() error
- func (m *SendGroupFaceMessageResponse) ValidateAll() error
- type SendGroupFaceMessageResponseMultiError
- type SendGroupFaceMessageResponseValidationError
- func (e SendGroupFaceMessageResponseValidationError) Cause() error
- func (e SendGroupFaceMessageResponseValidationError) Error() string
- func (e SendGroupFaceMessageResponseValidationError) ErrorName() string
- func (e SendGroupFaceMessageResponseValidationError) Field() string
- func (e SendGroupFaceMessageResponseValidationError) Key() bool
- func (e SendGroupFaceMessageResponseValidationError) Reason() string
- type SendGroupFileMessageRequest
- func (*SendGroupFileMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupFileMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupFileMessageRequest) GetFile() *FileMessage
- func (x *SendGroupFileMessageRequest) GetToGroupId() uint64
- func (*SendGroupFileMessageRequest) ProtoMessage()
- func (x *SendGroupFileMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupFileMessageRequest) Reset()
- func (x *SendGroupFileMessageRequest) String() string
- func (m *SendGroupFileMessageRequest) Validate() error
- func (m *SendGroupFileMessageRequest) ValidateAll() error
- type SendGroupFileMessageRequestMultiError
- type SendGroupFileMessageRequestValidationError
- func (e SendGroupFileMessageRequestValidationError) Cause() error
- func (e SendGroupFileMessageRequestValidationError) Error() string
- func (e SendGroupFileMessageRequestValidationError) ErrorName() string
- func (e SendGroupFileMessageRequestValidationError) Field() string
- func (e SendGroupFileMessageRequestValidationError) Key() bool
- func (e SendGroupFileMessageRequestValidationError) Reason() string
- type SendGroupFileMessageResponse
- func (*SendGroupFileMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupFileMessageResponse) GetId() uint64
- func (*SendGroupFileMessageResponse) ProtoMessage()
- func (x *SendGroupFileMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupFileMessageResponse) Reset()
- func (x *SendGroupFileMessageResponse) String() string
- func (m *SendGroupFileMessageResponse) Validate() error
- func (m *SendGroupFileMessageResponse) ValidateAll() error
- type SendGroupFileMessageResponseMultiError
- type SendGroupFileMessageResponseValidationError
- func (e SendGroupFileMessageResponseValidationError) Cause() error
- func (e SendGroupFileMessageResponseValidationError) Error() string
- func (e SendGroupFileMessageResponseValidationError) ErrorName() string
- func (e SendGroupFileMessageResponseValidationError) Field() string
- func (e SendGroupFileMessageResponseValidationError) Key() bool
- func (e SendGroupFileMessageResponseValidationError) Reason() string
- type SendGroupImageMessageRequest
- func (*SendGroupImageMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupImageMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupImageMessageRequest) GetImage() *ImageMessageItem
- func (x *SendGroupImageMessageRequest) GetToGroupId() uint64
- func (*SendGroupImageMessageRequest) ProtoMessage()
- func (x *SendGroupImageMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupImageMessageRequest) Reset()
- func (x *SendGroupImageMessageRequest) String() string
- func (m *SendGroupImageMessageRequest) Validate() error
- func (m *SendGroupImageMessageRequest) ValidateAll() error
- type SendGroupImageMessageRequestMultiError
- type SendGroupImageMessageRequestValidationError
- func (e SendGroupImageMessageRequestValidationError) Cause() error
- func (e SendGroupImageMessageRequestValidationError) Error() string
- func (e SendGroupImageMessageRequestValidationError) ErrorName() string
- func (e SendGroupImageMessageRequestValidationError) Field() string
- func (e SendGroupImageMessageRequestValidationError) Key() bool
- func (e SendGroupImageMessageRequestValidationError) Reason() string
- type SendGroupImageMessageResponse
- func (*SendGroupImageMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupImageMessageResponse) GetId() uint64
- func (*SendGroupImageMessageResponse) ProtoMessage()
- func (x *SendGroupImageMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupImageMessageResponse) Reset()
- func (x *SendGroupImageMessageResponse) String() string
- func (m *SendGroupImageMessageResponse) Validate() error
- func (m *SendGroupImageMessageResponse) ValidateAll() error
- type SendGroupImageMessageResponseMultiError
- type SendGroupImageMessageResponseValidationError
- func (e SendGroupImageMessageResponseValidationError) Cause() error
- func (e SendGroupImageMessageResponseValidationError) Error() string
- func (e SendGroupImageMessageResponseValidationError) ErrorName() string
- func (e SendGroupImageMessageResponseValidationError) Field() string
- func (e SendGroupImageMessageResponseValidationError) Key() bool
- func (e SendGroupImageMessageResponseValidationError) Reason() string
- type SendGroupLocationMessageRequest
- func (*SendGroupLocationMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupLocationMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupLocationMessageRequest) GetLocation() *LocationMessage
- func (x *SendGroupLocationMessageRequest) GetToGroupId() uint64
- func (*SendGroupLocationMessageRequest) ProtoMessage()
- func (x *SendGroupLocationMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupLocationMessageRequest) Reset()
- func (x *SendGroupLocationMessageRequest) String() string
- func (m *SendGroupLocationMessageRequest) Validate() error
- func (m *SendGroupLocationMessageRequest) ValidateAll() error
- type SendGroupLocationMessageRequestMultiError
- type SendGroupLocationMessageRequestValidationError
- func (e SendGroupLocationMessageRequestValidationError) Cause() error
- func (e SendGroupLocationMessageRequestValidationError) Error() string
- func (e SendGroupLocationMessageRequestValidationError) ErrorName() string
- func (e SendGroupLocationMessageRequestValidationError) Field() string
- func (e SendGroupLocationMessageRequestValidationError) Key() bool
- func (e SendGroupLocationMessageRequestValidationError) Reason() string
- type SendGroupLocationMessageResponse
- func (*SendGroupLocationMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupLocationMessageResponse) GetId() uint64
- func (*SendGroupLocationMessageResponse) ProtoMessage()
- func (x *SendGroupLocationMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupLocationMessageResponse) Reset()
- func (x *SendGroupLocationMessageResponse) String() string
- func (m *SendGroupLocationMessageResponse) Validate() error
- func (m *SendGroupLocationMessageResponse) ValidateAll() error
- type SendGroupLocationMessageResponseMultiError
- type SendGroupLocationMessageResponseValidationError
- func (e SendGroupLocationMessageResponseValidationError) Cause() error
- func (e SendGroupLocationMessageResponseValidationError) Error() string
- func (e SendGroupLocationMessageResponseValidationError) ErrorName() string
- func (e SendGroupLocationMessageResponseValidationError) Field() string
- func (e SendGroupLocationMessageResponseValidationError) Key() bool
- func (e SendGroupLocationMessageResponseValidationError) Reason() string
- type SendGroupSoundMessageRequest
- func (*SendGroupSoundMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupSoundMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupSoundMessageRequest) GetSound() *SoundMessage
- func (x *SendGroupSoundMessageRequest) GetToGroupId() uint64
- func (*SendGroupSoundMessageRequest) ProtoMessage()
- func (x *SendGroupSoundMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupSoundMessageRequest) Reset()
- func (x *SendGroupSoundMessageRequest) String() string
- func (m *SendGroupSoundMessageRequest) Validate() error
- func (m *SendGroupSoundMessageRequest) ValidateAll() error
- type SendGroupSoundMessageRequestMultiError
- type SendGroupSoundMessageRequestValidationError
- func (e SendGroupSoundMessageRequestValidationError) Cause() error
- func (e SendGroupSoundMessageRequestValidationError) Error() string
- func (e SendGroupSoundMessageRequestValidationError) ErrorName() string
- func (e SendGroupSoundMessageRequestValidationError) Field() string
- func (e SendGroupSoundMessageRequestValidationError) Key() bool
- func (e SendGroupSoundMessageRequestValidationError) Reason() string
- type SendGroupSoundMessageResponse
- func (*SendGroupSoundMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupSoundMessageResponse) GetId() uint64
- func (*SendGroupSoundMessageResponse) ProtoMessage()
- func (x *SendGroupSoundMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupSoundMessageResponse) Reset()
- func (x *SendGroupSoundMessageResponse) String() string
- func (m *SendGroupSoundMessageResponse) Validate() error
- func (m *SendGroupSoundMessageResponse) ValidateAll() error
- type SendGroupSoundMessageResponseMultiError
- type SendGroupSoundMessageResponseValidationError
- func (e SendGroupSoundMessageResponseValidationError) Cause() error
- func (e SendGroupSoundMessageResponseValidationError) Error() string
- func (e SendGroupSoundMessageResponseValidationError) ErrorName() string
- func (e SendGroupSoundMessageResponseValidationError) Field() string
- func (e SendGroupSoundMessageResponseValidationError) Key() bool
- func (e SendGroupSoundMessageResponseValidationError) Reason() string
- type SendGroupTextMessageRequest
- func (*SendGroupTextMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupTextMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupTextMessageRequest) GetText() *TextMessage
- func (x *SendGroupTextMessageRequest) GetToGroupId() uint64
- func (*SendGroupTextMessageRequest) ProtoMessage()
- func (x *SendGroupTextMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupTextMessageRequest) Reset()
- func (x *SendGroupTextMessageRequest) String() string
- func (m *SendGroupTextMessageRequest) Validate() error
- func (m *SendGroupTextMessageRequest) ValidateAll() error
- type SendGroupTextMessageRequestMultiError
- type SendGroupTextMessageRequestValidationError
- func (e SendGroupTextMessageRequestValidationError) Cause() error
- func (e SendGroupTextMessageRequestValidationError) Error() string
- func (e SendGroupTextMessageRequestValidationError) ErrorName() string
- func (e SendGroupTextMessageRequestValidationError) Field() string
- func (e SendGroupTextMessageRequestValidationError) Key() bool
- func (e SendGroupTextMessageRequestValidationError) Reason() string
- type SendGroupTextMessageResponse
- func (*SendGroupTextMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupTextMessageResponse) GetId() uint64
- func (*SendGroupTextMessageResponse) ProtoMessage()
- func (x *SendGroupTextMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupTextMessageResponse) Reset()
- func (x *SendGroupTextMessageResponse) String() string
- func (m *SendGroupTextMessageResponse) Validate() error
- func (m *SendGroupTextMessageResponse) ValidateAll() error
- type SendGroupTextMessageResponseMultiError
- type SendGroupTextMessageResponseValidationError
- func (e SendGroupTextMessageResponseValidationError) Cause() error
- func (e SendGroupTextMessageResponseValidationError) Error() string
- func (e SendGroupTextMessageResponseValidationError) ErrorName() string
- func (e SendGroupTextMessageResponseValidationError) Field() string
- func (e SendGroupTextMessageResponseValidationError) Key() bool
- func (e SendGroupTextMessageResponseValidationError) Reason() string
- type SendGroupVideoMessageRequest
- func (*SendGroupVideoMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupVideoMessageRequest) GetAtUserId() []uint64
- func (x *SendGroupVideoMessageRequest) GetToGroupId() uint64
- func (x *SendGroupVideoMessageRequest) GetVideo() *VideoMessage
- func (*SendGroupVideoMessageRequest) ProtoMessage()
- func (x *SendGroupVideoMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendGroupVideoMessageRequest) Reset()
- func (x *SendGroupVideoMessageRequest) String() string
- func (m *SendGroupVideoMessageRequest) Validate() error
- func (m *SendGroupVideoMessageRequest) ValidateAll() error
- type SendGroupVideoMessageRequestMultiError
- type SendGroupVideoMessageRequestValidationError
- func (e SendGroupVideoMessageRequestValidationError) Cause() error
- func (e SendGroupVideoMessageRequestValidationError) Error() string
- func (e SendGroupVideoMessageRequestValidationError) ErrorName() string
- func (e SendGroupVideoMessageRequestValidationError) Field() string
- func (e SendGroupVideoMessageRequestValidationError) Key() bool
- func (e SendGroupVideoMessageRequestValidationError) Reason() string
- type SendGroupVideoMessageResponse
- func (*SendGroupVideoMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendGroupVideoMessageResponse) GetId() uint64
- func (*SendGroupVideoMessageResponse) ProtoMessage()
- func (x *SendGroupVideoMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendGroupVideoMessageResponse) Reset()
- func (x *SendGroupVideoMessageResponse) String() string
- func (m *SendGroupVideoMessageResponse) Validate() error
- func (m *SendGroupVideoMessageResponse) ValidateAll() error
- type SendGroupVideoMessageResponseMultiError
- type SendGroupVideoMessageResponseValidationError
- func (e SendGroupVideoMessageResponseValidationError) Cause() error
- func (e SendGroupVideoMessageResponseValidationError) Error() string
- func (e SendGroupVideoMessageResponseValidationError) ErrorName() string
- func (e SendGroupVideoMessageResponseValidationError) Field() string
- func (e SendGroupVideoMessageResponseValidationError) Key() bool
- func (e SendGroupVideoMessageResponseValidationError) Reason() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetCmd() string
- func (x *SendMessageRequest) GetData() []byte
- func (x *SendMessageRequest) GetGatewayId() string
- func (x *SendMessageRequest) GetRequestId() uint32
- func (x *SendMessageRequest) GetSenderId() string
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- func (m *SendMessageRequest) Validate() error
- func (m *SendMessageRequest) ValidateAll() error
- type SendMessageRequestMultiError
- type SendMessageRequestValidationError
- func (e SendMessageRequestValidationError) Cause() error
- func (e SendMessageRequestValidationError) Error() string
- func (e SendMessageRequestValidationError) ErrorName() string
- func (e SendMessageRequestValidationError) Field() string
- func (e SendMessageRequestValidationError) Key() bool
- func (e SendMessageRequestValidationError) Reason() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetCmd() string
- func (x *SendMessageResponse) GetData() []byte
- func (x *SendMessageResponse) GetGatewayId() string
- func (x *SendMessageResponse) GetReceiverId() string
- func (x *SendMessageResponse) GetRequestId() uint32
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- func (m *SendMessageResponse) Validate() error
- func (m *SendMessageResponse) ValidateAll() error
- type SendMessageResponseMultiError
- type SendMessageResponseValidationError
- func (e SendMessageResponseValidationError) Cause() error
- func (e SendMessageResponseValidationError) Error() string
- func (e SendMessageResponseValidationError) ErrorName() string
- func (e SendMessageResponseValidationError) Field() string
- func (e SendMessageResponseValidationError) Key() bool
- func (e SendMessageResponseValidationError) Reason() string
- type SendToAllRequest
- func (*SendToAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendToAllRequest) GetData() []byte
- func (x *SendToAllRequest) GetSenderId() string
- func (*SendToAllRequest) ProtoMessage()
- func (x *SendToAllRequest) ProtoReflect() protoreflect.Message
- func (x *SendToAllRequest) Reset()
- func (x *SendToAllRequest) String() string
- func (m *SendToAllRequest) Validate() error
- func (m *SendToAllRequest) ValidateAll() error
- type SendToAllRequestMultiError
- type SendToAllRequestValidationError
- func (e SendToAllRequestValidationError) Cause() error
- func (e SendToAllRequestValidationError) Error() string
- func (e SendToAllRequestValidationError) ErrorName() string
- func (e SendToAllRequestValidationError) Field() string
- func (e SendToAllRequestValidationError) Key() bool
- func (e SendToAllRequestValidationError) Reason() string
- type SendToAllResponse
- func (*SendToAllResponse) Descriptor() ([]byte, []int)deprecated
- func (*SendToAllResponse) ProtoMessage()
- func (x *SendToAllResponse) ProtoReflect() protoreflect.Message
- func (x *SendToAllResponse) Reset()
- func (x *SendToAllResponse) String() string
- func (m *SendToAllResponse) Validate() error
- func (m *SendToAllResponse) ValidateAll() error
- type SendToAllResponseMultiError
- type SendToAllResponseValidationError
- func (e SendToAllResponseValidationError) Cause() error
- func (e SendToAllResponseValidationError) Error() string
- func (e SendToAllResponseValidationError) ErrorName() string
- func (e SendToAllResponseValidationError) Field() string
- func (e SendToAllResponseValidationError) Key() bool
- func (e SendToAllResponseValidationError) Reason() string
- type SendUserFaceMessageRequest
- func (*SendUserFaceMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserFaceMessageRequest) GetFace() *FaceMessage
- func (x *SendUserFaceMessageRequest) GetToUserId() uint64
- func (*SendUserFaceMessageRequest) ProtoMessage()
- func (x *SendUserFaceMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserFaceMessageRequest) Reset()
- func (x *SendUserFaceMessageRequest) String() string
- func (m *SendUserFaceMessageRequest) Validate() error
- func (m *SendUserFaceMessageRequest) ValidateAll() error
- type SendUserFaceMessageRequestMultiError
- type SendUserFaceMessageRequestValidationError
- func (e SendUserFaceMessageRequestValidationError) Cause() error
- func (e SendUserFaceMessageRequestValidationError) Error() string
- func (e SendUserFaceMessageRequestValidationError) ErrorName() string
- func (e SendUserFaceMessageRequestValidationError) Field() string
- func (e SendUserFaceMessageRequestValidationError) Key() bool
- func (e SendUserFaceMessageRequestValidationError) Reason() string
- type SendUserFaceMessageResponse
- func (*SendUserFaceMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserFaceMessageResponse) GetId() uint64
- func (*SendUserFaceMessageResponse) ProtoMessage()
- func (x *SendUserFaceMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserFaceMessageResponse) Reset()
- func (x *SendUserFaceMessageResponse) String() string
- func (m *SendUserFaceMessageResponse) Validate() error
- func (m *SendUserFaceMessageResponse) ValidateAll() error
- type SendUserFaceMessageResponseMultiError
- type SendUserFaceMessageResponseValidationError
- func (e SendUserFaceMessageResponseValidationError) Cause() error
- func (e SendUserFaceMessageResponseValidationError) Error() string
- func (e SendUserFaceMessageResponseValidationError) ErrorName() string
- func (e SendUserFaceMessageResponseValidationError) Field() string
- func (e SendUserFaceMessageResponseValidationError) Key() bool
- func (e SendUserFaceMessageResponseValidationError) Reason() string
- type SendUserFileMessageRequest
- func (*SendUserFileMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserFileMessageRequest) GetFile() *FileMessage
- func (x *SendUserFileMessageRequest) GetToUserId() uint64
- func (*SendUserFileMessageRequest) ProtoMessage()
- func (x *SendUserFileMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserFileMessageRequest) Reset()
- func (x *SendUserFileMessageRequest) String() string
- func (m *SendUserFileMessageRequest) Validate() error
- func (m *SendUserFileMessageRequest) ValidateAll() error
- type SendUserFileMessageRequestMultiError
- type SendUserFileMessageRequestValidationError
- func (e SendUserFileMessageRequestValidationError) Cause() error
- func (e SendUserFileMessageRequestValidationError) Error() string
- func (e SendUserFileMessageRequestValidationError) ErrorName() string
- func (e SendUserFileMessageRequestValidationError) Field() string
- func (e SendUserFileMessageRequestValidationError) Key() bool
- func (e SendUserFileMessageRequestValidationError) Reason() string
- type SendUserFileMessageResponse
- func (*SendUserFileMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserFileMessageResponse) GetId() uint64
- func (*SendUserFileMessageResponse) ProtoMessage()
- func (x *SendUserFileMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserFileMessageResponse) Reset()
- func (x *SendUserFileMessageResponse) String() string
- func (m *SendUserFileMessageResponse) Validate() error
- func (m *SendUserFileMessageResponse) ValidateAll() error
- type SendUserFileMessageResponseMultiError
- type SendUserFileMessageResponseValidationError
- func (e SendUserFileMessageResponseValidationError) Cause() error
- func (e SendUserFileMessageResponseValidationError) Error() string
- func (e SendUserFileMessageResponseValidationError) ErrorName() string
- func (e SendUserFileMessageResponseValidationError) Field() string
- func (e SendUserFileMessageResponseValidationError) Key() bool
- func (e SendUserFileMessageResponseValidationError) Reason() string
- type SendUserImageMessageRequest
- func (*SendUserImageMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserImageMessageRequest) GetImage() *ImageMessageItem
- func (x *SendUserImageMessageRequest) GetToUserId() uint64
- func (*SendUserImageMessageRequest) ProtoMessage()
- func (x *SendUserImageMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserImageMessageRequest) Reset()
- func (x *SendUserImageMessageRequest) String() string
- func (m *SendUserImageMessageRequest) Validate() error
- func (m *SendUserImageMessageRequest) ValidateAll() error
- type SendUserImageMessageRequestMultiError
- type SendUserImageMessageRequestValidationError
- func (e SendUserImageMessageRequestValidationError) Cause() error
- func (e SendUserImageMessageRequestValidationError) Error() string
- func (e SendUserImageMessageRequestValidationError) ErrorName() string
- func (e SendUserImageMessageRequestValidationError) Field() string
- func (e SendUserImageMessageRequestValidationError) Key() bool
- func (e SendUserImageMessageRequestValidationError) Reason() string
- type SendUserImageMessageResponse
- func (*SendUserImageMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserImageMessageResponse) GetId() uint64
- func (*SendUserImageMessageResponse) ProtoMessage()
- func (x *SendUserImageMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserImageMessageResponse) Reset()
- func (x *SendUserImageMessageResponse) String() string
- func (m *SendUserImageMessageResponse) Validate() error
- func (m *SendUserImageMessageResponse) ValidateAll() error
- type SendUserImageMessageResponseMultiError
- type SendUserImageMessageResponseValidationError
- func (e SendUserImageMessageResponseValidationError) Cause() error
- func (e SendUserImageMessageResponseValidationError) Error() string
- func (e SendUserImageMessageResponseValidationError) ErrorName() string
- func (e SendUserImageMessageResponseValidationError) Field() string
- func (e SendUserImageMessageResponseValidationError) Key() bool
- func (e SendUserImageMessageResponseValidationError) Reason() string
- type SendUserLocationMessageRequest
- func (*SendUserLocationMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserLocationMessageRequest) GetLocation() *LocationMessage
- func (x *SendUserLocationMessageRequest) GetToUserId() uint64
- func (*SendUserLocationMessageRequest) ProtoMessage()
- func (x *SendUserLocationMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserLocationMessageRequest) Reset()
- func (x *SendUserLocationMessageRequest) String() string
- func (m *SendUserLocationMessageRequest) Validate() error
- func (m *SendUserLocationMessageRequest) ValidateAll() error
- type SendUserLocationMessageRequestMultiError
- type SendUserLocationMessageRequestValidationError
- func (e SendUserLocationMessageRequestValidationError) Cause() error
- func (e SendUserLocationMessageRequestValidationError) Error() string
- func (e SendUserLocationMessageRequestValidationError) ErrorName() string
- func (e SendUserLocationMessageRequestValidationError) Field() string
- func (e SendUserLocationMessageRequestValidationError) Key() bool
- func (e SendUserLocationMessageRequestValidationError) Reason() string
- type SendUserLocationMessageResponse
- func (*SendUserLocationMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserLocationMessageResponse) GetId() uint64
- func (*SendUserLocationMessageResponse) ProtoMessage()
- func (x *SendUserLocationMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserLocationMessageResponse) Reset()
- func (x *SendUserLocationMessageResponse) String() string
- func (m *SendUserLocationMessageResponse) Validate() error
- func (m *SendUserLocationMessageResponse) ValidateAll() error
- type SendUserLocationMessageResponseMultiError
- type SendUserLocationMessageResponseValidationError
- func (e SendUserLocationMessageResponseValidationError) Cause() error
- func (e SendUserLocationMessageResponseValidationError) Error() string
- func (e SendUserLocationMessageResponseValidationError) ErrorName() string
- func (e SendUserLocationMessageResponseValidationError) Field() string
- func (e SendUserLocationMessageResponseValidationError) Key() bool
- func (e SendUserLocationMessageResponseValidationError) Reason() string
- type SendUserSoundMessageRequest
- func (*SendUserSoundMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserSoundMessageRequest) GetSound() *SoundMessage
- func (x *SendUserSoundMessageRequest) GetToUserId() uint64
- func (*SendUserSoundMessageRequest) ProtoMessage()
- func (x *SendUserSoundMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserSoundMessageRequest) Reset()
- func (x *SendUserSoundMessageRequest) String() string
- func (m *SendUserSoundMessageRequest) Validate() error
- func (m *SendUserSoundMessageRequest) ValidateAll() error
- type SendUserSoundMessageRequestMultiError
- type SendUserSoundMessageRequestValidationError
- func (e SendUserSoundMessageRequestValidationError) Cause() error
- func (e SendUserSoundMessageRequestValidationError) Error() string
- func (e SendUserSoundMessageRequestValidationError) ErrorName() string
- func (e SendUserSoundMessageRequestValidationError) Field() string
- func (e SendUserSoundMessageRequestValidationError) Key() bool
- func (e SendUserSoundMessageRequestValidationError) Reason() string
- type SendUserSoundMessageResponse
- func (*SendUserSoundMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserSoundMessageResponse) GetId() uint64
- func (*SendUserSoundMessageResponse) ProtoMessage()
- func (x *SendUserSoundMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserSoundMessageResponse) Reset()
- func (x *SendUserSoundMessageResponse) String() string
- func (m *SendUserSoundMessageResponse) Validate() error
- func (m *SendUserSoundMessageResponse) ValidateAll() error
- type SendUserSoundMessageResponseMultiError
- type SendUserSoundMessageResponseValidationError
- func (e SendUserSoundMessageResponseValidationError) Cause() error
- func (e SendUserSoundMessageResponseValidationError) Error() string
- func (e SendUserSoundMessageResponseValidationError) ErrorName() string
- func (e SendUserSoundMessageResponseValidationError) Field() string
- func (e SendUserSoundMessageResponseValidationError) Key() bool
- func (e SendUserSoundMessageResponseValidationError) Reason() string
- type SendUserTextMessageRequest
- func (*SendUserTextMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserTextMessageRequest) GetText() *TextMessage
- func (x *SendUserTextMessageRequest) GetToUserId() uint64
- func (*SendUserTextMessageRequest) ProtoMessage()
- func (x *SendUserTextMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserTextMessageRequest) Reset()
- func (x *SendUserTextMessageRequest) String() string
- func (m *SendUserTextMessageRequest) Validate() error
- func (m *SendUserTextMessageRequest) ValidateAll() error
- type SendUserTextMessageRequestMultiError
- type SendUserTextMessageRequestValidationError
- func (e SendUserTextMessageRequestValidationError) Cause() error
- func (e SendUserTextMessageRequestValidationError) Error() string
- func (e SendUserTextMessageRequestValidationError) ErrorName() string
- func (e SendUserTextMessageRequestValidationError) Field() string
- func (e SendUserTextMessageRequestValidationError) Key() bool
- func (e SendUserTextMessageRequestValidationError) Reason() string
- type SendUserTextMessageResponse
- func (*SendUserTextMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserTextMessageResponse) GetId() uint64
- func (*SendUserTextMessageResponse) ProtoMessage()
- func (x *SendUserTextMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserTextMessageResponse) Reset()
- func (x *SendUserTextMessageResponse) String() string
- func (m *SendUserTextMessageResponse) Validate() error
- func (m *SendUserTextMessageResponse) ValidateAll() error
- type SendUserTextMessageResponseMultiError
- type SendUserTextMessageResponseValidationError
- func (e SendUserTextMessageResponseValidationError) Cause() error
- func (e SendUserTextMessageResponseValidationError) Error() string
- func (e SendUserTextMessageResponseValidationError) ErrorName() string
- func (e SendUserTextMessageResponseValidationError) Field() string
- func (e SendUserTextMessageResponseValidationError) Key() bool
- func (e SendUserTextMessageResponseValidationError) Reason() string
- type SendUserVideoMessageRequest
- func (*SendUserVideoMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserVideoMessageRequest) GetToUserId() uint64
- func (x *SendUserVideoMessageRequest) GetVideo() *VideoMessage
- func (*SendUserVideoMessageRequest) ProtoMessage()
- func (x *SendUserVideoMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendUserVideoMessageRequest) Reset()
- func (x *SendUserVideoMessageRequest) String() string
- func (m *SendUserVideoMessageRequest) Validate() error
- func (m *SendUserVideoMessageRequest) ValidateAll() error
- type SendUserVideoMessageRequestMultiError
- type SendUserVideoMessageRequestValidationError
- func (e SendUserVideoMessageRequestValidationError) Cause() error
- func (e SendUserVideoMessageRequestValidationError) Error() string
- func (e SendUserVideoMessageRequestValidationError) ErrorName() string
- func (e SendUserVideoMessageRequestValidationError) Field() string
- func (e SendUserVideoMessageRequestValidationError) Key() bool
- func (e SendUserVideoMessageRequestValidationError) Reason() string
- type SendUserVideoMessageResponse
- func (*SendUserVideoMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendUserVideoMessageResponse) GetId() uint64
- func (*SendUserVideoMessageResponse) ProtoMessage()
- func (x *SendUserVideoMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendUserVideoMessageResponse) Reset()
- func (x *SendUserVideoMessageResponse) String() string
- func (m *SendUserVideoMessageResponse) Validate() error
- func (m *SendUserVideoMessageResponse) ValidateAll() error
- type SendUserVideoMessageResponseMultiError
- type SendUserVideoMessageResponseValidationError
- func (e SendUserVideoMessageResponseValidationError) Cause() error
- func (e SendUserVideoMessageResponseValidationError) Error() string
- func (e SendUserVideoMessageResponseValidationError) ErrorName() string
- func (e SendUserVideoMessageResponseValidationError) Field() string
- func (e SendUserVideoMessageResponseValidationError) Key() bool
- func (e SendUserVideoMessageResponseValidationError) Reason() string
- type SoundMessage
- func (*SoundMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SoundMessage) GetId() uint64
- func (x *SoundMessage) GetSeconds() uint64
- func (x *SoundMessage) GetSize() uint64
- func (x *SoundMessage) GetUrl() string
- func (*SoundMessage) ProtoMessage()
- func (x *SoundMessage) ProtoReflect() protoreflect.Message
- func (x *SoundMessage) Reset()
- func (x *SoundMessage) String() string
- func (m *SoundMessage) Validate() error
- func (m *SoundMessage) ValidateAll() error
- type SoundMessageMultiError
- type SoundMessageValidationError
- func (e SoundMessageValidationError) Cause() error
- func (e SoundMessageValidationError) Error() string
- func (e SoundMessageValidationError) ErrorName() string
- func (e SoundMessageValidationError) Field() string
- func (e SoundMessageValidationError) Key() bool
- func (e SoundMessageValidationError) Reason() string
- type TextMessage
- func (*TextMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TextMessage) GetContent() string
- func (x *TextMessage) GetId() uint64
- func (*TextMessage) ProtoMessage()
- func (x *TextMessage) ProtoReflect() protoreflect.Message
- func (x *TextMessage) Reset()
- func (x *TextMessage) String() string
- func (m *TextMessage) Validate() error
- func (m *TextMessage) ValidateAll() error
- type TextMessageMultiError
- type TextMessageValidationError
- func (e TextMessageValidationError) Cause() error
- func (e TextMessageValidationError) Error() string
- func (e TextMessageValidationError) ErrorName() string
- func (e TextMessageValidationError) Field() string
- func (e TextMessageValidationError) Key() bool
- func (e TextMessageValidationError) Reason() string
- type UnRegisterRequest
- func (*UnRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnRegisterRequest) GetClientId() string
- func (x *UnRegisterRequest) GetGatewayId() string
- func (*UnRegisterRequest) ProtoMessage()
- func (x *UnRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *UnRegisterRequest) Reset()
- func (x *UnRegisterRequest) String() string
- func (m *UnRegisterRequest) Validate() error
- func (m *UnRegisterRequest) ValidateAll() error
- type UnRegisterRequestMultiError
- type UnRegisterRequestValidationError
- func (e UnRegisterRequestValidationError) Cause() error
- func (e UnRegisterRequestValidationError) Error() string
- func (e UnRegisterRequestValidationError) ErrorName() string
- func (e UnRegisterRequestValidationError) Field() string
- func (e UnRegisterRequestValidationError) Key() bool
- func (e UnRegisterRequestValidationError) Reason() string
- type UnRegisterResponse
- func (*UnRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (*UnRegisterResponse) ProtoMessage()
- func (x *UnRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *UnRegisterResponse) Reset()
- func (x *UnRegisterResponse) String() string
- func (m *UnRegisterResponse) Validate() error
- func (m *UnRegisterResponse) ValidateAll() error
- type UnRegisterResponseMultiError
- type UnRegisterResponseValidationError
- func (e UnRegisterResponseValidationError) Cause() error
- func (e UnRegisterResponseValidationError) Error() string
- func (e UnRegisterResponseValidationError) ErrorName() string
- func (e UnRegisterResponseValidationError) Field() string
- func (e UnRegisterResponseValidationError) Key() bool
- func (e UnRegisterResponseValidationError) Reason() string
- type UnimplementedCommonServiceServer
- func (UnimplementedCommonServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedCommonServiceServer) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
- func (UnimplementedCommonServiceServer) UploadImage(CommonService_UploadImageServer) error
- type UnimplementedFeedServiceServer
- func (UnimplementedFeedServiceServer) FeedCreate(context.Context, *FeedCreateRequest) (*FeedCreateResponse, error)
- func (UnimplementedFeedServiceServer) FeedDelete(context.Context, *FeedDeleteRequest) (*FeedDeleteResponse, error)
- func (UnimplementedFeedServiceServer) FeedEdit(context.Context, *FeedEditRequest) (*FeedEditResponse, error)
- func (UnimplementedFeedServiceServer) FeedFollow(context.Context, *FeedFollowRequest) (*FeedFollowResponse, error)
- func (UnimplementedFeedServiceServer) FeedGet(context.Context, *FeedGetRequest) (*FeedGetResponse, error)
- func (UnimplementedFeedServiceServer) FeedLike(context.Context, *FeedLikeRequest) (*FeedLikeResponse, error)
- func (UnimplementedFeedServiceServer) FeedOwn(context.Context, *FeedOwnRequest) (*FeedOwnResponse, error)
- func (UnimplementedFeedServiceServer) FeedQuery(context.Context, *FeedQueryRequest) (*FeedQueryResponse, error)
- func (UnimplementedFeedServiceServer) FeedUnLike(context.Context, *FeedUnLikeRequest) (*FeedUnLikeResponse, error)
- func (UnimplementedFeedServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- type UnimplementedGatewayServiceServer
- func (UnimplementedGatewayServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedGatewayServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedGatewayServiceServer) SendMessage(GatewayService_SendMessageServer) error
- func (UnimplementedGatewayServiceServer) SendToAll(context.Context, *SendToAllRequest) (*SendToAllResponse, error)
- func (UnimplementedGatewayServiceServer) UnRegister(context.Context, *UnRegisterRequest) (*UnRegisterResponse, error)
- type UnimplementedGroupServiceServer
- func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
- func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
- func (UnimplementedGroupServiceServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
- func (UnimplementedGroupServiceServer) JoinGroup(context.Context, *JoinGroupRequest) (*JoinGroupResponse, error)
- func (UnimplementedGroupServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedGroupServiceServer) QueryGroup(context.Context, *QueryGroupRequest) (*QueryGroupResponse, error)
- func (UnimplementedGroupServiceServer) QuitGroup(context.Context, *QuitGroupRequest) (*QuitGroupResponse, error)
- func (UnimplementedGroupServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
- type UnimplementedMessageServiceServer
- func (UnimplementedMessageServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupFceMessage(context.Context, *SendGroupFaceMessageRequest) (*SendGroupFaceMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupFileMessage(context.Context, *SendGroupFileMessageRequest) (*SendGroupFileMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupImageMessage(context.Context, *SendGroupImageMessageRequest) (*SendGroupImageMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupLocationMessage(context.Context, *SendGroupLocationMessageRequest) (*SendGroupLocationMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupSoundMessage(context.Context, *SendGroupSoundMessageRequest) (*SendGroupSoundMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupTextMessage(context.Context, *SendGroupTextMessageRequest) (*SendGroupTextMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendGroupVideoMessage(context.Context, *SendGroupVideoMessageRequest) (*SendGroupVideoMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserFaceMessage(context.Context, *SendUserFaceMessageRequest) (*SendUserFaceMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserFileMessage(context.Context, *SendUserFileMessageRequest) (*SendUserFileMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserImageMessage(context.Context, *SendUserImageMessageRequest) (*SendUserImageMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserLocationMessage(context.Context, *SendUserLocationMessageRequest) (*SendUserLocationMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserSoundMessage(context.Context, *SendUserSoundMessageRequest) (*SendUserSoundMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserTextMessage(context.Context, *SendUserTextMessageRequest) (*SendUserTextMessageResponse, error)
- func (UnimplementedMessageServiceServer) SendUserVideoMessage(context.Context, *SendUserVideoMessageRequest) (*SendUserVideoMessageResponse, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *UserCreateRequest) (*UserCreateResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *UserGetRequest) (*UserGetResponse, error)
- func (UnimplementedUserServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedUserServiceServer) QueryUser(context.Context, *UserQueryRequest) (*UserQueryResponse, error)
- func (UnimplementedUserServiceServer) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*UpdateAvatarResponse, error)
- func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- func (UnimplementedUserServiceServer) UserLogin(context.Context, *UserLoginRequest) (*UserLoginResponse, error)
- type UnsafeCommonServiceServer
- type UnsafeFeedServiceServer
- type UnsafeGatewayServiceServer
- type UnsafeGroupServiceServer
- type UnsafeMessageServiceServer
- type UnsafeUserServiceServer
- type UpdateAvatarRequest
- func (*UpdateAvatarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAvatarRequest) GetUrl() string
- func (*UpdateAvatarRequest) ProtoMessage()
- func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAvatarRequest) Reset()
- func (x *UpdateAvatarRequest) String() string
- func (m *UpdateAvatarRequest) Validate() error
- func (m *UpdateAvatarRequest) ValidateAll() error
- type UpdateAvatarRequestMultiError
- type UpdateAvatarRequestValidationError
- func (e UpdateAvatarRequestValidationError) Cause() error
- func (e UpdateAvatarRequestValidationError) Error() string
- func (e UpdateAvatarRequestValidationError) ErrorName() string
- func (e UpdateAvatarRequestValidationError) Field() string
- func (e UpdateAvatarRequestValidationError) Key() bool
- func (e UpdateAvatarRequestValidationError) Reason() string
- type UpdateAvatarResponse
- func (*UpdateAvatarResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateAvatarResponse) ProtoMessage()
- func (x *UpdateAvatarResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAvatarResponse) Reset()
- func (x *UpdateAvatarResponse) String() string
- func (m *UpdateAvatarResponse) Validate() error
- func (m *UpdateAvatarResponse) ValidateAll() error
- type UpdateAvatarResponseMultiError
- type UpdateAvatarResponseValidationError
- func (e UpdateAvatarResponseValidationError) Cause() error
- func (e UpdateAvatarResponseValidationError) Error() string
- func (e UpdateAvatarResponseValidationError) ErrorName() string
- func (e UpdateAvatarResponseValidationError) Field() string
- func (e UpdateAvatarResponseValidationError) Key() bool
- func (e UpdateAvatarResponseValidationError) Reason() string
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupRequest) GetAvatarUrl() string
- func (x *UpdateGroupRequest) GetId() uint64
- func (x *UpdateGroupRequest) GetIntroduction() string
- func (x *UpdateGroupRequest) GetName() string
- func (*UpdateGroupRequest) ProtoMessage()
- func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupRequest) Reset()
- func (x *UpdateGroupRequest) String() string
- func (m *UpdateGroupRequest) Validate() error
- func (m *UpdateGroupRequest) ValidateAll() error
- type UpdateGroupRequestMultiError
- type UpdateGroupRequestValidationError
- func (e UpdateGroupRequestValidationError) Cause() error
- func (e UpdateGroupRequestValidationError) Error() string
- func (e UpdateGroupRequestValidationError) ErrorName() string
- func (e UpdateGroupRequestValidationError) Field() string
- func (e UpdateGroupRequestValidationError) Key() bool
- func (e UpdateGroupRequestValidationError) Reason() string
- type UpdateGroupResponse
- func (*UpdateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateGroupResponse) ProtoMessage()
- func (x *UpdateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupResponse) Reset()
- func (x *UpdateGroupResponse) String() string
- func (m *UpdateGroupResponse) Validate() error
- func (m *UpdateGroupResponse) ValidateAll() error
- type UpdateGroupResponseMultiError
- type UpdateGroupResponseValidationError
- func (e UpdateGroupResponseValidationError) Cause() error
- func (e UpdateGroupResponseValidationError) Error() string
- func (e UpdateGroupResponseValidationError) ErrorName() string
- func (e UpdateGroupResponseValidationError) Field() string
- func (e UpdateGroupResponseValidationError) Key() bool
- func (e UpdateGroupResponseValidationError) Reason() string
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetPassword() string
- func (x *UpdatePasswordRequest) GetPasswordRpt() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- func (m *UpdatePasswordRequest) Validate() error
- func (m *UpdatePasswordRequest) ValidateAll() error
- type UpdatePasswordRequestMultiError
- type UpdatePasswordRequestValidationError
- func (e UpdatePasswordRequestValidationError) Cause() error
- func (e UpdatePasswordRequestValidationError) Error() string
- func (e UpdatePasswordRequestValidationError) ErrorName() string
- func (e UpdatePasswordRequestValidationError) Field() string
- func (e UpdatePasswordRequestValidationError) Key() bool
- func (e UpdatePasswordRequestValidationError) Reason() string
- type UpdatePasswordResponse
- func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdatePasswordResponse) ProtoMessage()
- func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordResponse) Reset()
- func (x *UpdatePasswordResponse) String() string
- func (m *UpdatePasswordResponse) Validate() error
- func (m *UpdatePasswordResponse) ValidateAll() error
- type UpdatePasswordResponseMultiError
- type UpdatePasswordResponseValidationError
- func (e UpdatePasswordResponseValidationError) Cause() error
- func (e UpdatePasswordResponseValidationError) Error() string
- func (e UpdatePasswordResponseValidationError) ErrorName() string
- func (e UpdatePasswordResponseValidationError) Field() string
- func (e UpdatePasswordResponseValidationError) Key() bool
- func (e UpdatePasswordResponseValidationError) Reason() string
- type UploadImageRequest
- func (*UploadImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadImageRequest) GetContent() []byte
- func (*UploadImageRequest) ProtoMessage()
- func (x *UploadImageRequest) ProtoReflect() protoreflect.Message
- func (x *UploadImageRequest) Reset()
- func (x *UploadImageRequest) String() string
- func (m *UploadImageRequest) Validate() error
- func (m *UploadImageRequest) ValidateAll() error
- type UploadImageRequestMultiError
- type UploadImageRequestValidationError
- func (e UploadImageRequestValidationError) Cause() error
- func (e UploadImageRequestValidationError) Error() string
- func (e UploadImageRequestValidationError) ErrorName() string
- func (e UploadImageRequestValidationError) Field() string
- func (e UploadImageRequestValidationError) Key() bool
- func (e UploadImageRequestValidationError) Reason() string
- type UploadImageResponse
- func (*UploadImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadImageResponse) GetUrl() string
- func (*UploadImageResponse) ProtoMessage()
- func (x *UploadImageResponse) ProtoReflect() protoreflect.Message
- func (x *UploadImageResponse) Reset()
- func (x *UploadImageResponse) String() string
- func (m *UploadImageResponse) Validate() error
- func (m *UploadImageResponse) ValidateAll() error
- type UploadImageResponseMultiError
- type UploadImageResponseValidationError
- func (e UploadImageResponseValidationError) Cause() error
- func (e UploadImageResponseValidationError) Error() string
- func (e UploadImageResponseValidationError) ErrorName() string
- func (e UploadImageResponseValidationError) Field() string
- func (e UploadImageResponseValidationError) Key() bool
- func (e UploadImageResponseValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarUrl() string
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetDeletedAt() *timestamppb.Timestamp
- func (x *User) GetExtra() string
- func (x *User) GetGender() Gender
- func (x *User) GetId() uint64
- func (x *User) GetNickname() string
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserCreateRequest
- func (*UserCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateRequest) GetAvatarUrl() string
- func (x *UserCreateRequest) GetGender() Gender
- func (x *UserCreateRequest) GetNickname() string
- func (x *UserCreateRequest) GetPassword() string
- func (x *UserCreateRequest) GetPasswordRpt() string
- func (*UserCreateRequest) ProtoMessage()
- func (x *UserCreateRequest) ProtoReflect() protoreflect.Message
- func (x *UserCreateRequest) Reset()
- func (x *UserCreateRequest) String() string
- func (m *UserCreateRequest) Validate() error
- func (m *UserCreateRequest) ValidateAll() error
- type UserCreateRequestMultiError
- type UserCreateRequestValidationError
- func (e UserCreateRequestValidationError) Cause() error
- func (e UserCreateRequestValidationError) Error() string
- func (e UserCreateRequestValidationError) ErrorName() string
- func (e UserCreateRequestValidationError) Field() string
- func (e UserCreateRequestValidationError) Key() bool
- func (e UserCreateRequestValidationError) Reason() string
- type UserCreateResponse
- func (*UserCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateResponse) GetUser() *User
- func (*UserCreateResponse) ProtoMessage()
- func (x *UserCreateResponse) ProtoReflect() protoreflect.Message
- func (x *UserCreateResponse) Reset()
- func (x *UserCreateResponse) String() string
- func (m *UserCreateResponse) Validate() error
- func (m *UserCreateResponse) ValidateAll() error
- type UserCreateResponseMultiError
- type UserCreateResponseValidationError
- func (e UserCreateResponseValidationError) Cause() error
- func (e UserCreateResponseValidationError) Error() string
- func (e UserCreateResponseValidationError) ErrorName() string
- func (e UserCreateResponseValidationError) Field() string
- func (e UserCreateResponseValidationError) Key() bool
- func (e UserCreateResponseValidationError) Reason() string
- type UserGetRequest
- func (*UserGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserGetRequest) GetId() uint64
- func (*UserGetRequest) ProtoMessage()
- func (x *UserGetRequest) ProtoReflect() protoreflect.Message
- func (x *UserGetRequest) Reset()
- func (x *UserGetRequest) String() string
- func (m *UserGetRequest) Validate() error
- func (m *UserGetRequest) ValidateAll() error
- type UserGetRequestMultiError
- type UserGetRequestValidationError
- func (e UserGetRequestValidationError) Cause() error
- func (e UserGetRequestValidationError) Error() string
- func (e UserGetRequestValidationError) ErrorName() string
- func (e UserGetRequestValidationError) Field() string
- func (e UserGetRequestValidationError) Key() bool
- func (e UserGetRequestValidationError) Reason() string
- type UserGetResponse
- func (*UserGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserGetResponse) GetUser() *User
- func (*UserGetResponse) ProtoMessage()
- func (x *UserGetResponse) ProtoReflect() protoreflect.Message
- func (x *UserGetResponse) Reset()
- func (x *UserGetResponse) String() string
- func (m *UserGetResponse) Validate() error
- func (m *UserGetResponse) ValidateAll() error
- type UserGetResponseMultiError
- type UserGetResponseValidationError
- func (e UserGetResponseValidationError) Cause() error
- func (e UserGetResponseValidationError) Error() string
- func (e UserGetResponseValidationError) ErrorName() string
- func (e UserGetResponseValidationError) Field() string
- func (e UserGetResponseValidationError) Key() bool
- func (e UserGetResponseValidationError) Reason() string
- type UserLoginRequest
- func (*UserLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginRequest) GetNickname() string
- func (x *UserLoginRequest) GetPassword() string
- func (*UserLoginRequest) ProtoMessage()
- func (x *UserLoginRequest) ProtoReflect() protoreflect.Message
- func (x *UserLoginRequest) Reset()
- func (x *UserLoginRequest) String() string
- func (m *UserLoginRequest) Validate() error
- func (m *UserLoginRequest) ValidateAll() error
- type UserLoginRequestMultiError
- type UserLoginRequestValidationError
- func (e UserLoginRequestValidationError) Cause() error
- func (e UserLoginRequestValidationError) Error() string
- func (e UserLoginRequestValidationError) ErrorName() string
- func (e UserLoginRequestValidationError) Field() string
- func (e UserLoginRequestValidationError) Key() bool
- func (e UserLoginRequestValidationError) Reason() string
- type UserLoginResponse
- func (*UserLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginResponse) GetToken() string
- func (*UserLoginResponse) ProtoMessage()
- func (x *UserLoginResponse) ProtoReflect() protoreflect.Message
- func (x *UserLoginResponse) Reset()
- func (x *UserLoginResponse) String() string
- func (m *UserLoginResponse) Validate() error
- func (m *UserLoginResponse) ValidateAll() error
- type UserLoginResponseMultiError
- type UserLoginResponseValidationError
- func (e UserLoginResponseValidationError) Cause() error
- func (e UserLoginResponseValidationError) Error() string
- func (e UserLoginResponseValidationError) ErrorName() string
- func (e UserLoginResponseValidationError) Field() string
- func (e UserLoginResponseValidationError) Key() bool
- func (e UserLoginResponseValidationError) Reason() string
- type UserMultiError
- type UserQueryRequest
- func (*UserQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserQueryRequest) GetKeyword() string
- func (x *UserQueryRequest) GetPage() uint64
- func (x *UserQueryRequest) GetPageSize() uint64
- func (*UserQueryRequest) ProtoMessage()
- func (x *UserQueryRequest) ProtoReflect() protoreflect.Message
- func (x *UserQueryRequest) Reset()
- func (x *UserQueryRequest) String() string
- func (m *UserQueryRequest) Validate() error
- func (m *UserQueryRequest) ValidateAll() error
- type UserQueryRequestMultiError
- type UserQueryRequestValidationError
- func (e UserQueryRequestValidationError) Cause() error
- func (e UserQueryRequestValidationError) Error() string
- func (e UserQueryRequestValidationError) ErrorName() string
- func (e UserQueryRequestValidationError) Field() string
- func (e UserQueryRequestValidationError) Key() bool
- func (e UserQueryRequestValidationError) Reason() string
- type UserQueryResponse
- func (*UserQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserQueryResponse) GetPager() *Pager
- func (x *UserQueryResponse) GetUser() []*User
- func (*UserQueryResponse) ProtoMessage()
- func (x *UserQueryResponse) ProtoReflect() protoreflect.Message
- func (x *UserQueryResponse) Reset()
- func (x *UserQueryResponse) String() string
- func (m *UserQueryResponse) Validate() error
- func (m *UserQueryResponse) ValidateAll() error
- type UserQueryResponseMultiError
- type UserQueryResponseValidationError
- func (e UserQueryResponseValidationError) Cause() error
- func (e UserQueryResponseValidationError) Error() string
- func (e UserQueryResponseValidationError) ErrorName() string
- func (e UserQueryResponseValidationError) Field() string
- func (e UserQueryResponseValidationError) Key() bool
- func (e UserQueryResponseValidationError) Reason() string
- type UserServiceClient
- type UserServiceServer
- type UserValidationError
- type VIDEO_FORMAT
- func (VIDEO_FORMAT) Descriptor() protoreflect.EnumDescriptor
- func (x VIDEO_FORMAT) Enum() *VIDEO_FORMAT
- func (VIDEO_FORMAT) EnumDescriptor() ([]byte, []int)deprecated
- func (x VIDEO_FORMAT) Number() protoreflect.EnumNumber
- func (x VIDEO_FORMAT) String() string
- func (VIDEO_FORMAT) Type() protoreflect.EnumType
- type VideoMessage
- func (*VideoMessage) Descriptor() ([]byte, []int)deprecated
- func (x *VideoMessage) GetFormat() string
- func (x *VideoMessage) GetId() uint64
- func (x *VideoMessage) GetSeconds() uint64
- func (x *VideoMessage) GetSize() uint64
- func (x *VideoMessage) GetThumbFormat() IMAGE_FORMAT
- func (x *VideoMessage) GetThumbHeight() float64
- func (x *VideoMessage) GetThumbSize() uint64
- func (x *VideoMessage) GetThumbUrl() string
- func (x *VideoMessage) GetThumbWidth() float64
- func (x *VideoMessage) GetUrl() string
- func (*VideoMessage) ProtoMessage()
- func (x *VideoMessage) ProtoReflect() protoreflect.Message
- func (x *VideoMessage) Reset()
- func (x *VideoMessage) String() string
- func (m *VideoMessage) Validate() error
- func (m *VideoMessage) ValidateAll() error
- type VideoMessageMultiError
- type VideoMessageValidationError
- func (e VideoMessageValidationError) Cause() error
- func (e VideoMessageValidationError) Error() string
- func (e VideoMessageValidationError) ErrorName() string
- func (e VideoMessageValidationError) Field() string
- func (e VideoMessageValidationError) Key() bool
- func (e VideoMessageValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Gender_name = map[int32]string{ 0: "Unknown", 1: "Male", 2: "Female", } Gender_value = map[string]int32{ "Unknown": 0, "Male": 1, "Female": 2, } )
Enum value maps for Gender.
var ( IsEnable_name = map[int32]string{ 0: "NotEnable", 1: "Enable", } IsEnable_value = map[string]int32{ "NotEnable": 0, "Enable": 1, } )
Enum value maps for IsEnable.
var ( ReviewStatus_name = map[int32]string{ 0: "ReviewInit", 1: "ReviewTo", 2: "ReviewPass", 3: "ReviewFail", } ReviewStatus_value = map[string]int32{ "ReviewInit": 0, "ReviewTo": 1, "ReviewPass": 2, "ReviewFail": 3, } )
Enum value maps for ReviewStatus.
var ( FeedType_name = map[int32]string{ 0: "Txt", 1: "Image", 2: "Video", } FeedType_value = map[string]int32{ "Txt": 0, "Image": 1, "Video": 2, } )
Enum value maps for FeedType.
var ( MESSAGE_TYPE_name = map[int32]string{ 0: "TEXT", 1: "LOCATION", 2: "FACE", 3: "SOUND", 4: "IMAGE", 5: "FILE", 6: "Video", } MESSAGE_TYPE_value = map[string]int32{ "TEXT": 0, "LOCATION": 1, "FACE": 2, "SOUND": 3, "IMAGE": 4, "FILE": 5, "Video": 6, } )
Enum value maps for MESSAGE_TYPE.
var ( IMAGE_TYPE_name = map[int32]string{ 0: "ORIGIN", 1: "BIG", 2: "THUMBNAIL", } IMAGE_TYPE_value = map[string]int32{ "ORIGIN": 0, "BIG": 1, "THUMBNAIL": 2, } )
Enum value maps for IMAGE_TYPE.
var ( IMAGE_FORMAT_name = map[int32]string{ 0: "JPG", 1: "GIF", 2: "PNG", 3: "BMP", 255: "OTHER", } IMAGE_FORMAT_value = map[string]int32{ "JPG": 0, "GIF": 1, "PNG": 2, "BMP": 3, "OTHER": 255, } )
Enum value maps for IMAGE_FORMAT.
var ( VIDEO_FORMAT_name = map[int32]string{ 0: "MP4", 1: "MOV", 2: "WMV", 3: "FLV", 4: "AVI", 5: "MKV", 255: "OTHER_VIDEO_FORMAT", } VIDEO_FORMAT_value = map[string]int32{ "MP4": 0, "MOV": 1, "WMV": 2, "FLV": 3, "AVI": 4, "MKV": 5, "OTHER_VIDEO_FORMAT": 255, } )
Enum value maps for VIDEO_FORMAT.
var CommonService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "common.CommonService", HandlerType: (*CommonServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendEmail", Handler: _CommonService_SendEmail_Handler, }, { MethodName: "Ping", Handler: _CommonService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UploadImage", Handler: _CommonService_UploadImage_Handler, ClientStreams: true, }, }, Metadata: "common.proto", }
CommonService_ServiceDesc is the grpc.ServiceDesc for CommonService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FeedService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "feed.FeedService", HandlerType: (*FeedServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FeedCreate", Handler: _FeedService_FeedCreate_Handler, }, { MethodName: "FeedEdit", Handler: _FeedService_FeedEdit_Handler, }, { MethodName: "FeedLike", Handler: _FeedService_FeedLike_Handler, }, { MethodName: "FeedUnLike", Handler: _FeedService_FeedUnLike_Handler, }, { MethodName: "FeedGet", Handler: _FeedService_FeedGet_Handler, }, { MethodName: "FeedDelete", Handler: _FeedService_FeedDelete_Handler, }, { MethodName: "FeedOwn", Handler: _FeedService_FeedOwn_Handler, }, { MethodName: "FeedQuery", Handler: _FeedService_FeedQuery_Handler, }, { MethodName: "FeedFollow", Handler: _FeedService_FeedFollow_Handler, }, { MethodName: "Ping", Handler: _FeedService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "feed.proto", }
FeedService_ServiceDesc is the grpc.ServiceDesc for FeedService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_common_proto protoreflect.FileDescriptor
var File_feed_proto protoreflect.FileDescriptor
var File_gateway_proto protoreflect.FileDescriptor
var File_group_proto protoreflect.FileDescriptor
var File_message_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
var GatewayService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gateway.GatewayService", HandlerType: (*GatewayServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _GatewayService_Register_Handler, }, { MethodName: "UnRegister", Handler: _GatewayService_UnRegister_Handler, }, { MethodName: "SendToAll", Handler: _GatewayService_SendToAll_Handler, }, { MethodName: "Ping", Handler: _GatewayService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SendMessage", Handler: _GatewayService_SendMessage_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "gateway.proto", }
GatewayService_ServiceDesc is the grpc.ServiceDesc for GatewayService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var GroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "group.GroupService", HandlerType: (*GroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGroup", Handler: _GroupService_CreateGroup_Handler, }, { MethodName: "UpdateGroup", Handler: _GroupService_UpdateGroup_Handler, }, { MethodName: "GetGroup", Handler: _GroupService_GetGroup_Handler, }, { MethodName: "QueryGroup", Handler: _GroupService_QueryGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _GroupService_DeleteGroup_Handler, }, { MethodName: "JoinGroup", Handler: _GroupService_JoinGroup_Handler, }, { MethodName: "QuitGroup", Handler: _GroupService_QuitGroup_Handler, }, { MethodName: "Ping", Handler: _GroupService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "group.proto", }
GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MessageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "message.MessageService", HandlerType: (*MessageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendUserTextMessage", Handler: _MessageService_SendUserTextMessage_Handler, }, { MethodName: "SendUserLocationMessage", Handler: _MessageService_SendUserLocationMessage_Handler, }, { MethodName: "SendUserFaceMessage", Handler: _MessageService_SendUserFaceMessage_Handler, }, { MethodName: "SendUserSoundMessage", Handler: _MessageService_SendUserSoundMessage_Handler, }, { MethodName: "SendUserVideoMessage", Handler: _MessageService_SendUserVideoMessage_Handler, }, { MethodName: "SendUserImageMessage", Handler: _MessageService_SendUserImageMessage_Handler, }, { MethodName: "SendUserFileMessage", Handler: _MessageService_SendUserFileMessage_Handler, }, { MethodName: "SendGroupTextMessage", Handler: _MessageService_SendGroupTextMessage_Handler, }, { MethodName: "SendGroupLocationMessage", Handler: _MessageService_SendGroupLocationMessage_Handler, }, { MethodName: "SendGroupFceMessage", Handler: _MessageService_SendGroupFceMessage_Handler, }, { MethodName: "SendGroupSoundMessage", Handler: _MessageService_SendGroupSoundMessage_Handler, }, { MethodName: "SendGroupVideoMessage", Handler: _MessageService_SendGroupVideoMessage_Handler, }, { MethodName: "SendGroupImageMessage", Handler: _MessageService_SendGroupImageMessage_Handler, }, { MethodName: "SendGroupFileMessage", Handler: _MessageService_SendGroupFileMessage_Handler, }, { MethodName: "Ping", Handler: _MessageService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message.proto", }
MessageService_ServiceDesc is the grpc.ServiceDesc for MessageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "UserLogin", Handler: _UserService_UserLogin_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "QueryUser", Handler: _UserService_QueryUser_Handler, }, { MethodName: "UpdatePassword", Handler: _UserService_UpdatePassword_Handler, }, { MethodName: "UpdateAvatar", Handler: _UserService_UpdateAvatar_Handler, }, { MethodName: "Ping", Handler: _UserService_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCommonServiceHandler ¶
func RegisterCommonServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCommonServiceHandler registers the http handlers for service CommonService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCommonServiceHandlerClient ¶
func RegisterCommonServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CommonServiceClient) error
RegisterCommonServiceHandlerClient registers the http handlers for service CommonService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CommonServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CommonServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CommonServiceClient" to call the correct interceptors.
func RegisterCommonServiceHandlerFromEndpoint ¶
func RegisterCommonServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCommonServiceHandlerFromEndpoint is same as RegisterCommonServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCommonServiceHandlerServer ¶
func RegisterCommonServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CommonServiceServer) error
RegisterCommonServiceHandlerServer registers the http handlers for service CommonService to "mux". UnaryRPC :call CommonServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCommonServiceHandlerFromEndpoint instead.
func RegisterCommonServiceServer ¶
func RegisterCommonServiceServer(s grpc.ServiceRegistrar, srv CommonServiceServer)
func RegisterFeedServiceHandler ¶
func RegisterFeedServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterFeedServiceHandler registers the http handlers for service FeedService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFeedServiceHandlerClient ¶
func RegisterFeedServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FeedServiceClient) error
RegisterFeedServiceHandlerClient registers the http handlers for service FeedService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FeedServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FeedServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FeedServiceClient" to call the correct interceptors.
func RegisterFeedServiceHandlerFromEndpoint ¶
func RegisterFeedServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFeedServiceHandlerFromEndpoint is same as RegisterFeedServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFeedServiceHandlerServer ¶
func RegisterFeedServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FeedServiceServer) error
RegisterFeedServiceHandlerServer registers the http handlers for service FeedService to "mux". UnaryRPC :call FeedServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFeedServiceHandlerFromEndpoint instead.
func RegisterFeedServiceServer ¶
func RegisterFeedServiceServer(s grpc.ServiceRegistrar, srv FeedServiceServer)
func RegisterGatewayServiceHandler ¶
func RegisterGatewayServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGatewayServiceHandler registers the http handlers for service GatewayService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGatewayServiceHandlerClient ¶
func RegisterGatewayServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GatewayServiceClient) error
RegisterGatewayServiceHandlerClient registers the http handlers for service GatewayService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GatewayServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GatewayServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GatewayServiceClient" to call the correct interceptors.
func RegisterGatewayServiceHandlerFromEndpoint ¶
func RegisterGatewayServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGatewayServiceHandlerFromEndpoint is same as RegisterGatewayServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGatewayServiceHandlerServer ¶
func RegisterGatewayServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GatewayServiceServer) error
RegisterGatewayServiceHandlerServer registers the http handlers for service GatewayService to "mux". UnaryRPC :call GatewayServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGatewayServiceHandlerFromEndpoint instead.
func RegisterGatewayServiceServer ¶
func RegisterGatewayServiceServer(s grpc.ServiceRegistrar, srv GatewayServiceServer)
func RegisterGroupServiceHandler ¶
func RegisterGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGroupServiceHandler registers the http handlers for service GroupService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGroupServiceHandlerClient ¶
func RegisterGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupServiceClient) error
RegisterGroupServiceHandlerClient registers the http handlers for service GroupService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GroupServiceClient" to call the correct interceptors.
func RegisterGroupServiceHandlerFromEndpoint ¶
func RegisterGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGroupServiceHandlerFromEndpoint is same as RegisterGroupServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGroupServiceHandlerServer ¶
func RegisterGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServiceServer) error
RegisterGroupServiceHandlerServer registers the http handlers for service GroupService to "mux". UnaryRPC :call GroupServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGroupServiceHandlerFromEndpoint instead.
func RegisterGroupServiceServer ¶
func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
func RegisterMessageServiceHandler ¶
func RegisterMessageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMessageServiceHandler registers the http handlers for service MessageService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMessageServiceHandlerClient ¶
func RegisterMessageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessageServiceClient) error
RegisterMessageServiceHandlerClient registers the http handlers for service MessageService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessageServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessageServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessageServiceClient" to call the correct interceptors.
func RegisterMessageServiceHandlerFromEndpoint ¶
func RegisterMessageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMessageServiceHandlerFromEndpoint is same as RegisterMessageServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMessageServiceHandlerServer ¶
func RegisterMessageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessageServiceServer) error
RegisterMessageServiceHandlerServer registers the http handlers for service MessageService to "mux". UnaryRPC :call MessageServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMessageServiceHandlerFromEndpoint instead.
func RegisterMessageServiceServer ¶
func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type CommonResponse ¶
type CommonResponse struct { ErrorCode uint64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` //错误码 BusinessCode uint64 `protobuf:"varint,2,opt,name=business_code,json=businessCode,proto3" json:"business_code,omitempty"` //业务码 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //信息 // contains filtered or unexported fields }
func (*CommonResponse) Descriptor
deprecated
func (*CommonResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.
func (*CommonResponse) GetBusinessCode ¶
func (x *CommonResponse) GetBusinessCode() uint64
func (*CommonResponse) GetErrorCode ¶
func (x *CommonResponse) GetErrorCode() uint64
func (*CommonResponse) GetMessage ¶
func (x *CommonResponse) GetMessage() string
func (*CommonResponse) ProtoMessage ¶
func (*CommonResponse) ProtoMessage()
func (*CommonResponse) ProtoReflect ¶
func (x *CommonResponse) ProtoReflect() protoreflect.Message
func (*CommonResponse) Reset ¶
func (x *CommonResponse) Reset()
func (*CommonResponse) String ¶
func (x *CommonResponse) String() string
func (*CommonResponse) Validate ¶
func (m *CommonResponse) Validate() error
Validate checks the field values on CommonResponse 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 (*CommonResponse) ValidateAll ¶
func (m *CommonResponse) ValidateAll() error
ValidateAll checks the field values on CommonResponse 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 CommonResponseMultiError, or nil if none found.
type CommonResponseMultiError ¶
type CommonResponseMultiError []error
CommonResponseMultiError is an error wrapping multiple validation errors returned by CommonResponse.ValidateAll() if the designated constraints aren't met.
func (CommonResponseMultiError) AllErrors ¶
func (m CommonResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommonResponseMultiError) Error ¶
func (m CommonResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CommonResponseValidationError ¶
type CommonResponseValidationError struct {
// contains filtered or unexported fields
}
CommonResponseValidationError is the validation error returned by CommonResponse.Validate if the designated constraints aren't met.
func (CommonResponseValidationError) Cause ¶
func (e CommonResponseValidationError) Cause() error
Cause function returns cause value.
func (CommonResponseValidationError) Error ¶
func (e CommonResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CommonResponseValidationError) ErrorName ¶
func (e CommonResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CommonResponseValidationError) Field ¶
func (e CommonResponseValidationError) Field() string
Field function returns field value.
func (CommonResponseValidationError) Key ¶
func (e CommonResponseValidationError) Key() bool
Key function returns key value.
func (CommonResponseValidationError) Reason ¶
func (e CommonResponseValidationError) Reason() string
Reason function returns reason value.
type CommonServiceClient ¶
type CommonServiceClient interface { UploadImage(ctx context.Context, opts ...grpc.CallOption) (CommonService_UploadImageClient, error) SendEmail(ctx context.Context, in *SendEmailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
CommonServiceClient is the client API for CommonService 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 NewCommonServiceClient ¶
func NewCommonServiceClient(cc grpc.ClientConnInterface) CommonServiceClient
type CommonServiceServer ¶
type CommonServiceServer interface { UploadImage(CommonService_UploadImageServer) error SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
CommonServiceServer is the server API for CommonService service. All implementations must embed UnimplementedCommonServiceServer for forward compatibility
type CommonService_UploadImageClient ¶
type CommonService_UploadImageClient interface { Send(*UploadImageRequest) error CloseAndRecv() (*UploadImageResponse, error) grpc.ClientStream }
type CommonService_UploadImageServer ¶
type CommonService_UploadImageServer interface { SendAndClose(*UploadImageResponse) error Recv() (*UploadImageRequest, error) grpc.ServerStream }
type CreateGroupRequest ¶
type CreateGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Introduction string `protobuf:"bytes,2,opt,name=introduction,proto3" json:"introduction,omitempty"` AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // contains filtered or unexported fields }
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetAvatarUrl ¶
func (x *CreateGroupRequest) GetAvatarUrl() string
func (*CreateGroupRequest) GetIntroduction ¶
func (x *CreateGroupRequest) GetIntroduction() string
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
func (*CreateGroupRequest) Validate ¶
func (m *CreateGroupRequest) Validate() error
Validate checks the field values on CreateGroupRequest 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 (*CreateGroupRequest) ValidateAll ¶
func (m *CreateGroupRequest) ValidateAll() error
ValidateAll checks the field values on CreateGroupRequest 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 CreateGroupRequestMultiError, or nil if none found.
type CreateGroupRequestMultiError ¶
type CreateGroupRequestMultiError []error
CreateGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateGroupRequest.ValidateAll() if the designated constraints aren't met.
func (CreateGroupRequestMultiError) AllErrors ¶
func (m CreateGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGroupRequestMultiError) Error ¶
func (m CreateGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGroupRequestValidationError ¶
type CreateGroupRequestValidationError struct {
// contains filtered or unexported fields
}
CreateGroupRequestValidationError is the validation error returned by CreateGroupRequest.Validate if the designated constraints aren't met.
func (CreateGroupRequestValidationError) Cause ¶
func (e CreateGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupRequestValidationError) Error ¶
func (e CreateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupRequestValidationError) ErrorName ¶
func (e CreateGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupRequestValidationError) Field ¶
func (e CreateGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateGroupRequestValidationError) Key ¶
func (e CreateGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateGroupRequestValidationError) Reason ¶
func (e CreateGroupRequestValidationError) Reason() string
Reason function returns reason value.
type CreateGroupResponse ¶
type CreateGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*CreateGroupResponse) Descriptor
deprecated
func (*CreateGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateGroupResponse) GetGroup ¶
func (x *CreateGroupResponse) GetGroup() *Group
func (*CreateGroupResponse) ProtoMessage ¶
func (*CreateGroupResponse) ProtoMessage()
func (*CreateGroupResponse) ProtoReflect ¶
func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateGroupResponse) Reset ¶
func (x *CreateGroupResponse) Reset()
func (*CreateGroupResponse) String ¶
func (x *CreateGroupResponse) String() string
func (*CreateGroupResponse) Validate ¶
func (m *CreateGroupResponse) Validate() error
Validate checks the field values on CreateGroupResponse 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 (*CreateGroupResponse) ValidateAll ¶
func (m *CreateGroupResponse) ValidateAll() error
ValidateAll checks the field values on CreateGroupResponse 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 CreateGroupResponseMultiError, or nil if none found.
type CreateGroupResponseMultiError ¶
type CreateGroupResponseMultiError []error
CreateGroupResponseMultiError is an error wrapping multiple validation errors returned by CreateGroupResponse.ValidateAll() if the designated constraints aren't met.
func (CreateGroupResponseMultiError) AllErrors ¶
func (m CreateGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGroupResponseMultiError) Error ¶
func (m CreateGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGroupResponseValidationError ¶
type CreateGroupResponseValidationError struct {
// contains filtered or unexported fields
}
CreateGroupResponseValidationError is the validation error returned by CreateGroupResponse.Validate if the designated constraints aren't met.
func (CreateGroupResponseValidationError) Cause ¶
func (e CreateGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupResponseValidationError) Error ¶
func (e CreateGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupResponseValidationError) ErrorName ¶
func (e CreateGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupResponseValidationError) Field ¶
func (e CreateGroupResponseValidationError) Field() string
Field function returns field value.
func (CreateGroupResponseValidationError) Key ¶
func (e CreateGroupResponseValidationError) Key() bool
Key function returns key value.
func (CreateGroupResponseValidationError) Reason ¶
func (e CreateGroupResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetId ¶
func (x *DeleteGroupRequest) GetId() uint64
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
func (*DeleteGroupRequest) Validate ¶
func (m *DeleteGroupRequest) Validate() error
Validate checks the field values on DeleteGroupRequest 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 (*DeleteGroupRequest) ValidateAll ¶
func (m *DeleteGroupRequest) ValidateAll() error
ValidateAll checks the field values on DeleteGroupRequest 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 DeleteGroupRequestMultiError, or nil if none found.
type DeleteGroupRequestMultiError ¶
type DeleteGroupRequestMultiError []error
DeleteGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteGroupRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteGroupRequestMultiError) AllErrors ¶
func (m DeleteGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteGroupRequestMultiError) Error ¶
func (m DeleteGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteGroupRequestValidationError ¶
type DeleteGroupRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteGroupRequestValidationError is the validation error returned by DeleteGroupRequest.Validate if the designated constraints aren't met.
func (DeleteGroupRequestValidationError) Cause ¶
func (e DeleteGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteGroupRequestValidationError) Error ¶
func (e DeleteGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupRequestValidationError) ErrorName ¶
func (e DeleteGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGroupRequestValidationError) Field ¶
func (e DeleteGroupRequestValidationError) Field() string
Field function returns field value.
func (DeleteGroupRequestValidationError) Key ¶
func (e DeleteGroupRequestValidationError) Key() bool
Key function returns key value.
func (DeleteGroupRequestValidationError) Reason ¶
func (e DeleteGroupRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteGroupResponse ¶
type DeleteGroupResponse struct {
// contains filtered or unexported fields
}
func (*DeleteGroupResponse) Descriptor
deprecated
func (*DeleteGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.
func (*DeleteGroupResponse) ProtoMessage ¶
func (*DeleteGroupResponse) ProtoMessage()
func (*DeleteGroupResponse) ProtoReflect ¶
func (x *DeleteGroupResponse) ProtoReflect() protoreflect.Message
func (*DeleteGroupResponse) Reset ¶
func (x *DeleteGroupResponse) Reset()
func (*DeleteGroupResponse) String ¶
func (x *DeleteGroupResponse) String() string
func (*DeleteGroupResponse) Validate ¶
func (m *DeleteGroupResponse) Validate() error
Validate checks the field values on DeleteGroupResponse 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 (*DeleteGroupResponse) ValidateAll ¶
func (m *DeleteGroupResponse) ValidateAll() error
ValidateAll checks the field values on DeleteGroupResponse 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 DeleteGroupResponseMultiError, or nil if none found.
type DeleteGroupResponseMultiError ¶
type DeleteGroupResponseMultiError []error
DeleteGroupResponseMultiError is an error wrapping multiple validation errors returned by DeleteGroupResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteGroupResponseMultiError) AllErrors ¶
func (m DeleteGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteGroupResponseMultiError) Error ¶
func (m DeleteGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteGroupResponseValidationError ¶
type DeleteGroupResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteGroupResponseValidationError is the validation error returned by DeleteGroupResponse.Validate if the designated constraints aren't met.
func (DeleteGroupResponseValidationError) Cause ¶
func (e DeleteGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteGroupResponseValidationError) Error ¶
func (e DeleteGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupResponseValidationError) ErrorName ¶
func (e DeleteGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGroupResponseValidationError) Field ¶
func (e DeleteGroupResponseValidationError) Field() string
Field function returns field value.
func (DeleteGroupResponseValidationError) Key ¶
func (e DeleteGroupResponseValidationError) Key() bool
Key function returns key value.
func (DeleteGroupResponseValidationError) Reason ¶
func (e DeleteGroupResponseValidationError) Reason() string
Reason function returns reason value.
type FaceMessage ¶
type FaceMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
表情消息
func (*FaceMessage) Descriptor
deprecated
func (*FaceMessage) Descriptor() ([]byte, []int)
Deprecated: Use FaceMessage.ProtoReflect.Descriptor instead.
func (*FaceMessage) GetId ¶
func (x *FaceMessage) GetId() uint64
func (*FaceMessage) GetSymbol ¶
func (x *FaceMessage) GetSymbol() string
func (*FaceMessage) ProtoMessage ¶
func (*FaceMessage) ProtoMessage()
func (*FaceMessage) ProtoReflect ¶
func (x *FaceMessage) ProtoReflect() protoreflect.Message
func (*FaceMessage) Reset ¶
func (x *FaceMessage) Reset()
func (*FaceMessage) String ¶
func (x *FaceMessage) String() string
func (*FaceMessage) Validate ¶
func (m *FaceMessage) Validate() error
Validate checks the field values on FaceMessage 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 (*FaceMessage) ValidateAll ¶
func (m *FaceMessage) ValidateAll() error
ValidateAll checks the field values on FaceMessage 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 FaceMessageMultiError, or nil if none found.
type FaceMessageMultiError ¶
type FaceMessageMultiError []error
FaceMessageMultiError is an error wrapping multiple validation errors returned by FaceMessage.ValidateAll() if the designated constraints aren't met.
func (FaceMessageMultiError) AllErrors ¶
func (m FaceMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FaceMessageMultiError) Error ¶
func (m FaceMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FaceMessageValidationError ¶
type FaceMessageValidationError struct {
// contains filtered or unexported fields
}
FaceMessageValidationError is the validation error returned by FaceMessage.Validate if the designated constraints aren't met.
func (FaceMessageValidationError) Cause ¶
func (e FaceMessageValidationError) Cause() error
Cause function returns cause value.
func (FaceMessageValidationError) Error ¶
func (e FaceMessageValidationError) Error() string
Error satisfies the builtin error interface
func (FaceMessageValidationError) ErrorName ¶
func (e FaceMessageValidationError) ErrorName() string
ErrorName returns error name.
func (FaceMessageValidationError) Field ¶
func (e FaceMessageValidationError) Field() string
Field function returns field value.
func (FaceMessageValidationError) Key ¶
func (e FaceMessageValidationError) Key() bool
Key function returns key value.
func (FaceMessageValidationError) Reason ¶
func (e FaceMessageValidationError) Reason() string
Reason function returns reason value.
type Feed ¶
type Feed struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Type FeedType `protobuf:"varint,4,opt,name=type,proto3,enum=feed.FeedType" json:"type,omitempty"` LikeCount uint64 `protobuf:"varint,5,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` ViewCount uint64 `protobuf:"varint,6,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"` CommentCount uint64 `protobuf:"varint,7,opt,name=comment_count,json=commentCount,proto3" json:"comment_count,omitempty"` Operator uint64 `protobuf:"varint,8,opt,name=operator,proto3" json:"operator,omitempty"` Remark string `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"` Hot uint64 `protobuf:"varint,10,opt,name=hot,proto3" json:"hot,omitempty"` IsEnable IsEnable `protobuf:"varint,11,opt,name=is_enable,json=isEnable,proto3,enum=common.IsEnable" json:"is_enable,omitempty"` ReviewStatus ReviewStatus `protobuf:"varint,12,opt,name=review_status,json=reviewStatus,proto3,enum=common.ReviewStatus" json:"review_status,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Feed) Descriptor
deprecated
func (*Feed) GetCommentCount ¶
func (*Feed) GetContent ¶
func (*Feed) GetCreatedAt ¶
func (x *Feed) GetCreatedAt() *timestamppb.Timestamp
func (*Feed) GetDeletedAt ¶
func (x *Feed) GetDeletedAt() *timestamppb.Timestamp
func (*Feed) GetIsEnable ¶
func (*Feed) GetLikeCount ¶
func (*Feed) GetOperator ¶
func (*Feed) GetReviewStatus ¶
func (x *Feed) GetReviewStatus() ReviewStatus
func (*Feed) GetUpdatedAt ¶
func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp
func (*Feed) GetViewCount ¶
func (*Feed) ProtoMessage ¶
func (*Feed) ProtoMessage()
func (*Feed) ProtoReflect ¶
func (x *Feed) ProtoReflect() protoreflect.Message
func (*Feed) Validate ¶
Validate checks the field values on Feed 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 (*Feed) ValidateAll ¶
ValidateAll checks the field values on Feed 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 FeedMultiError, or nil if none found.
type FeedCreateRequest ¶
type FeedCreateRequest struct { Type FeedType `protobuf:"varint,1,opt,name=type,proto3,enum=feed.FeedType" json:"type,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Resource []string `protobuf:"bytes,3,rep,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*FeedCreateRequest) Descriptor
deprecated
func (*FeedCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedCreateRequest.ProtoReflect.Descriptor instead.
func (*FeedCreateRequest) GetContent ¶
func (x *FeedCreateRequest) GetContent() string
func (*FeedCreateRequest) GetResource ¶
func (x *FeedCreateRequest) GetResource() []string
func (*FeedCreateRequest) GetType ¶
func (x *FeedCreateRequest) GetType() FeedType
func (*FeedCreateRequest) ProtoMessage ¶
func (*FeedCreateRequest) ProtoMessage()
func (*FeedCreateRequest) ProtoReflect ¶
func (x *FeedCreateRequest) ProtoReflect() protoreflect.Message
func (*FeedCreateRequest) Reset ¶
func (x *FeedCreateRequest) Reset()
func (*FeedCreateRequest) String ¶
func (x *FeedCreateRequest) String() string
func (*FeedCreateRequest) Validate ¶
func (m *FeedCreateRequest) Validate() error
Validate checks the field values on FeedCreateRequest 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 (*FeedCreateRequest) ValidateAll ¶
func (m *FeedCreateRequest) ValidateAll() error
ValidateAll checks the field values on FeedCreateRequest 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 FeedCreateRequestMultiError, or nil if none found.
type FeedCreateRequestMultiError ¶
type FeedCreateRequestMultiError []error
FeedCreateRequestMultiError is an error wrapping multiple validation errors returned by FeedCreateRequest.ValidateAll() if the designated constraints aren't met.
func (FeedCreateRequestMultiError) AllErrors ¶
func (m FeedCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedCreateRequestMultiError) Error ¶
func (m FeedCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedCreateRequestValidationError ¶
type FeedCreateRequestValidationError struct {
// contains filtered or unexported fields
}
FeedCreateRequestValidationError is the validation error returned by FeedCreateRequest.Validate if the designated constraints aren't met.
func (FeedCreateRequestValidationError) Cause ¶
func (e FeedCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedCreateRequestValidationError) Error ¶
func (e FeedCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedCreateRequestValidationError) ErrorName ¶
func (e FeedCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedCreateRequestValidationError) Field ¶
func (e FeedCreateRequestValidationError) Field() string
Field function returns field value.
func (FeedCreateRequestValidationError) Key ¶
func (e FeedCreateRequestValidationError) Key() bool
Key function returns key value.
func (FeedCreateRequestValidationError) Reason ¶
func (e FeedCreateRequestValidationError) Reason() string
Reason function returns reason value.
type FeedCreateResponse ¶
type FeedCreateResponse struct { Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*FeedCreateResponse) Descriptor
deprecated
func (*FeedCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedCreateResponse.ProtoReflect.Descriptor instead.
func (*FeedCreateResponse) GetFeed ¶
func (x *FeedCreateResponse) GetFeed() *Feed
func (*FeedCreateResponse) ProtoMessage ¶
func (*FeedCreateResponse) ProtoMessage()
func (*FeedCreateResponse) ProtoReflect ¶
func (x *FeedCreateResponse) ProtoReflect() protoreflect.Message
func (*FeedCreateResponse) Reset ¶
func (x *FeedCreateResponse) Reset()
func (*FeedCreateResponse) String ¶
func (x *FeedCreateResponse) String() string
func (*FeedCreateResponse) Validate ¶
func (m *FeedCreateResponse) Validate() error
Validate checks the field values on FeedCreateResponse 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 (*FeedCreateResponse) ValidateAll ¶
func (m *FeedCreateResponse) ValidateAll() error
ValidateAll checks the field values on FeedCreateResponse 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 FeedCreateResponseMultiError, or nil if none found.
type FeedCreateResponseMultiError ¶
type FeedCreateResponseMultiError []error
FeedCreateResponseMultiError is an error wrapping multiple validation errors returned by FeedCreateResponse.ValidateAll() if the designated constraints aren't met.
func (FeedCreateResponseMultiError) AllErrors ¶
func (m FeedCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedCreateResponseMultiError) Error ¶
func (m FeedCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedCreateResponseValidationError ¶
type FeedCreateResponseValidationError struct {
// contains filtered or unexported fields
}
FeedCreateResponseValidationError is the validation error returned by FeedCreateResponse.Validate if the designated constraints aren't met.
func (FeedCreateResponseValidationError) Cause ¶
func (e FeedCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedCreateResponseValidationError) Error ¶
func (e FeedCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedCreateResponseValidationError) ErrorName ¶
func (e FeedCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedCreateResponseValidationError) Field ¶
func (e FeedCreateResponseValidationError) Field() string
Field function returns field value.
func (FeedCreateResponseValidationError) Key ¶
func (e FeedCreateResponseValidationError) Key() bool
Key function returns key value.
func (FeedCreateResponseValidationError) Reason ¶
func (e FeedCreateResponseValidationError) Reason() string
Reason function returns reason value.
type FeedDeleteRequest ¶
type FeedDeleteRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeedDeleteRequest) Descriptor
deprecated
func (*FeedDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedDeleteRequest.ProtoReflect.Descriptor instead.
func (*FeedDeleteRequest) GetId ¶
func (x *FeedDeleteRequest) GetId() uint64
func (*FeedDeleteRequest) ProtoMessage ¶
func (*FeedDeleteRequest) ProtoMessage()
func (*FeedDeleteRequest) ProtoReflect ¶
func (x *FeedDeleteRequest) ProtoReflect() protoreflect.Message
func (*FeedDeleteRequest) Reset ¶
func (x *FeedDeleteRequest) Reset()
func (*FeedDeleteRequest) String ¶
func (x *FeedDeleteRequest) String() string
func (*FeedDeleteRequest) Validate ¶
func (m *FeedDeleteRequest) Validate() error
Validate checks the field values on FeedDeleteRequest 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 (*FeedDeleteRequest) ValidateAll ¶
func (m *FeedDeleteRequest) ValidateAll() error
ValidateAll checks the field values on FeedDeleteRequest 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 FeedDeleteRequestMultiError, or nil if none found.
type FeedDeleteRequestMultiError ¶
type FeedDeleteRequestMultiError []error
FeedDeleteRequestMultiError is an error wrapping multiple validation errors returned by FeedDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (FeedDeleteRequestMultiError) AllErrors ¶
func (m FeedDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedDeleteRequestMultiError) Error ¶
func (m FeedDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedDeleteRequestValidationError ¶
type FeedDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
FeedDeleteRequestValidationError is the validation error returned by FeedDeleteRequest.Validate if the designated constraints aren't met.
func (FeedDeleteRequestValidationError) Cause ¶
func (e FeedDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedDeleteRequestValidationError) Error ¶
func (e FeedDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedDeleteRequestValidationError) ErrorName ¶
func (e FeedDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedDeleteRequestValidationError) Field ¶
func (e FeedDeleteRequestValidationError) Field() string
Field function returns field value.
func (FeedDeleteRequestValidationError) Key ¶
func (e FeedDeleteRequestValidationError) Key() bool
Key function returns key value.
func (FeedDeleteRequestValidationError) Reason ¶
func (e FeedDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type FeedDeleteResponse ¶
type FeedDeleteResponse struct {
// contains filtered or unexported fields
}
func (*FeedDeleteResponse) Descriptor
deprecated
func (*FeedDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedDeleteResponse.ProtoReflect.Descriptor instead.
func (*FeedDeleteResponse) ProtoMessage ¶
func (*FeedDeleteResponse) ProtoMessage()
func (*FeedDeleteResponse) ProtoReflect ¶
func (x *FeedDeleteResponse) ProtoReflect() protoreflect.Message
func (*FeedDeleteResponse) Reset ¶
func (x *FeedDeleteResponse) Reset()
func (*FeedDeleteResponse) String ¶
func (x *FeedDeleteResponse) String() string
func (*FeedDeleteResponse) Validate ¶
func (m *FeedDeleteResponse) Validate() error
Validate checks the field values on FeedDeleteResponse 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 (*FeedDeleteResponse) ValidateAll ¶
func (m *FeedDeleteResponse) ValidateAll() error
ValidateAll checks the field values on FeedDeleteResponse 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 FeedDeleteResponseMultiError, or nil if none found.
type FeedDeleteResponseMultiError ¶
type FeedDeleteResponseMultiError []error
FeedDeleteResponseMultiError is an error wrapping multiple validation errors returned by FeedDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (FeedDeleteResponseMultiError) AllErrors ¶
func (m FeedDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedDeleteResponseMultiError) Error ¶
func (m FeedDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedDeleteResponseValidationError ¶
type FeedDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
FeedDeleteResponseValidationError is the validation error returned by FeedDeleteResponse.Validate if the designated constraints aren't met.
func (FeedDeleteResponseValidationError) Cause ¶
func (e FeedDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedDeleteResponseValidationError) Error ¶
func (e FeedDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedDeleteResponseValidationError) ErrorName ¶
func (e FeedDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedDeleteResponseValidationError) Field ¶
func (e FeedDeleteResponseValidationError) Field() string
Field function returns field value.
func (FeedDeleteResponseValidationError) Key ¶
func (e FeedDeleteResponseValidationError) Key() bool
Key function returns key value.
func (FeedDeleteResponseValidationError) Reason ¶
func (e FeedDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type FeedEditRequest ¶
type FeedEditRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Type FeedType `protobuf:"varint,2,opt,name=type,proto3,enum=feed.FeedType" json:"type,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Resource []string `protobuf:"bytes,4,rep,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*FeedEditRequest) Descriptor
deprecated
func (*FeedEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedEditRequest.ProtoReflect.Descriptor instead.
func (*FeedEditRequest) GetContent ¶
func (x *FeedEditRequest) GetContent() string
func (*FeedEditRequest) GetId ¶
func (x *FeedEditRequest) GetId() uint64
func (*FeedEditRequest) GetResource ¶
func (x *FeedEditRequest) GetResource() []string
func (*FeedEditRequest) GetType ¶
func (x *FeedEditRequest) GetType() FeedType
func (*FeedEditRequest) ProtoMessage ¶
func (*FeedEditRequest) ProtoMessage()
func (*FeedEditRequest) ProtoReflect ¶
func (x *FeedEditRequest) ProtoReflect() protoreflect.Message
func (*FeedEditRequest) Reset ¶
func (x *FeedEditRequest) Reset()
func (*FeedEditRequest) String ¶
func (x *FeedEditRequest) String() string
func (*FeedEditRequest) Validate ¶
func (m *FeedEditRequest) Validate() error
Validate checks the field values on FeedEditRequest 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 (*FeedEditRequest) ValidateAll ¶
func (m *FeedEditRequest) ValidateAll() error
ValidateAll checks the field values on FeedEditRequest 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 FeedEditRequestMultiError, or nil if none found.
type FeedEditRequestMultiError ¶
type FeedEditRequestMultiError []error
FeedEditRequestMultiError is an error wrapping multiple validation errors returned by FeedEditRequest.ValidateAll() if the designated constraints aren't met.
func (FeedEditRequestMultiError) AllErrors ¶
func (m FeedEditRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedEditRequestMultiError) Error ¶
func (m FeedEditRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedEditRequestValidationError ¶
type FeedEditRequestValidationError struct {
// contains filtered or unexported fields
}
FeedEditRequestValidationError is the validation error returned by FeedEditRequest.Validate if the designated constraints aren't met.
func (FeedEditRequestValidationError) Cause ¶
func (e FeedEditRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedEditRequestValidationError) Error ¶
func (e FeedEditRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedEditRequestValidationError) ErrorName ¶
func (e FeedEditRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedEditRequestValidationError) Field ¶
func (e FeedEditRequestValidationError) Field() string
Field function returns field value.
func (FeedEditRequestValidationError) Key ¶
func (e FeedEditRequestValidationError) Key() bool
Key function returns key value.
func (FeedEditRequestValidationError) Reason ¶
func (e FeedEditRequestValidationError) Reason() string
Reason function returns reason value.
type FeedEditResponse ¶
type FeedEditResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeedEditResponse) Descriptor
deprecated
func (*FeedEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedEditResponse.ProtoReflect.Descriptor instead.
func (*FeedEditResponse) GetId ¶
func (x *FeedEditResponse) GetId() uint64
func (*FeedEditResponse) ProtoMessage ¶
func (*FeedEditResponse) ProtoMessage()
func (*FeedEditResponse) ProtoReflect ¶
func (x *FeedEditResponse) ProtoReflect() protoreflect.Message
func (*FeedEditResponse) Reset ¶
func (x *FeedEditResponse) Reset()
func (*FeedEditResponse) String ¶
func (x *FeedEditResponse) String() string
func (*FeedEditResponse) Validate ¶
func (m *FeedEditResponse) Validate() error
Validate checks the field values on FeedEditResponse 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 (*FeedEditResponse) ValidateAll ¶
func (m *FeedEditResponse) ValidateAll() error
ValidateAll checks the field values on FeedEditResponse 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 FeedEditResponseMultiError, or nil if none found.
type FeedEditResponseMultiError ¶
type FeedEditResponseMultiError []error
FeedEditResponseMultiError is an error wrapping multiple validation errors returned by FeedEditResponse.ValidateAll() if the designated constraints aren't met.
func (FeedEditResponseMultiError) AllErrors ¶
func (m FeedEditResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedEditResponseMultiError) Error ¶
func (m FeedEditResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedEditResponseValidationError ¶
type FeedEditResponseValidationError struct {
// contains filtered or unexported fields
}
FeedEditResponseValidationError is the validation error returned by FeedEditResponse.Validate if the designated constraints aren't met.
func (FeedEditResponseValidationError) Cause ¶
func (e FeedEditResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedEditResponseValidationError) Error ¶
func (e FeedEditResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedEditResponseValidationError) ErrorName ¶
func (e FeedEditResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedEditResponseValidationError) Field ¶
func (e FeedEditResponseValidationError) Field() string
Field function returns field value.
func (FeedEditResponseValidationError) Key ¶
func (e FeedEditResponseValidationError) Key() bool
Key function returns key value.
func (FeedEditResponseValidationError) Reason ¶
func (e FeedEditResponseValidationError) Reason() string
Reason function returns reason value.
type FeedFollowRequest ¶
type FeedFollowRequest struct { Num uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*FeedFollowRequest) Descriptor
deprecated
func (*FeedFollowRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedFollowRequest.ProtoReflect.Descriptor instead.
func (*FeedFollowRequest) GetNum ¶
func (x *FeedFollowRequest) GetNum() uint64
func (*FeedFollowRequest) ProtoMessage ¶
func (*FeedFollowRequest) ProtoMessage()
func (*FeedFollowRequest) ProtoReflect ¶
func (x *FeedFollowRequest) ProtoReflect() protoreflect.Message
func (*FeedFollowRequest) Reset ¶
func (x *FeedFollowRequest) Reset()
func (*FeedFollowRequest) String ¶
func (x *FeedFollowRequest) String() string
func (*FeedFollowRequest) Validate ¶
func (m *FeedFollowRequest) Validate() error
Validate checks the field values on FeedFollowRequest 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 (*FeedFollowRequest) ValidateAll ¶
func (m *FeedFollowRequest) ValidateAll() error
ValidateAll checks the field values on FeedFollowRequest 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 FeedFollowRequestMultiError, or nil if none found.
type FeedFollowRequestMultiError ¶
type FeedFollowRequestMultiError []error
FeedFollowRequestMultiError is an error wrapping multiple validation errors returned by FeedFollowRequest.ValidateAll() if the designated constraints aren't met.
func (FeedFollowRequestMultiError) AllErrors ¶
func (m FeedFollowRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedFollowRequestMultiError) Error ¶
func (m FeedFollowRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedFollowRequestValidationError ¶
type FeedFollowRequestValidationError struct {
// contains filtered or unexported fields
}
FeedFollowRequestValidationError is the validation error returned by FeedFollowRequest.Validate if the designated constraints aren't met.
func (FeedFollowRequestValidationError) Cause ¶
func (e FeedFollowRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedFollowRequestValidationError) Error ¶
func (e FeedFollowRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedFollowRequestValidationError) ErrorName ¶
func (e FeedFollowRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedFollowRequestValidationError) Field ¶
func (e FeedFollowRequestValidationError) Field() string
Field function returns field value.
func (FeedFollowRequestValidationError) Key ¶
func (e FeedFollowRequestValidationError) Key() bool
Key function returns key value.
func (FeedFollowRequestValidationError) Reason ¶
func (e FeedFollowRequestValidationError) Reason() string
Reason function returns reason value.
type FeedFollowResponse ¶
type FeedFollowResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` Feed []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*FeedFollowResponse) Descriptor
deprecated
func (*FeedFollowResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedFollowResponse.ProtoReflect.Descriptor instead.
func (*FeedFollowResponse) GetFeed ¶
func (x *FeedFollowResponse) GetFeed() []*Feed
func (*FeedFollowResponse) GetPager ¶
func (x *FeedFollowResponse) GetPager() *Pager
func (*FeedFollowResponse) ProtoMessage ¶
func (*FeedFollowResponse) ProtoMessage()
func (*FeedFollowResponse) ProtoReflect ¶
func (x *FeedFollowResponse) ProtoReflect() protoreflect.Message
func (*FeedFollowResponse) Reset ¶
func (x *FeedFollowResponse) Reset()
func (*FeedFollowResponse) String ¶
func (x *FeedFollowResponse) String() string
func (*FeedFollowResponse) Validate ¶
func (m *FeedFollowResponse) Validate() error
Validate checks the field values on FeedFollowResponse 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 (*FeedFollowResponse) ValidateAll ¶
func (m *FeedFollowResponse) ValidateAll() error
ValidateAll checks the field values on FeedFollowResponse 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 FeedFollowResponseMultiError, or nil if none found.
type FeedFollowResponseMultiError ¶
type FeedFollowResponseMultiError []error
FeedFollowResponseMultiError is an error wrapping multiple validation errors returned by FeedFollowResponse.ValidateAll() if the designated constraints aren't met.
func (FeedFollowResponseMultiError) AllErrors ¶
func (m FeedFollowResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedFollowResponseMultiError) Error ¶
func (m FeedFollowResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedFollowResponseValidationError ¶
type FeedFollowResponseValidationError struct {
// contains filtered or unexported fields
}
FeedFollowResponseValidationError is the validation error returned by FeedFollowResponse.Validate if the designated constraints aren't met.
func (FeedFollowResponseValidationError) Cause ¶
func (e FeedFollowResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedFollowResponseValidationError) Error ¶
func (e FeedFollowResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedFollowResponseValidationError) ErrorName ¶
func (e FeedFollowResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedFollowResponseValidationError) Field ¶
func (e FeedFollowResponseValidationError) Field() string
Field function returns field value.
func (FeedFollowResponseValidationError) Key ¶
func (e FeedFollowResponseValidationError) Key() bool
Key function returns key value.
func (FeedFollowResponseValidationError) Reason ¶
func (e FeedFollowResponseValidationError) Reason() string
Reason function returns reason value.
type FeedGetRequest ¶
type FeedGetRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeedGetRequest) Descriptor
deprecated
func (*FeedGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedGetRequest.ProtoReflect.Descriptor instead.
func (*FeedGetRequest) GetId ¶
func (x *FeedGetRequest) GetId() uint64
func (*FeedGetRequest) ProtoMessage ¶
func (*FeedGetRequest) ProtoMessage()
func (*FeedGetRequest) ProtoReflect ¶
func (x *FeedGetRequest) ProtoReflect() protoreflect.Message
func (*FeedGetRequest) Reset ¶
func (x *FeedGetRequest) Reset()
func (*FeedGetRequest) String ¶
func (x *FeedGetRequest) String() string
func (*FeedGetRequest) Validate ¶
func (m *FeedGetRequest) Validate() error
Validate checks the field values on FeedGetRequest 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 (*FeedGetRequest) ValidateAll ¶
func (m *FeedGetRequest) ValidateAll() error
ValidateAll checks the field values on FeedGetRequest 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 FeedGetRequestMultiError, or nil if none found.
type FeedGetRequestMultiError ¶
type FeedGetRequestMultiError []error
FeedGetRequestMultiError is an error wrapping multiple validation errors returned by FeedGetRequest.ValidateAll() if the designated constraints aren't met.
func (FeedGetRequestMultiError) AllErrors ¶
func (m FeedGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedGetRequestMultiError) Error ¶
func (m FeedGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedGetRequestValidationError ¶
type FeedGetRequestValidationError struct {
// contains filtered or unexported fields
}
FeedGetRequestValidationError is the validation error returned by FeedGetRequest.Validate if the designated constraints aren't met.
func (FeedGetRequestValidationError) Cause ¶
func (e FeedGetRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedGetRequestValidationError) Error ¶
func (e FeedGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedGetRequestValidationError) ErrorName ¶
func (e FeedGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedGetRequestValidationError) Field ¶
func (e FeedGetRequestValidationError) Field() string
Field function returns field value.
func (FeedGetRequestValidationError) Key ¶
func (e FeedGetRequestValidationError) Key() bool
Key function returns key value.
func (FeedGetRequestValidationError) Reason ¶
func (e FeedGetRequestValidationError) Reason() string
Reason function returns reason value.
type FeedGetResponse ¶
type FeedGetResponse struct { Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*FeedGetResponse) Descriptor
deprecated
func (*FeedGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedGetResponse.ProtoReflect.Descriptor instead.
func (*FeedGetResponse) GetFeed ¶
func (x *FeedGetResponse) GetFeed() *Feed
func (*FeedGetResponse) ProtoMessage ¶
func (*FeedGetResponse) ProtoMessage()
func (*FeedGetResponse) ProtoReflect ¶
func (x *FeedGetResponse) ProtoReflect() protoreflect.Message
func (*FeedGetResponse) Reset ¶
func (x *FeedGetResponse) Reset()
func (*FeedGetResponse) String ¶
func (x *FeedGetResponse) String() string
func (*FeedGetResponse) Validate ¶
func (m *FeedGetResponse) Validate() error
Validate checks the field values on FeedGetResponse 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 (*FeedGetResponse) ValidateAll ¶
func (m *FeedGetResponse) ValidateAll() error
ValidateAll checks the field values on FeedGetResponse 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 FeedGetResponseMultiError, or nil if none found.
type FeedGetResponseMultiError ¶
type FeedGetResponseMultiError []error
FeedGetResponseMultiError is an error wrapping multiple validation errors returned by FeedGetResponse.ValidateAll() if the designated constraints aren't met.
func (FeedGetResponseMultiError) AllErrors ¶
func (m FeedGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedGetResponseMultiError) Error ¶
func (m FeedGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedGetResponseValidationError ¶
type FeedGetResponseValidationError struct {
// contains filtered or unexported fields
}
FeedGetResponseValidationError is the validation error returned by FeedGetResponse.Validate if the designated constraints aren't met.
func (FeedGetResponseValidationError) Cause ¶
func (e FeedGetResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedGetResponseValidationError) Error ¶
func (e FeedGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedGetResponseValidationError) ErrorName ¶
func (e FeedGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedGetResponseValidationError) Field ¶
func (e FeedGetResponseValidationError) Field() string
Field function returns field value.
func (FeedGetResponseValidationError) Key ¶
func (e FeedGetResponseValidationError) Key() bool
Key function returns key value.
func (FeedGetResponseValidationError) Reason ¶
func (e FeedGetResponseValidationError) Reason() string
Reason function returns reason value.
type FeedImage ¶
type FeedImage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FeedId uint64 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` ImgUrl string `protobuf:"bytes,3,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*FeedImage) Descriptor
deprecated
func (*FeedImage) GetCreatedAt ¶
func (x *FeedImage) GetCreatedAt() *timestamppb.Timestamp
func (*FeedImage) GetDeletedAt ¶
func (x *FeedImage) GetDeletedAt() *timestamppb.Timestamp
func (*FeedImage) GetUpdatedAt ¶
func (x *FeedImage) GetUpdatedAt() *timestamppb.Timestamp
func (*FeedImage) ProtoMessage ¶
func (*FeedImage) ProtoMessage()
func (*FeedImage) ProtoReflect ¶
func (x *FeedImage) ProtoReflect() protoreflect.Message
func (*FeedImage) Validate ¶
Validate checks the field values on FeedImage 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 (*FeedImage) ValidateAll ¶
ValidateAll checks the field values on FeedImage 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 FeedImageMultiError, or nil if none found.
type FeedImageMultiError ¶
type FeedImageMultiError []error
FeedImageMultiError is an error wrapping multiple validation errors returned by FeedImage.ValidateAll() if the designated constraints aren't met.
func (FeedImageMultiError) AllErrors ¶
func (m FeedImageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedImageMultiError) Error ¶
func (m FeedImageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedImageValidationError ¶
type FeedImageValidationError struct {
// contains filtered or unexported fields
}
FeedImageValidationError is the validation error returned by FeedImage.Validate if the designated constraints aren't met.
func (FeedImageValidationError) Cause ¶
func (e FeedImageValidationError) Cause() error
Cause function returns cause value.
func (FeedImageValidationError) Error ¶
func (e FeedImageValidationError) Error() string
Error satisfies the builtin error interface
func (FeedImageValidationError) ErrorName ¶
func (e FeedImageValidationError) ErrorName() string
ErrorName returns error name.
func (FeedImageValidationError) Field ¶
func (e FeedImageValidationError) Field() string
Field function returns field value.
func (FeedImageValidationError) Key ¶
func (e FeedImageValidationError) Key() bool
Key function returns key value.
func (FeedImageValidationError) Reason ¶
func (e FeedImageValidationError) Reason() string
Reason function returns reason value.
type FeedLike ¶
type FeedLike struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FeedId uint64 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` UserId uint64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*FeedLike) Descriptor
deprecated
func (*FeedLike) GetCreatedAt ¶
func (x *FeedLike) GetCreatedAt() *timestamppb.Timestamp
func (*FeedLike) GetDeletedAt ¶
func (x *FeedLike) GetDeletedAt() *timestamppb.Timestamp
func (*FeedLike) GetUpdatedAt ¶
func (x *FeedLike) GetUpdatedAt() *timestamppb.Timestamp
func (*FeedLike) ProtoMessage ¶
func (*FeedLike) ProtoMessage()
func (*FeedLike) ProtoReflect ¶
func (x *FeedLike) ProtoReflect() protoreflect.Message
func (*FeedLike) Validate ¶
Validate checks the field values on FeedLike 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 (*FeedLike) ValidateAll ¶
ValidateAll checks the field values on FeedLike 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 FeedLikeMultiError, or nil if none found.
type FeedLikeMultiError ¶
type FeedLikeMultiError []error
FeedLikeMultiError is an error wrapping multiple validation errors returned by FeedLike.ValidateAll() if the designated constraints aren't met.
func (FeedLikeMultiError) AllErrors ¶
func (m FeedLikeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedLikeMultiError) Error ¶
func (m FeedLikeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedLikeRequest ¶
type FeedLikeRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeedLikeRequest) Descriptor
deprecated
func (*FeedLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedLikeRequest.ProtoReflect.Descriptor instead.
func (*FeedLikeRequest) GetId ¶
func (x *FeedLikeRequest) GetId() uint64
func (*FeedLikeRequest) ProtoMessage ¶
func (*FeedLikeRequest) ProtoMessage()
func (*FeedLikeRequest) ProtoReflect ¶
func (x *FeedLikeRequest) ProtoReflect() protoreflect.Message
func (*FeedLikeRequest) Reset ¶
func (x *FeedLikeRequest) Reset()
func (*FeedLikeRequest) String ¶
func (x *FeedLikeRequest) String() string
func (*FeedLikeRequest) Validate ¶
func (m *FeedLikeRequest) Validate() error
Validate checks the field values on FeedLikeRequest 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 (*FeedLikeRequest) ValidateAll ¶
func (m *FeedLikeRequest) ValidateAll() error
ValidateAll checks the field values on FeedLikeRequest 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 FeedLikeRequestMultiError, or nil if none found.
type FeedLikeRequestMultiError ¶
type FeedLikeRequestMultiError []error
FeedLikeRequestMultiError is an error wrapping multiple validation errors returned by FeedLikeRequest.ValidateAll() if the designated constraints aren't met.
func (FeedLikeRequestMultiError) AllErrors ¶
func (m FeedLikeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedLikeRequestMultiError) Error ¶
func (m FeedLikeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedLikeRequestValidationError ¶
type FeedLikeRequestValidationError struct {
// contains filtered or unexported fields
}
FeedLikeRequestValidationError is the validation error returned by FeedLikeRequest.Validate if the designated constraints aren't met.
func (FeedLikeRequestValidationError) Cause ¶
func (e FeedLikeRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedLikeRequestValidationError) Error ¶
func (e FeedLikeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedLikeRequestValidationError) ErrorName ¶
func (e FeedLikeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedLikeRequestValidationError) Field ¶
func (e FeedLikeRequestValidationError) Field() string
Field function returns field value.
func (FeedLikeRequestValidationError) Key ¶
func (e FeedLikeRequestValidationError) Key() bool
Key function returns key value.
func (FeedLikeRequestValidationError) Reason ¶
func (e FeedLikeRequestValidationError) Reason() string
Reason function returns reason value.
type FeedLikeResponse ¶
type FeedLikeResponse struct {
// contains filtered or unexported fields
}
func (*FeedLikeResponse) Descriptor
deprecated
func (*FeedLikeResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedLikeResponse.ProtoReflect.Descriptor instead.
func (*FeedLikeResponse) ProtoMessage ¶
func (*FeedLikeResponse) ProtoMessage()
func (*FeedLikeResponse) ProtoReflect ¶
func (x *FeedLikeResponse) ProtoReflect() protoreflect.Message
func (*FeedLikeResponse) Reset ¶
func (x *FeedLikeResponse) Reset()
func (*FeedLikeResponse) String ¶
func (x *FeedLikeResponse) String() string
func (*FeedLikeResponse) Validate ¶
func (m *FeedLikeResponse) Validate() error
Validate checks the field values on FeedLikeResponse 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 (*FeedLikeResponse) ValidateAll ¶
func (m *FeedLikeResponse) ValidateAll() error
ValidateAll checks the field values on FeedLikeResponse 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 FeedLikeResponseMultiError, or nil if none found.
type FeedLikeResponseMultiError ¶
type FeedLikeResponseMultiError []error
FeedLikeResponseMultiError is an error wrapping multiple validation errors returned by FeedLikeResponse.ValidateAll() if the designated constraints aren't met.
func (FeedLikeResponseMultiError) AllErrors ¶
func (m FeedLikeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedLikeResponseMultiError) Error ¶
func (m FeedLikeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedLikeResponseValidationError ¶
type FeedLikeResponseValidationError struct {
// contains filtered or unexported fields
}
FeedLikeResponseValidationError is the validation error returned by FeedLikeResponse.Validate if the designated constraints aren't met.
func (FeedLikeResponseValidationError) Cause ¶
func (e FeedLikeResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedLikeResponseValidationError) Error ¶
func (e FeedLikeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedLikeResponseValidationError) ErrorName ¶
func (e FeedLikeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedLikeResponseValidationError) Field ¶
func (e FeedLikeResponseValidationError) Field() string
Field function returns field value.
func (FeedLikeResponseValidationError) Key ¶
func (e FeedLikeResponseValidationError) Key() bool
Key function returns key value.
func (FeedLikeResponseValidationError) Reason ¶
func (e FeedLikeResponseValidationError) Reason() string
Reason function returns reason value.
type FeedLikeValidationError ¶
type FeedLikeValidationError struct {
// contains filtered or unexported fields
}
FeedLikeValidationError is the validation error returned by FeedLike.Validate if the designated constraints aren't met.
func (FeedLikeValidationError) Cause ¶
func (e FeedLikeValidationError) Cause() error
Cause function returns cause value.
func (FeedLikeValidationError) Error ¶
func (e FeedLikeValidationError) Error() string
Error satisfies the builtin error interface
func (FeedLikeValidationError) ErrorName ¶
func (e FeedLikeValidationError) ErrorName() string
ErrorName returns error name.
func (FeedLikeValidationError) Field ¶
func (e FeedLikeValidationError) Field() string
Field function returns field value.
func (FeedLikeValidationError) Key ¶
func (e FeedLikeValidationError) Key() bool
Key function returns key value.
func (FeedLikeValidationError) Reason ¶
func (e FeedLikeValidationError) Reason() string
Reason function returns reason value.
type FeedMultiError ¶
type FeedMultiError []error
FeedMultiError is an error wrapping multiple validation errors returned by Feed.ValidateAll() if the designated constraints aren't met.
func (FeedMultiError) AllErrors ¶
func (m FeedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedMultiError) Error ¶
func (m FeedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedOwnRequest ¶
type FeedOwnRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` ReviewStatus ReviewStatus `protobuf:"varint,2,opt,name=review_status,json=reviewStatus,proto3,enum=common.ReviewStatus" json:"review_status,omitempty"` LastId uint64 `protobuf:"varint,3,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` Num uint64 `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*FeedOwnRequest) Descriptor
deprecated
func (*FeedOwnRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedOwnRequest.ProtoReflect.Descriptor instead.
func (*FeedOwnRequest) GetKeyword ¶
func (x *FeedOwnRequest) GetKeyword() string
func (*FeedOwnRequest) GetLastId ¶
func (x *FeedOwnRequest) GetLastId() uint64
func (*FeedOwnRequest) GetNum ¶
func (x *FeedOwnRequest) GetNum() uint64
func (*FeedOwnRequest) GetReviewStatus ¶
func (x *FeedOwnRequest) GetReviewStatus() ReviewStatus
func (*FeedOwnRequest) ProtoMessage ¶
func (*FeedOwnRequest) ProtoMessage()
func (*FeedOwnRequest) ProtoReflect ¶
func (x *FeedOwnRequest) ProtoReflect() protoreflect.Message
func (*FeedOwnRequest) Reset ¶
func (x *FeedOwnRequest) Reset()
func (*FeedOwnRequest) String ¶
func (x *FeedOwnRequest) String() string
func (*FeedOwnRequest) Validate ¶
func (m *FeedOwnRequest) Validate() error
Validate checks the field values on FeedOwnRequest 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 (*FeedOwnRequest) ValidateAll ¶
func (m *FeedOwnRequest) ValidateAll() error
ValidateAll checks the field values on FeedOwnRequest 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 FeedOwnRequestMultiError, or nil if none found.
type FeedOwnRequestMultiError ¶
type FeedOwnRequestMultiError []error
FeedOwnRequestMultiError is an error wrapping multiple validation errors returned by FeedOwnRequest.ValidateAll() if the designated constraints aren't met.
func (FeedOwnRequestMultiError) AllErrors ¶
func (m FeedOwnRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedOwnRequestMultiError) Error ¶
func (m FeedOwnRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedOwnRequestValidationError ¶
type FeedOwnRequestValidationError struct {
// contains filtered or unexported fields
}
FeedOwnRequestValidationError is the validation error returned by FeedOwnRequest.Validate if the designated constraints aren't met.
func (FeedOwnRequestValidationError) Cause ¶
func (e FeedOwnRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedOwnRequestValidationError) Error ¶
func (e FeedOwnRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedOwnRequestValidationError) ErrorName ¶
func (e FeedOwnRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedOwnRequestValidationError) Field ¶
func (e FeedOwnRequestValidationError) Field() string
Field function returns field value.
func (FeedOwnRequestValidationError) Key ¶
func (e FeedOwnRequestValidationError) Key() bool
Key function returns key value.
func (FeedOwnRequestValidationError) Reason ¶
func (e FeedOwnRequestValidationError) Reason() string
Reason function returns reason value.
type FeedOwnResponse ¶
type FeedOwnResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` Feed []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*FeedOwnResponse) Descriptor
deprecated
func (*FeedOwnResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedOwnResponse.ProtoReflect.Descriptor instead.
func (*FeedOwnResponse) GetFeed ¶
func (x *FeedOwnResponse) GetFeed() []*Feed
func (*FeedOwnResponse) GetPager ¶
func (x *FeedOwnResponse) GetPager() *Pager
func (*FeedOwnResponse) ProtoMessage ¶
func (*FeedOwnResponse) ProtoMessage()
func (*FeedOwnResponse) ProtoReflect ¶
func (x *FeedOwnResponse) ProtoReflect() protoreflect.Message
func (*FeedOwnResponse) Reset ¶
func (x *FeedOwnResponse) Reset()
func (*FeedOwnResponse) String ¶
func (x *FeedOwnResponse) String() string
func (*FeedOwnResponse) Validate ¶
func (m *FeedOwnResponse) Validate() error
Validate checks the field values on FeedOwnResponse 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 (*FeedOwnResponse) ValidateAll ¶
func (m *FeedOwnResponse) ValidateAll() error
ValidateAll checks the field values on FeedOwnResponse 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 FeedOwnResponseMultiError, or nil if none found.
type FeedOwnResponseMultiError ¶
type FeedOwnResponseMultiError []error
FeedOwnResponseMultiError is an error wrapping multiple validation errors returned by FeedOwnResponse.ValidateAll() if the designated constraints aren't met.
func (FeedOwnResponseMultiError) AllErrors ¶
func (m FeedOwnResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedOwnResponseMultiError) Error ¶
func (m FeedOwnResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedOwnResponseValidationError ¶
type FeedOwnResponseValidationError struct {
// contains filtered or unexported fields
}
FeedOwnResponseValidationError is the validation error returned by FeedOwnResponse.Validate if the designated constraints aren't met.
func (FeedOwnResponseValidationError) Cause ¶
func (e FeedOwnResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedOwnResponseValidationError) Error ¶
func (e FeedOwnResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedOwnResponseValidationError) ErrorName ¶
func (e FeedOwnResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedOwnResponseValidationError) Field ¶
func (e FeedOwnResponseValidationError) Field() string
Field function returns field value.
func (FeedOwnResponseValidationError) Key ¶
func (e FeedOwnResponseValidationError) Key() bool
Key function returns key value.
func (FeedOwnResponseValidationError) Reason ¶
func (e FeedOwnResponseValidationError) Reason() string
Reason function returns reason value.
type FeedQueryRequest ¶
type FeedQueryRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` LastId uint64 `protobuf:"varint,2,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` Num uint64 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*FeedQueryRequest) Descriptor
deprecated
func (*FeedQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedQueryRequest.ProtoReflect.Descriptor instead.
func (*FeedQueryRequest) GetKeyword ¶
func (x *FeedQueryRequest) GetKeyword() string
func (*FeedQueryRequest) GetLastId ¶
func (x *FeedQueryRequest) GetLastId() uint64
func (*FeedQueryRequest) GetNum ¶
func (x *FeedQueryRequest) GetNum() uint64
func (*FeedQueryRequest) ProtoMessage ¶
func (*FeedQueryRequest) ProtoMessage()
func (*FeedQueryRequest) ProtoReflect ¶
func (x *FeedQueryRequest) ProtoReflect() protoreflect.Message
func (*FeedQueryRequest) Reset ¶
func (x *FeedQueryRequest) Reset()
func (*FeedQueryRequest) String ¶
func (x *FeedQueryRequest) String() string
func (*FeedQueryRequest) Validate ¶
func (m *FeedQueryRequest) Validate() error
Validate checks the field values on FeedQueryRequest 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 (*FeedQueryRequest) ValidateAll ¶
func (m *FeedQueryRequest) ValidateAll() error
ValidateAll checks the field values on FeedQueryRequest 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 FeedQueryRequestMultiError, or nil if none found.
type FeedQueryRequestMultiError ¶
type FeedQueryRequestMultiError []error
FeedQueryRequestMultiError is an error wrapping multiple validation errors returned by FeedQueryRequest.ValidateAll() if the designated constraints aren't met.
func (FeedQueryRequestMultiError) AllErrors ¶
func (m FeedQueryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedQueryRequestMultiError) Error ¶
func (m FeedQueryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedQueryRequestValidationError ¶
type FeedQueryRequestValidationError struct {
// contains filtered or unexported fields
}
FeedQueryRequestValidationError is the validation error returned by FeedQueryRequest.Validate if the designated constraints aren't met.
func (FeedQueryRequestValidationError) Cause ¶
func (e FeedQueryRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedQueryRequestValidationError) Error ¶
func (e FeedQueryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedQueryRequestValidationError) ErrorName ¶
func (e FeedQueryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedQueryRequestValidationError) Field ¶
func (e FeedQueryRequestValidationError) Field() string
Field function returns field value.
func (FeedQueryRequestValidationError) Key ¶
func (e FeedQueryRequestValidationError) Key() bool
Key function returns key value.
func (FeedQueryRequestValidationError) Reason ¶
func (e FeedQueryRequestValidationError) Reason() string
Reason function returns reason value.
type FeedQueryResponse ¶
type FeedQueryResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` Feed []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*FeedQueryResponse) Descriptor
deprecated
func (*FeedQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedQueryResponse.ProtoReflect.Descriptor instead.
func (*FeedQueryResponse) GetFeed ¶
func (x *FeedQueryResponse) GetFeed() []*Feed
func (*FeedQueryResponse) GetPager ¶
func (x *FeedQueryResponse) GetPager() *Pager
func (*FeedQueryResponse) ProtoMessage ¶
func (*FeedQueryResponse) ProtoMessage()
func (*FeedQueryResponse) ProtoReflect ¶
func (x *FeedQueryResponse) ProtoReflect() protoreflect.Message
func (*FeedQueryResponse) Reset ¶
func (x *FeedQueryResponse) Reset()
func (*FeedQueryResponse) String ¶
func (x *FeedQueryResponse) String() string
func (*FeedQueryResponse) Validate ¶
func (m *FeedQueryResponse) Validate() error
Validate checks the field values on FeedQueryResponse 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 (*FeedQueryResponse) ValidateAll ¶
func (m *FeedQueryResponse) ValidateAll() error
ValidateAll checks the field values on FeedQueryResponse 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 FeedQueryResponseMultiError, or nil if none found.
type FeedQueryResponseMultiError ¶
type FeedQueryResponseMultiError []error
FeedQueryResponseMultiError is an error wrapping multiple validation errors returned by FeedQueryResponse.ValidateAll() if the designated constraints aren't met.
func (FeedQueryResponseMultiError) AllErrors ¶
func (m FeedQueryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedQueryResponseMultiError) Error ¶
func (m FeedQueryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedQueryResponseValidationError ¶
type FeedQueryResponseValidationError struct {
// contains filtered or unexported fields
}
FeedQueryResponseValidationError is the validation error returned by FeedQueryResponse.Validate if the designated constraints aren't met.
func (FeedQueryResponseValidationError) Cause ¶
func (e FeedQueryResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedQueryResponseValidationError) Error ¶
func (e FeedQueryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedQueryResponseValidationError) ErrorName ¶
func (e FeedQueryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedQueryResponseValidationError) Field ¶
func (e FeedQueryResponseValidationError) Field() string
Field function returns field value.
func (FeedQueryResponseValidationError) Key ¶
func (e FeedQueryResponseValidationError) Key() bool
Key function returns key value.
func (FeedQueryResponseValidationError) Reason ¶
func (e FeedQueryResponseValidationError) Reason() string
Reason function returns reason value.
type FeedRecommendRequest ¶
type FeedRecommendRequest struct { Num uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*FeedRecommendRequest) Descriptor
deprecated
func (*FeedRecommendRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedRecommendRequest.ProtoReflect.Descriptor instead.
func (*FeedRecommendRequest) GetNum ¶
func (x *FeedRecommendRequest) GetNum() uint64
func (*FeedRecommendRequest) ProtoMessage ¶
func (*FeedRecommendRequest) ProtoMessage()
func (*FeedRecommendRequest) ProtoReflect ¶
func (x *FeedRecommendRequest) ProtoReflect() protoreflect.Message
func (*FeedRecommendRequest) Reset ¶
func (x *FeedRecommendRequest) Reset()
func (*FeedRecommendRequest) String ¶
func (x *FeedRecommendRequest) String() string
func (*FeedRecommendRequest) Validate ¶
func (m *FeedRecommendRequest) Validate() error
Validate checks the field values on FeedRecommendRequest 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 (*FeedRecommendRequest) ValidateAll ¶
func (m *FeedRecommendRequest) ValidateAll() error
ValidateAll checks the field values on FeedRecommendRequest 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 FeedRecommendRequestMultiError, or nil if none found.
type FeedRecommendRequestMultiError ¶
type FeedRecommendRequestMultiError []error
FeedRecommendRequestMultiError is an error wrapping multiple validation errors returned by FeedRecommendRequest.ValidateAll() if the designated constraints aren't met.
func (FeedRecommendRequestMultiError) AllErrors ¶
func (m FeedRecommendRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedRecommendRequestMultiError) Error ¶
func (m FeedRecommendRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedRecommendRequestValidationError ¶
type FeedRecommendRequestValidationError struct {
// contains filtered or unexported fields
}
FeedRecommendRequestValidationError is the validation error returned by FeedRecommendRequest.Validate if the designated constraints aren't met.
func (FeedRecommendRequestValidationError) Cause ¶
func (e FeedRecommendRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedRecommendRequestValidationError) Error ¶
func (e FeedRecommendRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedRecommendRequestValidationError) ErrorName ¶
func (e FeedRecommendRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedRecommendRequestValidationError) Field ¶
func (e FeedRecommendRequestValidationError) Field() string
Field function returns field value.
func (FeedRecommendRequestValidationError) Key ¶
func (e FeedRecommendRequestValidationError) Key() bool
Key function returns key value.
func (FeedRecommendRequestValidationError) Reason ¶
func (e FeedRecommendRequestValidationError) Reason() string
Reason function returns reason value.
type FeedRecommendResponse ¶
type FeedRecommendResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` Feed []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
func (*FeedRecommendResponse) Descriptor
deprecated
func (*FeedRecommendResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedRecommendResponse.ProtoReflect.Descriptor instead.
func (*FeedRecommendResponse) GetFeed ¶
func (x *FeedRecommendResponse) GetFeed() []*Feed
func (*FeedRecommendResponse) GetPager ¶
func (x *FeedRecommendResponse) GetPager() *Pager
func (*FeedRecommendResponse) ProtoMessage ¶
func (*FeedRecommendResponse) ProtoMessage()
func (*FeedRecommendResponse) ProtoReflect ¶
func (x *FeedRecommendResponse) ProtoReflect() protoreflect.Message
func (*FeedRecommendResponse) Reset ¶
func (x *FeedRecommendResponse) Reset()
func (*FeedRecommendResponse) String ¶
func (x *FeedRecommendResponse) String() string
func (*FeedRecommendResponse) Validate ¶
func (m *FeedRecommendResponse) Validate() error
Validate checks the field values on FeedRecommendResponse 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 (*FeedRecommendResponse) ValidateAll ¶
func (m *FeedRecommendResponse) ValidateAll() error
ValidateAll checks the field values on FeedRecommendResponse 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 FeedRecommendResponseMultiError, or nil if none found.
type FeedRecommendResponseMultiError ¶
type FeedRecommendResponseMultiError []error
FeedRecommendResponseMultiError is an error wrapping multiple validation errors returned by FeedRecommendResponse.ValidateAll() if the designated constraints aren't met.
func (FeedRecommendResponseMultiError) AllErrors ¶
func (m FeedRecommendResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedRecommendResponseMultiError) Error ¶
func (m FeedRecommendResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedRecommendResponseValidationError ¶
type FeedRecommendResponseValidationError struct {
// contains filtered or unexported fields
}
FeedRecommendResponseValidationError is the validation error returned by FeedRecommendResponse.Validate if the designated constraints aren't met.
func (FeedRecommendResponseValidationError) Cause ¶
func (e FeedRecommendResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedRecommendResponseValidationError) Error ¶
func (e FeedRecommendResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedRecommendResponseValidationError) ErrorName ¶
func (e FeedRecommendResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedRecommendResponseValidationError) Field ¶
func (e FeedRecommendResponseValidationError) Field() string
Field function returns field value.
func (FeedRecommendResponseValidationError) Key ¶
func (e FeedRecommendResponseValidationError) Key() bool
Key function returns key value.
func (FeedRecommendResponseValidationError) Reason ¶
func (e FeedRecommendResponseValidationError) Reason() string
Reason function returns reason value.
type FeedServiceClient ¶
type FeedServiceClient interface { FeedCreate(ctx context.Context, in *FeedCreateRequest, opts ...grpc.CallOption) (*FeedCreateResponse, error) FeedEdit(ctx context.Context, in *FeedEditRequest, opts ...grpc.CallOption) (*FeedEditResponse, error) FeedLike(ctx context.Context, in *FeedLikeRequest, opts ...grpc.CallOption) (*FeedLikeResponse, error) FeedUnLike(ctx context.Context, in *FeedUnLikeRequest, opts ...grpc.CallOption) (*FeedUnLikeResponse, error) FeedGet(ctx context.Context, in *FeedGetRequest, opts ...grpc.CallOption) (*FeedGetResponse, error) FeedDelete(ctx context.Context, in *FeedDeleteRequest, opts ...grpc.CallOption) (*FeedDeleteResponse, error) FeedOwn(ctx context.Context, in *FeedOwnRequest, opts ...grpc.CallOption) (*FeedOwnResponse, error) FeedQuery(ctx context.Context, in *FeedQueryRequest, opts ...grpc.CallOption) (*FeedQueryResponse, error) FeedFollow(ctx context.Context, in *FeedFollowRequest, opts ...grpc.CallOption) (*FeedFollowResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
FeedServiceClient is the client API for FeedService 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 NewFeedServiceClient ¶
func NewFeedServiceClient(cc grpc.ClientConnInterface) FeedServiceClient
type FeedServiceServer ¶
type FeedServiceServer interface { FeedCreate(context.Context, *FeedCreateRequest) (*FeedCreateResponse, error) FeedEdit(context.Context, *FeedEditRequest) (*FeedEditResponse, error) FeedLike(context.Context, *FeedLikeRequest) (*FeedLikeResponse, error) FeedUnLike(context.Context, *FeedUnLikeRequest) (*FeedUnLikeResponse, error) FeedGet(context.Context, *FeedGetRequest) (*FeedGetResponse, error) FeedDelete(context.Context, *FeedDeleteRequest) (*FeedDeleteResponse, error) FeedOwn(context.Context, *FeedOwnRequest) (*FeedOwnResponse, error) FeedQuery(context.Context, *FeedQueryRequest) (*FeedQueryResponse, error) FeedFollow(context.Context, *FeedFollowRequest) (*FeedFollowResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
FeedServiceServer is the server API for FeedService service. All implementations must embed UnimplementedFeedServiceServer for forward compatibility
type FeedType ¶
type FeedType int32
func (FeedType) Descriptor ¶
func (FeedType) Descriptor() protoreflect.EnumDescriptor
func (FeedType) EnumDescriptor
deprecated
func (FeedType) Number ¶
func (x FeedType) Number() protoreflect.EnumNumber
func (FeedType) Type ¶
func (FeedType) Type() protoreflect.EnumType
type FeedUnLikeRequest ¶
type FeedUnLikeRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FeedUnLikeRequest) Descriptor
deprecated
func (*FeedUnLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeedUnLikeRequest.ProtoReflect.Descriptor instead.
func (*FeedUnLikeRequest) GetId ¶
func (x *FeedUnLikeRequest) GetId() uint64
func (*FeedUnLikeRequest) ProtoMessage ¶
func (*FeedUnLikeRequest) ProtoMessage()
func (*FeedUnLikeRequest) ProtoReflect ¶
func (x *FeedUnLikeRequest) ProtoReflect() protoreflect.Message
func (*FeedUnLikeRequest) Reset ¶
func (x *FeedUnLikeRequest) Reset()
func (*FeedUnLikeRequest) String ¶
func (x *FeedUnLikeRequest) String() string
func (*FeedUnLikeRequest) Validate ¶
func (m *FeedUnLikeRequest) Validate() error
Validate checks the field values on FeedUnLikeRequest 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 (*FeedUnLikeRequest) ValidateAll ¶
func (m *FeedUnLikeRequest) ValidateAll() error
ValidateAll checks the field values on FeedUnLikeRequest 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 FeedUnLikeRequestMultiError, or nil if none found.
type FeedUnLikeRequestMultiError ¶
type FeedUnLikeRequestMultiError []error
FeedUnLikeRequestMultiError is an error wrapping multiple validation errors returned by FeedUnLikeRequest.ValidateAll() if the designated constraints aren't met.
func (FeedUnLikeRequestMultiError) AllErrors ¶
func (m FeedUnLikeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedUnLikeRequestMultiError) Error ¶
func (m FeedUnLikeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedUnLikeRequestValidationError ¶
type FeedUnLikeRequestValidationError struct {
// contains filtered or unexported fields
}
FeedUnLikeRequestValidationError is the validation error returned by FeedUnLikeRequest.Validate if the designated constraints aren't met.
func (FeedUnLikeRequestValidationError) Cause ¶
func (e FeedUnLikeRequestValidationError) Cause() error
Cause function returns cause value.
func (FeedUnLikeRequestValidationError) Error ¶
func (e FeedUnLikeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FeedUnLikeRequestValidationError) ErrorName ¶
func (e FeedUnLikeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FeedUnLikeRequestValidationError) Field ¶
func (e FeedUnLikeRequestValidationError) Field() string
Field function returns field value.
func (FeedUnLikeRequestValidationError) Key ¶
func (e FeedUnLikeRequestValidationError) Key() bool
Key function returns key value.
func (FeedUnLikeRequestValidationError) Reason ¶
func (e FeedUnLikeRequestValidationError) Reason() string
Reason function returns reason value.
type FeedUnLikeResponse ¶
type FeedUnLikeResponse struct {
// contains filtered or unexported fields
}
func (*FeedUnLikeResponse) Descriptor
deprecated
func (*FeedUnLikeResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeedUnLikeResponse.ProtoReflect.Descriptor instead.
func (*FeedUnLikeResponse) ProtoMessage ¶
func (*FeedUnLikeResponse) ProtoMessage()
func (*FeedUnLikeResponse) ProtoReflect ¶
func (x *FeedUnLikeResponse) ProtoReflect() protoreflect.Message
func (*FeedUnLikeResponse) Reset ¶
func (x *FeedUnLikeResponse) Reset()
func (*FeedUnLikeResponse) String ¶
func (x *FeedUnLikeResponse) String() string
func (*FeedUnLikeResponse) Validate ¶
func (m *FeedUnLikeResponse) Validate() error
Validate checks the field values on FeedUnLikeResponse 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 (*FeedUnLikeResponse) ValidateAll ¶
func (m *FeedUnLikeResponse) ValidateAll() error
ValidateAll checks the field values on FeedUnLikeResponse 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 FeedUnLikeResponseMultiError, or nil if none found.
type FeedUnLikeResponseMultiError ¶
type FeedUnLikeResponseMultiError []error
FeedUnLikeResponseMultiError is an error wrapping multiple validation errors returned by FeedUnLikeResponse.ValidateAll() if the designated constraints aren't met.
func (FeedUnLikeResponseMultiError) AllErrors ¶
func (m FeedUnLikeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedUnLikeResponseMultiError) Error ¶
func (m FeedUnLikeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedUnLikeResponseValidationError ¶
type FeedUnLikeResponseValidationError struct {
// contains filtered or unexported fields
}
FeedUnLikeResponseValidationError is the validation error returned by FeedUnLikeResponse.Validate if the designated constraints aren't met.
func (FeedUnLikeResponseValidationError) Cause ¶
func (e FeedUnLikeResponseValidationError) Cause() error
Cause function returns cause value.
func (FeedUnLikeResponseValidationError) Error ¶
func (e FeedUnLikeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FeedUnLikeResponseValidationError) ErrorName ¶
func (e FeedUnLikeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FeedUnLikeResponseValidationError) Field ¶
func (e FeedUnLikeResponseValidationError) Field() string
Field function returns field value.
func (FeedUnLikeResponseValidationError) Key ¶
func (e FeedUnLikeResponseValidationError) Key() bool
Key function returns key value.
func (FeedUnLikeResponseValidationError) Reason ¶
func (e FeedUnLikeResponseValidationError) Reason() string
Reason function returns reason value.
type FeedValidationError ¶
type FeedValidationError struct {
// contains filtered or unexported fields
}
FeedValidationError is the validation error returned by Feed.Validate if the designated constraints aren't met.
func (FeedValidationError) Cause ¶
func (e FeedValidationError) Cause() error
Cause function returns cause value.
func (FeedValidationError) Error ¶
func (e FeedValidationError) Error() string
Error satisfies the builtin error interface
func (FeedValidationError) ErrorName ¶
func (e FeedValidationError) ErrorName() string
ErrorName returns error name.
func (FeedValidationError) Field ¶
func (e FeedValidationError) Field() string
Field function returns field value.
func (FeedValidationError) Key ¶
func (e FeedValidationError) Key() bool
Key function returns key value.
func (FeedValidationError) Reason ¶
func (e FeedValidationError) Reason() string
Reason function returns reason value.
type FeedVideo ¶
type FeedVideo struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` FeedId uint64 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` VideoUrl string `protobuf:"bytes,3,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"` CoverUrl string `protobuf:"bytes,4,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` Width uint64 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` Height uint64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Duration float64 `protobuf:"fixed64,7,opt,name=duration,proto3" json:"duration,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*FeedVideo) Descriptor
deprecated
func (*FeedVideo) GetCoverUrl ¶
func (*FeedVideo) GetCreatedAt ¶
func (x *FeedVideo) GetCreatedAt() *timestamppb.Timestamp
func (*FeedVideo) GetDeletedAt ¶
func (x *FeedVideo) GetDeletedAt() *timestamppb.Timestamp
func (*FeedVideo) GetDuration ¶
func (*FeedVideo) GetUpdatedAt ¶
func (x *FeedVideo) GetUpdatedAt() *timestamppb.Timestamp
func (*FeedVideo) GetVideoUrl ¶
func (*FeedVideo) ProtoMessage ¶
func (*FeedVideo) ProtoMessage()
func (*FeedVideo) ProtoReflect ¶
func (x *FeedVideo) ProtoReflect() protoreflect.Message
func (*FeedVideo) Validate ¶
Validate checks the field values on FeedVideo 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 (*FeedVideo) ValidateAll ¶
ValidateAll checks the field values on FeedVideo 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 FeedVideoMultiError, or nil if none found.
type FeedVideoMultiError ¶
type FeedVideoMultiError []error
FeedVideoMultiError is an error wrapping multiple validation errors returned by FeedVideo.ValidateAll() if the designated constraints aren't met.
func (FeedVideoMultiError) AllErrors ¶
func (m FeedVideoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FeedVideoMultiError) Error ¶
func (m FeedVideoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FeedVideoValidationError ¶
type FeedVideoValidationError struct {
// contains filtered or unexported fields
}
FeedVideoValidationError is the validation error returned by FeedVideo.Validate if the designated constraints aren't met.
func (FeedVideoValidationError) Cause ¶
func (e FeedVideoValidationError) Cause() error
Cause function returns cause value.
func (FeedVideoValidationError) Error ¶
func (e FeedVideoValidationError) Error() string
Error satisfies the builtin error interface
func (FeedVideoValidationError) ErrorName ¶
func (e FeedVideoValidationError) ErrorName() string
ErrorName returns error name.
func (FeedVideoValidationError) Field ¶
func (e FeedVideoValidationError) Field() string
Field function returns field value.
func (FeedVideoValidationError) Key ¶
func (e FeedVideoValidationError) Key() bool
Key function returns key value.
func (FeedVideoValidationError) Reason ¶
func (e FeedVideoValidationError) Reason() string
Reason function returns reason value.
type FileMessage ¶
type FileMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` //大小 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` //文件名 Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` //链接地址 // contains filtered or unexported fields }
文件消息
func (*FileMessage) Descriptor
deprecated
func (*FileMessage) Descriptor() ([]byte, []int)
Deprecated: Use FileMessage.ProtoReflect.Descriptor instead.
func (*FileMessage) GetId ¶
func (x *FileMessage) GetId() uint64
func (*FileMessage) GetName ¶
func (x *FileMessage) GetName() string
func (*FileMessage) GetSize ¶
func (x *FileMessage) GetSize() uint64
func (*FileMessage) GetUrl ¶
func (x *FileMessage) GetUrl() string
func (*FileMessage) ProtoMessage ¶
func (*FileMessage) ProtoMessage()
func (*FileMessage) ProtoReflect ¶
func (x *FileMessage) ProtoReflect() protoreflect.Message
func (*FileMessage) Reset ¶
func (x *FileMessage) Reset()
func (*FileMessage) String ¶
func (x *FileMessage) String() string
func (*FileMessage) Validate ¶
func (m *FileMessage) Validate() error
Validate checks the field values on FileMessage 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 (*FileMessage) ValidateAll ¶
func (m *FileMessage) ValidateAll() error
ValidateAll checks the field values on FileMessage 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 FileMessageMultiError, or nil if none found.
type FileMessageMultiError ¶
type FileMessageMultiError []error
FileMessageMultiError is an error wrapping multiple validation errors returned by FileMessage.ValidateAll() if the designated constraints aren't met.
func (FileMessageMultiError) AllErrors ¶
func (m FileMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileMessageMultiError) Error ¶
func (m FileMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileMessageValidationError ¶
type FileMessageValidationError struct {
// contains filtered or unexported fields
}
FileMessageValidationError is the validation error returned by FileMessage.Validate if the designated constraints aren't met.
func (FileMessageValidationError) Cause ¶
func (e FileMessageValidationError) Cause() error
Cause function returns cause value.
func (FileMessageValidationError) Error ¶
func (e FileMessageValidationError) Error() string
Error satisfies the builtin error interface
func (FileMessageValidationError) ErrorName ¶
func (e FileMessageValidationError) ErrorName() string
ErrorName returns error name.
func (FileMessageValidationError) Field ¶
func (e FileMessageValidationError) Field() string
Field function returns field value.
func (FileMessageValidationError) Key ¶
func (e FileMessageValidationError) Key() bool
Key function returns key value.
func (FileMessageValidationError) Reason ¶
func (e FileMessageValidationError) Reason() string
Reason function returns reason value.
type GatewayServiceClient ¶
type GatewayServiceClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) UnRegister(ctx context.Context, in *UnRegisterRequest, opts ...grpc.CallOption) (*UnRegisterResponse, error) SendMessage(ctx context.Context, opts ...grpc.CallOption) (GatewayService_SendMessageClient, error) SendToAll(ctx context.Context, in *SendToAllRequest, opts ...grpc.CallOption) (*SendToAllResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
GatewayServiceClient is the client API for GatewayService 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 NewGatewayServiceClient ¶
func NewGatewayServiceClient(cc grpc.ClientConnInterface) GatewayServiceClient
type GatewayServiceServer ¶
type GatewayServiceServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) UnRegister(context.Context, *UnRegisterRequest) (*UnRegisterResponse, error) SendMessage(GatewayService_SendMessageServer) error SendToAll(context.Context, *SendToAllRequest) (*SendToAllResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
GatewayServiceServer is the server API for GatewayService service. All implementations must embed UnimplementedGatewayServiceServer for forward compatibility
type GatewayService_SendMessageClient ¶
type GatewayService_SendMessageClient interface { Send(*SendMessageRequest) error Recv() (*SendMessageResponse, error) grpc.ClientStream }
type GatewayService_SendMessageServer ¶
type GatewayService_SendMessageServer interface { Send(*SendMessageResponse) error Recv() (*SendMessageRequest, error) grpc.ServerStream }
type Gender ¶
type Gender int32
func (Gender) Descriptor ¶
func (Gender) Descriptor() protoreflect.EnumDescriptor
func (Gender) EnumDescriptor
deprecated
func (Gender) Number ¶
func (x Gender) Number() protoreflect.EnumNumber
func (Gender) Type ¶
func (Gender) Type() protoreflect.EnumType
type GetGroupRequest ¶
type GetGroupRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetGroupRequest) Descriptor
deprecated
func (*GetGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.
func (*GetGroupRequest) GetId ¶
func (x *GetGroupRequest) GetId() uint64
func (*GetGroupRequest) ProtoMessage ¶
func (*GetGroupRequest) ProtoMessage()
func (*GetGroupRequest) ProtoReflect ¶
func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
func (*GetGroupRequest) Reset ¶
func (x *GetGroupRequest) Reset()
func (*GetGroupRequest) String ¶
func (x *GetGroupRequest) String() string
func (*GetGroupRequest) Validate ¶
func (m *GetGroupRequest) Validate() error
Validate checks the field values on GetGroupRequest 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 (*GetGroupRequest) ValidateAll ¶
func (m *GetGroupRequest) ValidateAll() error
ValidateAll checks the field values on GetGroupRequest 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 GetGroupRequestMultiError, or nil if none found.
type GetGroupRequestMultiError ¶
type GetGroupRequestMultiError []error
GetGroupRequestMultiError is an error wrapping multiple validation errors returned by GetGroupRequest.ValidateAll() if the designated constraints aren't met.
func (GetGroupRequestMultiError) AllErrors ¶
func (m GetGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupRequestMultiError) Error ¶
func (m GetGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupRequestValidationError ¶
type GetGroupRequestValidationError struct {
// contains filtered or unexported fields
}
GetGroupRequestValidationError is the validation error returned by GetGroupRequest.Validate if the designated constraints aren't met.
func (GetGroupRequestValidationError) Cause ¶
func (e GetGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetGroupRequestValidationError) Error ¶
func (e GetGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupRequestValidationError) ErrorName ¶
func (e GetGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupRequestValidationError) Field ¶
func (e GetGroupRequestValidationError) Field() string
Field function returns field value.
func (GetGroupRequestValidationError) Key ¶
func (e GetGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetGroupRequestValidationError) Reason ¶
func (e GetGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GetGroupResponse ¶
type GetGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*GetGroupResponse) Descriptor
deprecated
func (*GetGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.
func (*GetGroupResponse) GetGroup ¶
func (x *GetGroupResponse) GetGroup() *Group
func (*GetGroupResponse) ProtoMessage ¶
func (*GetGroupResponse) ProtoMessage()
func (*GetGroupResponse) ProtoReflect ¶
func (x *GetGroupResponse) ProtoReflect() protoreflect.Message
func (*GetGroupResponse) Reset ¶
func (x *GetGroupResponse) Reset()
func (*GetGroupResponse) String ¶
func (x *GetGroupResponse) String() string
func (*GetGroupResponse) Validate ¶
func (m *GetGroupResponse) Validate() error
Validate checks the field values on GetGroupResponse 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 (*GetGroupResponse) ValidateAll ¶
func (m *GetGroupResponse) ValidateAll() error
ValidateAll checks the field values on GetGroupResponse 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 GetGroupResponseMultiError, or nil if none found.
type GetGroupResponseMultiError ¶
type GetGroupResponseMultiError []error
GetGroupResponseMultiError is an error wrapping multiple validation errors returned by GetGroupResponse.ValidateAll() if the designated constraints aren't met.
func (GetGroupResponseMultiError) AllErrors ¶
func (m GetGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupResponseMultiError) Error ¶
func (m GetGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupResponseValidationError ¶
type GetGroupResponseValidationError struct {
// contains filtered or unexported fields
}
GetGroupResponseValidationError is the validation error returned by GetGroupResponse.Validate if the designated constraints aren't met.
func (GetGroupResponseValidationError) Cause ¶
func (e GetGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (GetGroupResponseValidationError) Error ¶
func (e GetGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupResponseValidationError) ErrorName ¶
func (e GetGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupResponseValidationError) Field ¶
func (e GetGroupResponseValidationError) Field() string
Field function returns field value.
func (GetGroupResponseValidationError) Key ¶
func (e GetGroupResponseValidationError) Key() bool
Key function returns key value.
func (GetGroupResponseValidationError) Reason ¶
func (e GetGroupResponseValidationError) Reason() string
Reason function returns reason value.
type GetGroupUserRequest ¶
type GetGroupUserRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*GetGroupUserRequest) Descriptor
deprecated
func (*GetGroupUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupUserRequest.ProtoReflect.Descriptor instead.
func (*GetGroupUserRequest) GetId ¶
func (x *GetGroupUserRequest) GetId() uint64
func (*GetGroupUserRequest) GetPage ¶
func (x *GetGroupUserRequest) GetPage() uint64
func (*GetGroupUserRequest) GetPageSize ¶
func (x *GetGroupUserRequest) GetPageSize() uint64
func (*GetGroupUserRequest) ProtoMessage ¶
func (*GetGroupUserRequest) ProtoMessage()
func (*GetGroupUserRequest) ProtoReflect ¶
func (x *GetGroupUserRequest) ProtoReflect() protoreflect.Message
func (*GetGroupUserRequest) Reset ¶
func (x *GetGroupUserRequest) Reset()
func (*GetGroupUserRequest) String ¶
func (x *GetGroupUserRequest) String() string
func (*GetGroupUserRequest) Validate ¶
func (m *GetGroupUserRequest) Validate() error
Validate checks the field values on GetGroupUserRequest 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 (*GetGroupUserRequest) ValidateAll ¶
func (m *GetGroupUserRequest) ValidateAll() error
ValidateAll checks the field values on GetGroupUserRequest 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 GetGroupUserRequestMultiError, or nil if none found.
type GetGroupUserRequestMultiError ¶
type GetGroupUserRequestMultiError []error
GetGroupUserRequestMultiError is an error wrapping multiple validation errors returned by GetGroupUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetGroupUserRequestMultiError) AllErrors ¶
func (m GetGroupUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupUserRequestMultiError) Error ¶
func (m GetGroupUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupUserRequestValidationError ¶
type GetGroupUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetGroupUserRequestValidationError is the validation error returned by GetGroupUserRequest.Validate if the designated constraints aren't met.
func (GetGroupUserRequestValidationError) Cause ¶
func (e GetGroupUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetGroupUserRequestValidationError) Error ¶
func (e GetGroupUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupUserRequestValidationError) ErrorName ¶
func (e GetGroupUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupUserRequestValidationError) Field ¶
func (e GetGroupUserRequestValidationError) Field() string
Field function returns field value.
func (GetGroupUserRequestValidationError) Key ¶
func (e GetGroupUserRequestValidationError) Key() bool
Key function returns key value.
func (GetGroupUserRequestValidationError) Reason ¶
func (e GetGroupUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetGroupUserResponse ¶
type GetGroupUserResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` User []*User `protobuf:"bytes,2,rep,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetGroupUserResponse) Descriptor
deprecated
func (*GetGroupUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupUserResponse.ProtoReflect.Descriptor instead.
func (*GetGroupUserResponse) GetPager ¶
func (x *GetGroupUserResponse) GetPager() *Pager
func (*GetGroupUserResponse) GetUser ¶
func (x *GetGroupUserResponse) GetUser() []*User
func (*GetGroupUserResponse) ProtoMessage ¶
func (*GetGroupUserResponse) ProtoMessage()
func (*GetGroupUserResponse) ProtoReflect ¶
func (x *GetGroupUserResponse) ProtoReflect() protoreflect.Message
func (*GetGroupUserResponse) Reset ¶
func (x *GetGroupUserResponse) Reset()
func (*GetGroupUserResponse) String ¶
func (x *GetGroupUserResponse) String() string
func (*GetGroupUserResponse) Validate ¶
func (m *GetGroupUserResponse) Validate() error
Validate checks the field values on GetGroupUserResponse 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 (*GetGroupUserResponse) ValidateAll ¶
func (m *GetGroupUserResponse) ValidateAll() error
ValidateAll checks the field values on GetGroupUserResponse 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 GetGroupUserResponseMultiError, or nil if none found.
type GetGroupUserResponseMultiError ¶
type GetGroupUserResponseMultiError []error
GetGroupUserResponseMultiError is an error wrapping multiple validation errors returned by GetGroupUserResponse.ValidateAll() if the designated constraints aren't met.
func (GetGroupUserResponseMultiError) AllErrors ¶
func (m GetGroupUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupUserResponseMultiError) Error ¶
func (m GetGroupUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupUserResponseValidationError ¶
type GetGroupUserResponseValidationError struct {
// contains filtered or unexported fields
}
GetGroupUserResponseValidationError is the validation error returned by GetGroupUserResponse.Validate if the designated constraints aren't met.
func (GetGroupUserResponseValidationError) Cause ¶
func (e GetGroupUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetGroupUserResponseValidationError) Error ¶
func (e GetGroupUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupUserResponseValidationError) ErrorName ¶
func (e GetGroupUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupUserResponseValidationError) Field ¶
func (e GetGroupUserResponseValidationError) Field() string
Field function returns field value.
func (GetGroupUserResponseValidationError) Key ¶
func (e GetGroupUserResponseValidationError) Key() bool
Key function returns key value.
func (GetGroupUserResponseValidationError) Reason ¶
func (e GetGroupUserResponseValidationError) Reason() string
Reason function returns reason value.
type Group ¶
type Group struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` UserId uint64 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetAvatarUrl ¶
func (*Group) GetCreatedAt ¶
func (x *Group) GetCreatedAt() *timestamppb.Timestamp
func (*Group) GetDeletedAt ¶
func (x *Group) GetDeletedAt() *timestamppb.Timestamp
func (*Group) GetIntroduction ¶
func (*Group) GetUpdatedAt ¶
func (x *Group) GetUpdatedAt() *timestamppb.Timestamp
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) Validate ¶
Validate checks the field values on Group 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 (*Group) ValidateAll ¶
ValidateAll checks the field values on Group 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 GroupMultiError, or nil if none found.
type GroupMultiError ¶
type GroupMultiError []error
GroupMultiError is an error wrapping multiple validation errors returned by Group.ValidateAll() if the designated constraints aren't met.
func (GroupMultiError) AllErrors ¶
func (m GroupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GroupMultiError) Error ¶
func (m GroupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GroupServiceClient ¶
type GroupServiceClient interface { CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) QueryGroup(ctx context.Context, in *QueryGroupRequest, opts ...grpc.CallOption) (*QueryGroupResponse, error) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error) JoinGroup(ctx context.Context, in *JoinGroupRequest, opts ...grpc.CallOption) (*JoinGroupResponse, error) QuitGroup(ctx context.Context, in *QuitGroupRequest, opts ...grpc.CallOption) (*QuitGroupResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
GroupServiceClient is the client API for GroupService 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 NewGroupServiceClient ¶
func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient
type GroupServiceServer ¶
type GroupServiceServer interface { CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error) QueryGroup(context.Context, *QueryGroupRequest) (*QueryGroupResponse, error) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error) JoinGroup(context.Context, *JoinGroupRequest) (*JoinGroupResponse, error) QuitGroup(context.Context, *QuitGroupRequest) (*QuitGroupResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
GroupServiceServer is the server API for GroupService service. All implementations must embed UnimplementedGroupServiceServer for forward compatibility
type GroupValidationError ¶
type GroupValidationError struct {
// contains filtered or unexported fields
}
GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.
func (GroupValidationError) Cause ¶
func (e GroupValidationError) Cause() error
Cause function returns cause value.
func (GroupValidationError) Error ¶
func (e GroupValidationError) Error() string
Error satisfies the builtin error interface
func (GroupValidationError) ErrorName ¶
func (e GroupValidationError) ErrorName() string
ErrorName returns error name.
func (GroupValidationError) Field ¶
func (e GroupValidationError) Field() string
Field function returns field value.
func (GroupValidationError) Key ¶
func (e GroupValidationError) Key() bool
Key function returns key value.
func (GroupValidationError) Reason ¶
func (e GroupValidationError) Reason() string
Reason function returns reason value.
type IMAGE_FORMAT ¶
type IMAGE_FORMAT int32
图片格式
const ( IMAGE_FORMAT_JPG IMAGE_FORMAT = 0 IMAGE_FORMAT_GIF IMAGE_FORMAT = 1 IMAGE_FORMAT_PNG IMAGE_FORMAT = 2 IMAGE_FORMAT_BMP IMAGE_FORMAT = 3 IMAGE_FORMAT_OTHER IMAGE_FORMAT = 255 )
func (IMAGE_FORMAT) Descriptor ¶
func (IMAGE_FORMAT) Descriptor() protoreflect.EnumDescriptor
func (IMAGE_FORMAT) Enum ¶
func (x IMAGE_FORMAT) Enum() *IMAGE_FORMAT
func (IMAGE_FORMAT) EnumDescriptor
deprecated
func (IMAGE_FORMAT) EnumDescriptor() ([]byte, []int)
Deprecated: Use IMAGE_FORMAT.Descriptor instead.
func (IMAGE_FORMAT) Number ¶
func (x IMAGE_FORMAT) Number() protoreflect.EnumNumber
func (IMAGE_FORMAT) String ¶
func (x IMAGE_FORMAT) String() string
func (IMAGE_FORMAT) Type ¶
func (IMAGE_FORMAT) Type() protoreflect.EnumType
type IMAGE_TYPE ¶
type IMAGE_TYPE int32
图片类型
const ( IMAGE_TYPE_ORIGIN IMAGE_TYPE = 0 //原图 IMAGE_TYPE_BIG IMAGE_TYPE = 1 //大图 IMAGE_TYPE_THUMBNAIL IMAGE_TYPE = 2 // 缩略图 )
func (IMAGE_TYPE) Descriptor ¶
func (IMAGE_TYPE) Descriptor() protoreflect.EnumDescriptor
func (IMAGE_TYPE) Enum ¶
func (x IMAGE_TYPE) Enum() *IMAGE_TYPE
func (IMAGE_TYPE) EnumDescriptor
deprecated
func (IMAGE_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use IMAGE_TYPE.Descriptor instead.
func (IMAGE_TYPE) Number ¶
func (x IMAGE_TYPE) Number() protoreflect.EnumNumber
func (IMAGE_TYPE) String ¶
func (x IMAGE_TYPE) String() string
func (IMAGE_TYPE) Type ¶
func (IMAGE_TYPE) Type() protoreflect.EnumType
type ImageInfo ¶
type ImageInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` Width uint64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*ImageInfo) Descriptor
deprecated
func (*ImageInfo) ProtoMessage ¶
func (*ImageInfo) ProtoMessage()
func (*ImageInfo) ProtoReflect ¶
func (x *ImageInfo) ProtoReflect() protoreflect.Message
func (*ImageInfo) Validate ¶
Validate checks the field values on ImageInfo 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 (*ImageInfo) ValidateAll ¶
ValidateAll checks the field values on ImageInfo 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 ImageInfoMultiError, or nil if none found.
type ImageInfoMultiError ¶
type ImageInfoMultiError []error
ImageInfoMultiError is an error wrapping multiple validation errors returned by ImageInfo.ValidateAll() if the designated constraints aren't met.
func (ImageInfoMultiError) AllErrors ¶
func (m ImageInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImageInfoMultiError) Error ¶
func (m ImageInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImageInfoValidationError ¶
type ImageInfoValidationError struct {
// contains filtered or unexported fields
}
ImageInfoValidationError is the validation error returned by ImageInfo.Validate if the designated constraints aren't met.
func (ImageInfoValidationError) Cause ¶
func (e ImageInfoValidationError) Cause() error
Cause function returns cause value.
func (ImageInfoValidationError) Error ¶
func (e ImageInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ImageInfoValidationError) ErrorName ¶
func (e ImageInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ImageInfoValidationError) Field ¶
func (e ImageInfoValidationError) Field() string
Field function returns field value.
func (ImageInfoValidationError) Key ¶
func (e ImageInfoValidationError) Key() bool
Key function returns key value.
func (ImageInfoValidationError) Reason ¶
func (e ImageInfoValidationError) Reason() string
Reason function returns reason value.
type ImageMessage ¶
type ImageMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` List []*ImageMessageItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
图像消息
func (*ImageMessage) Descriptor
deprecated
func (*ImageMessage) Descriptor() ([]byte, []int)
Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead.
func (*ImageMessage) GetId ¶
func (x *ImageMessage) GetId() uint64
func (*ImageMessage) GetList ¶
func (x *ImageMessage) GetList() []*ImageMessageItem
func (*ImageMessage) ProtoMessage ¶
func (*ImageMessage) ProtoMessage()
func (*ImageMessage) ProtoReflect ¶
func (x *ImageMessage) ProtoReflect() protoreflect.Message
func (*ImageMessage) Reset ¶
func (x *ImageMessage) Reset()
func (*ImageMessage) String ¶
func (x *ImageMessage) String() string
func (*ImageMessage) Validate ¶
func (m *ImageMessage) Validate() error
Validate checks the field values on ImageMessage 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 (*ImageMessage) ValidateAll ¶
func (m *ImageMessage) ValidateAll() error
ValidateAll checks the field values on ImageMessage 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 ImageMessageMultiError, or nil if none found.
type ImageMessageItem ¶
type ImageMessageItem struct { Type IMAGE_TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=message.IMAGE_TYPE" json:"type,omitempty"` // 类型 Format IMAGE_FORMAT `protobuf:"varint,2,opt,name=format,proto3,enum=message.IMAGE_FORMAT" json:"format,omitempty"` //格式 Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` //大小 Width uint64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` //宽度 Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` //高度 Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` //链接地址 // contains filtered or unexported fields }
图片
func (*ImageMessageItem) Descriptor
deprecated
func (*ImageMessageItem) Descriptor() ([]byte, []int)
Deprecated: Use ImageMessageItem.ProtoReflect.Descriptor instead.
func (*ImageMessageItem) GetFormat ¶
func (x *ImageMessageItem) GetFormat() IMAGE_FORMAT
func (*ImageMessageItem) GetHeight ¶
func (x *ImageMessageItem) GetHeight() uint64
func (*ImageMessageItem) GetSize ¶
func (x *ImageMessageItem) GetSize() uint64
func (*ImageMessageItem) GetType ¶
func (x *ImageMessageItem) GetType() IMAGE_TYPE
func (*ImageMessageItem) GetUrl ¶
func (x *ImageMessageItem) GetUrl() string
func (*ImageMessageItem) GetWidth ¶
func (x *ImageMessageItem) GetWidth() uint64
func (*ImageMessageItem) ProtoMessage ¶
func (*ImageMessageItem) ProtoMessage()
func (*ImageMessageItem) ProtoReflect ¶
func (x *ImageMessageItem) ProtoReflect() protoreflect.Message
func (*ImageMessageItem) Reset ¶
func (x *ImageMessageItem) Reset()
func (*ImageMessageItem) String ¶
func (x *ImageMessageItem) String() string
func (*ImageMessageItem) Validate ¶
func (m *ImageMessageItem) Validate() error
Validate checks the field values on ImageMessageItem 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 (*ImageMessageItem) ValidateAll ¶
func (m *ImageMessageItem) ValidateAll() error
ValidateAll checks the field values on ImageMessageItem 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 ImageMessageItemMultiError, or nil if none found.
type ImageMessageItemMultiError ¶
type ImageMessageItemMultiError []error
ImageMessageItemMultiError is an error wrapping multiple validation errors returned by ImageMessageItem.ValidateAll() if the designated constraints aren't met.
func (ImageMessageItemMultiError) AllErrors ¶
func (m ImageMessageItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImageMessageItemMultiError) Error ¶
func (m ImageMessageItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImageMessageItemValidationError ¶
type ImageMessageItemValidationError struct {
// contains filtered or unexported fields
}
ImageMessageItemValidationError is the validation error returned by ImageMessageItem.Validate if the designated constraints aren't met.
func (ImageMessageItemValidationError) Cause ¶
func (e ImageMessageItemValidationError) Cause() error
Cause function returns cause value.
func (ImageMessageItemValidationError) Error ¶
func (e ImageMessageItemValidationError) Error() string
Error satisfies the builtin error interface
func (ImageMessageItemValidationError) ErrorName ¶
func (e ImageMessageItemValidationError) ErrorName() string
ErrorName returns error name.
func (ImageMessageItemValidationError) Field ¶
func (e ImageMessageItemValidationError) Field() string
Field function returns field value.
func (ImageMessageItemValidationError) Key ¶
func (e ImageMessageItemValidationError) Key() bool
Key function returns key value.
func (ImageMessageItemValidationError) Reason ¶
func (e ImageMessageItemValidationError) Reason() string
Reason function returns reason value.
type ImageMessageMultiError ¶
type ImageMessageMultiError []error
ImageMessageMultiError is an error wrapping multiple validation errors returned by ImageMessage.ValidateAll() if the designated constraints aren't met.
func (ImageMessageMultiError) AllErrors ¶
func (m ImageMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImageMessageMultiError) Error ¶
func (m ImageMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImageMessageValidationError ¶
type ImageMessageValidationError struct {
// contains filtered or unexported fields
}
ImageMessageValidationError is the validation error returned by ImageMessage.Validate if the designated constraints aren't met.
func (ImageMessageValidationError) Cause ¶
func (e ImageMessageValidationError) Cause() error
Cause function returns cause value.
func (ImageMessageValidationError) Error ¶
func (e ImageMessageValidationError) Error() string
Error satisfies the builtin error interface
func (ImageMessageValidationError) ErrorName ¶
func (e ImageMessageValidationError) ErrorName() string
ErrorName returns error name.
func (ImageMessageValidationError) Field ¶
func (e ImageMessageValidationError) Field() string
Field function returns field value.
func (ImageMessageValidationError) Key ¶
func (e ImageMessageValidationError) Key() bool
Key function returns key value.
func (ImageMessageValidationError) Reason ¶
func (e ImageMessageValidationError) Reason() string
Reason function returns reason value.
type IsEnable ¶
type IsEnable int32
func (IsEnable) Descriptor ¶
func (IsEnable) Descriptor() protoreflect.EnumDescriptor
func (IsEnable) EnumDescriptor
deprecated
func (IsEnable) Number ¶
func (x IsEnable) Number() protoreflect.EnumNumber
func (IsEnable) Type ¶
func (IsEnable) Type() protoreflect.EnumType
type JoinGroupRequest ¶
type JoinGroupRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*JoinGroupRequest) Descriptor
deprecated
func (*JoinGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinGroupRequest.ProtoReflect.Descriptor instead.
func (*JoinGroupRequest) GetId ¶
func (x *JoinGroupRequest) GetId() uint64
func (*JoinGroupRequest) GetUserId ¶
func (x *JoinGroupRequest) GetUserId() uint64
func (*JoinGroupRequest) ProtoMessage ¶
func (*JoinGroupRequest) ProtoMessage()
func (*JoinGroupRequest) ProtoReflect ¶
func (x *JoinGroupRequest) ProtoReflect() protoreflect.Message
func (*JoinGroupRequest) Reset ¶
func (x *JoinGroupRequest) Reset()
func (*JoinGroupRequest) String ¶
func (x *JoinGroupRequest) String() string
func (*JoinGroupRequest) Validate ¶
func (m *JoinGroupRequest) Validate() error
Validate checks the field values on JoinGroupRequest 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 (*JoinGroupRequest) ValidateAll ¶
func (m *JoinGroupRequest) ValidateAll() error
ValidateAll checks the field values on JoinGroupRequest 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 JoinGroupRequestMultiError, or nil if none found.
type JoinGroupRequestMultiError ¶
type JoinGroupRequestMultiError []error
JoinGroupRequestMultiError is an error wrapping multiple validation errors returned by JoinGroupRequest.ValidateAll() if the designated constraints aren't met.
func (JoinGroupRequestMultiError) AllErrors ¶
func (m JoinGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinGroupRequestMultiError) Error ¶
func (m JoinGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinGroupRequestValidationError ¶
type JoinGroupRequestValidationError struct {
// contains filtered or unexported fields
}
JoinGroupRequestValidationError is the validation error returned by JoinGroupRequest.Validate if the designated constraints aren't met.
func (JoinGroupRequestValidationError) Cause ¶
func (e JoinGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (JoinGroupRequestValidationError) Error ¶
func (e JoinGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (JoinGroupRequestValidationError) ErrorName ¶
func (e JoinGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (JoinGroupRequestValidationError) Field ¶
func (e JoinGroupRequestValidationError) Field() string
Field function returns field value.
func (JoinGroupRequestValidationError) Key ¶
func (e JoinGroupRequestValidationError) Key() bool
Key function returns key value.
func (JoinGroupRequestValidationError) Reason ¶
func (e JoinGroupRequestValidationError) Reason() string
Reason function returns reason value.
type JoinGroupResponse ¶
type JoinGroupResponse struct {
// contains filtered or unexported fields
}
func (*JoinGroupResponse) Descriptor
deprecated
func (*JoinGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinGroupResponse.ProtoReflect.Descriptor instead.
func (*JoinGroupResponse) ProtoMessage ¶
func (*JoinGroupResponse) ProtoMessage()
func (*JoinGroupResponse) ProtoReflect ¶
func (x *JoinGroupResponse) ProtoReflect() protoreflect.Message
func (*JoinGroupResponse) Reset ¶
func (x *JoinGroupResponse) Reset()
func (*JoinGroupResponse) String ¶
func (x *JoinGroupResponse) String() string
func (*JoinGroupResponse) Validate ¶
func (m *JoinGroupResponse) Validate() error
Validate checks the field values on JoinGroupResponse 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 (*JoinGroupResponse) ValidateAll ¶
func (m *JoinGroupResponse) ValidateAll() error
ValidateAll checks the field values on JoinGroupResponse 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 JoinGroupResponseMultiError, or nil if none found.
type JoinGroupResponseMultiError ¶
type JoinGroupResponseMultiError []error
JoinGroupResponseMultiError is an error wrapping multiple validation errors returned by JoinGroupResponse.ValidateAll() if the designated constraints aren't met.
func (JoinGroupResponseMultiError) AllErrors ¶
func (m JoinGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinGroupResponseMultiError) Error ¶
func (m JoinGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinGroupResponseValidationError ¶
type JoinGroupResponseValidationError struct {
// contains filtered or unexported fields
}
JoinGroupResponseValidationError is the validation error returned by JoinGroupResponse.Validate if the designated constraints aren't met.
func (JoinGroupResponseValidationError) Cause ¶
func (e JoinGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (JoinGroupResponseValidationError) Error ¶
func (e JoinGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (JoinGroupResponseValidationError) ErrorName ¶
func (e JoinGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (JoinGroupResponseValidationError) Field ¶
func (e JoinGroupResponseValidationError) Field() string
Field function returns field value.
func (JoinGroupResponseValidationError) Key ¶
func (e JoinGroupResponseValidationError) Key() bool
Key function returns key value.
func (JoinGroupResponseValidationError) Reason ¶
func (e JoinGroupResponseValidationError) Reason() string
Reason function returns reason value.
type LocationMessage ¶
type LocationMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CoverImage string `protobuf:"bytes,2,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"` Lat float64 `protobuf:"fixed64,3,opt,name=lat,proto3" json:"lat,omitempty"` Lng float64 `protobuf:"fixed64,4,opt,name=lng,proto3" json:"lng,omitempty"` MapLink string `protobuf:"bytes,5,opt,name=map_link,json=mapLink,proto3" json:"map_link,omitempty"` Desc string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
地理位置消息
func (*LocationMessage) Descriptor
deprecated
func (*LocationMessage) Descriptor() ([]byte, []int)
Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead.
func (*LocationMessage) GetCoverImage ¶
func (x *LocationMessage) GetCoverImage() string
func (*LocationMessage) GetDesc ¶
func (x *LocationMessage) GetDesc() string
func (*LocationMessage) GetId ¶
func (x *LocationMessage) GetId() uint64
func (*LocationMessage) GetLat ¶
func (x *LocationMessage) GetLat() float64
func (*LocationMessage) GetLng ¶
func (x *LocationMessage) GetLng() float64
func (*LocationMessage) GetMapLink ¶
func (x *LocationMessage) GetMapLink() string
func (*LocationMessage) ProtoMessage ¶
func (*LocationMessage) ProtoMessage()
func (*LocationMessage) ProtoReflect ¶
func (x *LocationMessage) ProtoReflect() protoreflect.Message
func (*LocationMessage) Reset ¶
func (x *LocationMessage) Reset()
func (*LocationMessage) String ¶
func (x *LocationMessage) String() string
func (*LocationMessage) Validate ¶
func (m *LocationMessage) Validate() error
Validate checks the field values on LocationMessage 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 (*LocationMessage) ValidateAll ¶
func (m *LocationMessage) ValidateAll() error
ValidateAll checks the field values on LocationMessage 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 LocationMessageMultiError, or nil if none found.
type LocationMessageMultiError ¶
type LocationMessageMultiError []error
LocationMessageMultiError is an error wrapping multiple validation errors returned by LocationMessage.ValidateAll() if the designated constraints aren't met.
func (LocationMessageMultiError) AllErrors ¶
func (m LocationMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocationMessageMultiError) Error ¶
func (m LocationMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocationMessageValidationError ¶
type LocationMessageValidationError struct {
// contains filtered or unexported fields
}
LocationMessageValidationError is the validation error returned by LocationMessage.Validate if the designated constraints aren't met.
func (LocationMessageValidationError) Cause ¶
func (e LocationMessageValidationError) Cause() error
Cause function returns cause value.
func (LocationMessageValidationError) Error ¶
func (e LocationMessageValidationError) Error() string
Error satisfies the builtin error interface
func (LocationMessageValidationError) ErrorName ¶
func (e LocationMessageValidationError) ErrorName() string
ErrorName returns error name.
func (LocationMessageValidationError) Field ¶
func (e LocationMessageValidationError) Field() string
Field function returns field value.
func (LocationMessageValidationError) Key ¶
func (e LocationMessageValidationError) Key() bool
Key function returns key value.
func (LocationMessageValidationError) Reason ¶
func (e LocationMessageValidationError) Reason() string
Reason function returns reason value.
type MESSAGE_TYPE ¶
type MESSAGE_TYPE int32
消息类型
const ( MESSAGE_TYPE_TEXT MESSAGE_TYPE = 0 //文本消息。 MESSAGE_TYPE_LOCATION MESSAGE_TYPE = 1 //地理位置消息。 MESSAGE_TYPE_FACE MESSAGE_TYPE = 2 // 表情消息。 MESSAGE_TYPE_SOUND MESSAGE_TYPE = 3 // 语音消息。 MESSAGE_TYPE_IMAGE MESSAGE_TYPE = 4 // 图像消息。 MESSAGE_TYPE_FILE MESSAGE_TYPE = 5 // 文件消息。 MESSAGE_TYPE_Video MESSAGE_TYPE = 6 // 视频消息。 )
func (MESSAGE_TYPE) Descriptor ¶
func (MESSAGE_TYPE) Descriptor() protoreflect.EnumDescriptor
func (MESSAGE_TYPE) Enum ¶
func (x MESSAGE_TYPE) Enum() *MESSAGE_TYPE
func (MESSAGE_TYPE) EnumDescriptor
deprecated
func (MESSAGE_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use MESSAGE_TYPE.Descriptor instead.
func (MESSAGE_TYPE) Number ¶
func (x MESSAGE_TYPE) Number() protoreflect.EnumNumber
func (MESSAGE_TYPE) String ¶
func (x MESSAGE_TYPE) String() string
func (MESSAGE_TYPE) Type ¶
func (MESSAGE_TYPE) Type() protoreflect.EnumType
type MessageServiceClient ¶
type MessageServiceClient interface { SendUserTextMessage(ctx context.Context, in *SendUserTextMessageRequest, opts ...grpc.CallOption) (*SendUserTextMessageResponse, error) SendUserLocationMessage(ctx context.Context, in *SendUserLocationMessageRequest, opts ...grpc.CallOption) (*SendUserLocationMessageResponse, error) SendUserFaceMessage(ctx context.Context, in *SendUserFaceMessageRequest, opts ...grpc.CallOption) (*SendUserFaceMessageResponse, error) SendUserSoundMessage(ctx context.Context, in *SendUserSoundMessageRequest, opts ...grpc.CallOption) (*SendUserSoundMessageResponse, error) SendUserVideoMessage(ctx context.Context, in *SendUserVideoMessageRequest, opts ...grpc.CallOption) (*SendUserVideoMessageResponse, error) SendUserImageMessage(ctx context.Context, in *SendUserImageMessageRequest, opts ...grpc.CallOption) (*SendUserImageMessageResponse, error) SendUserFileMessage(ctx context.Context, in *SendUserFileMessageRequest, opts ...grpc.CallOption) (*SendUserFileMessageResponse, error) SendGroupTextMessage(ctx context.Context, in *SendGroupTextMessageRequest, opts ...grpc.CallOption) (*SendGroupTextMessageResponse, error) SendGroupLocationMessage(ctx context.Context, in *SendGroupLocationMessageRequest, opts ...grpc.CallOption) (*SendGroupLocationMessageResponse, error) SendGroupFceMessage(ctx context.Context, in *SendGroupFaceMessageRequest, opts ...grpc.CallOption) (*SendGroupFaceMessageResponse, error) SendGroupSoundMessage(ctx context.Context, in *SendGroupSoundMessageRequest, opts ...grpc.CallOption) (*SendGroupSoundMessageResponse, error) SendGroupVideoMessage(ctx context.Context, in *SendGroupVideoMessageRequest, opts ...grpc.CallOption) (*SendGroupVideoMessageResponse, error) SendGroupImageMessage(ctx context.Context, in *SendGroupImageMessageRequest, opts ...grpc.CallOption) (*SendGroupImageMessageResponse, error) SendGroupFileMessage(ctx context.Context, in *SendGroupFileMessageRequest, opts ...grpc.CallOption) (*SendGroupFileMessageResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
MessageServiceClient is the client API for MessageService 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 NewMessageServiceClient ¶
func NewMessageServiceClient(cc grpc.ClientConnInterface) MessageServiceClient
type MessageServiceServer ¶
type MessageServiceServer interface { SendUserTextMessage(context.Context, *SendUserTextMessageRequest) (*SendUserTextMessageResponse, error) SendUserLocationMessage(context.Context, *SendUserLocationMessageRequest) (*SendUserLocationMessageResponse, error) SendUserFaceMessage(context.Context, *SendUserFaceMessageRequest) (*SendUserFaceMessageResponse, error) SendUserSoundMessage(context.Context, *SendUserSoundMessageRequest) (*SendUserSoundMessageResponse, error) SendUserVideoMessage(context.Context, *SendUserVideoMessageRequest) (*SendUserVideoMessageResponse, error) SendUserImageMessage(context.Context, *SendUserImageMessageRequest) (*SendUserImageMessageResponse, error) SendUserFileMessage(context.Context, *SendUserFileMessageRequest) (*SendUserFileMessageResponse, error) SendGroupTextMessage(context.Context, *SendGroupTextMessageRequest) (*SendGroupTextMessageResponse, error) SendGroupLocationMessage(context.Context, *SendGroupLocationMessageRequest) (*SendGroupLocationMessageResponse, error) SendGroupFceMessage(context.Context, *SendGroupFaceMessageRequest) (*SendGroupFaceMessageResponse, error) SendGroupSoundMessage(context.Context, *SendGroupSoundMessageRequest) (*SendGroupSoundMessageResponse, error) SendGroupVideoMessage(context.Context, *SendGroupVideoMessageRequest) (*SendGroupVideoMessageResponse, error) SendGroupImageMessage(context.Context, *SendGroupImageMessageRequest) (*SendGroupImageMessageResponse, error) SendGroupFileMessage(context.Context, *SendGroupFileMessageRequest) (*SendGroupFileMessageResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
MessageServiceServer is the server API for MessageService service. All implementations must embed UnimplementedMessageServiceServer for forward compatibility
type Pager ¶
type Pager struct { Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageZie uint64 `protobuf:"varint,2,opt,name=page_zie,json=pageZie,proto3" json:"page_zie,omitempty"` TotalRows uint64 `protobuf:"varint,3,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` TotalPages uint64 `protobuf:"varint,4,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` // contains filtered or unexported fields }
func (*Pager) Descriptor
deprecated
func (*Pager) GetPageZie ¶
func (*Pager) GetTotalPages ¶
func (*Pager) GetTotalRows ¶
func (*Pager) ProtoMessage ¶
func (*Pager) ProtoMessage()
func (*Pager) ProtoReflect ¶
func (x *Pager) ProtoReflect() protoreflect.Message
func (*Pager) Validate ¶
Validate checks the field values on Pager 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 (*Pager) ValidateAll ¶
ValidateAll checks the field values on Pager 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 PagerMultiError, or nil if none found.
type PagerMultiError ¶
type PagerMultiError []error
PagerMultiError is an error wrapping multiple validation errors returned by Pager.ValidateAll() if the designated constraints aren't met.
func (PagerMultiError) AllErrors ¶
func (m PagerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PagerMultiError) Error ¶
func (m PagerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PagerValidationError ¶
type PagerValidationError struct {
// contains filtered or unexported fields
}
PagerValidationError is the validation error returned by Pager.Validate if the designated constraints aren't met.
func (PagerValidationError) Cause ¶
func (e PagerValidationError) Cause() error
Cause function returns cause value.
func (PagerValidationError) Error ¶
func (e PagerValidationError) Error() string
Error satisfies the builtin error interface
func (PagerValidationError) ErrorName ¶
func (e PagerValidationError) ErrorName() string
ErrorName returns error name.
func (PagerValidationError) Field ¶
func (e PagerValidationError) Field() string
Field function returns field value.
func (PagerValidationError) Key ¶
func (e PagerValidationError) Key() bool
Key function returns key value.
func (PagerValidationError) Reason ¶
func (e PagerValidationError) Reason() string
Reason function returns reason value.
type ParseMessageRequest ¶
type ParseMessageRequest struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ParseMessageRequest) Descriptor
deprecated
func (*ParseMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseMessageRequest.ProtoReflect.Descriptor instead.
func (*ParseMessageRequest) GetContent ¶
func (x *ParseMessageRequest) GetContent() []byte
func (*ParseMessageRequest) ProtoMessage ¶
func (*ParseMessageRequest) ProtoMessage()
func (*ParseMessageRequest) ProtoReflect ¶
func (x *ParseMessageRequest) ProtoReflect() protoreflect.Message
func (*ParseMessageRequest) Reset ¶
func (x *ParseMessageRequest) Reset()
func (*ParseMessageRequest) String ¶
func (x *ParseMessageRequest) String() string
func (*ParseMessageRequest) Validate ¶
func (m *ParseMessageRequest) Validate() error
Validate checks the field values on ParseMessageRequest 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 (*ParseMessageRequest) ValidateAll ¶
func (m *ParseMessageRequest) ValidateAll() error
ValidateAll checks the field values on ParseMessageRequest 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 ParseMessageRequestMultiError, or nil if none found.
type ParseMessageRequestMultiError ¶
type ParseMessageRequestMultiError []error
ParseMessageRequestMultiError is an error wrapping multiple validation errors returned by ParseMessageRequest.ValidateAll() if the designated constraints aren't met.
func (ParseMessageRequestMultiError) AllErrors ¶
func (m ParseMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParseMessageRequestMultiError) Error ¶
func (m ParseMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParseMessageRequestValidationError ¶
type ParseMessageRequestValidationError struct {
// contains filtered or unexported fields
}
ParseMessageRequestValidationError is the validation error returned by ParseMessageRequest.Validate if the designated constraints aren't met.
func (ParseMessageRequestValidationError) Cause ¶
func (e ParseMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (ParseMessageRequestValidationError) Error ¶
func (e ParseMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ParseMessageRequestValidationError) ErrorName ¶
func (e ParseMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ParseMessageRequestValidationError) Field ¶
func (e ParseMessageRequestValidationError) Field() string
Field function returns field value.
func (ParseMessageRequestValidationError) Key ¶
func (e ParseMessageRequestValidationError) Key() bool
Key function returns key value.
func (ParseMessageRequestValidationError) Reason ¶
func (e ParseMessageRequestValidationError) Reason() string
Reason function returns reason value.
type ParseMessageResponse ¶
type ParseMessageResponse struct {
// contains filtered or unexported fields
}
func (*ParseMessageResponse) Descriptor
deprecated
func (*ParseMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseMessageResponse.ProtoReflect.Descriptor instead.
func (*ParseMessageResponse) ProtoMessage ¶
func (*ParseMessageResponse) ProtoMessage()
func (*ParseMessageResponse) ProtoReflect ¶
func (x *ParseMessageResponse) ProtoReflect() protoreflect.Message
func (*ParseMessageResponse) Reset ¶
func (x *ParseMessageResponse) Reset()
func (*ParseMessageResponse) String ¶
func (x *ParseMessageResponse) String() string
func (*ParseMessageResponse) Validate ¶
func (m *ParseMessageResponse) Validate() error
Validate checks the field values on ParseMessageResponse 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 (*ParseMessageResponse) ValidateAll ¶
func (m *ParseMessageResponse) ValidateAll() error
ValidateAll checks the field values on ParseMessageResponse 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 ParseMessageResponseMultiError, or nil if none found.
type ParseMessageResponseMultiError ¶
type ParseMessageResponseMultiError []error
ParseMessageResponseMultiError is an error wrapping multiple validation errors returned by ParseMessageResponse.ValidateAll() if the designated constraints aren't met.
func (ParseMessageResponseMultiError) AllErrors ¶
func (m ParseMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParseMessageResponseMultiError) Error ¶
func (m ParseMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParseMessageResponseValidationError ¶
type ParseMessageResponseValidationError struct {
// contains filtered or unexported fields
}
ParseMessageResponseValidationError is the validation error returned by ParseMessageResponse.Validate if the designated constraints aren't met.
func (ParseMessageResponseValidationError) Cause ¶
func (e ParseMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (ParseMessageResponseValidationError) Error ¶
func (e ParseMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ParseMessageResponseValidationError) ErrorName ¶
func (e ParseMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ParseMessageResponseValidationError) Field ¶
func (e ParseMessageResponseValidationError) Field() string
Field function returns field value.
func (ParseMessageResponseValidationError) Key ¶
func (e ParseMessageResponseValidationError) Key() bool
Key function returns key value.
func (ParseMessageResponseValidationError) Reason ¶
func (e ParseMessageResponseValidationError) Reason() string
Reason function returns reason value.
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
func (*PingRequest) Validate ¶
func (m *PingRequest) Validate() error
Validate checks the field values on PingRequest 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 (*PingRequest) ValidateAll ¶
func (m *PingRequest) ValidateAll() error
ValidateAll checks the field values on PingRequest 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 PingRequestMultiError, or nil if none found.
type PingRequestMultiError ¶
type PingRequestMultiError []error
PingRequestMultiError is an error wrapping multiple validation errors returned by PingRequest.ValidateAll() if the designated constraints aren't met.
func (PingRequestMultiError) AllErrors ¶
func (m PingRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingRequestMultiError) Error ¶
func (m PingRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingRequestValidationError ¶
type PingRequestValidationError struct {
// contains filtered or unexported fields
}
PingRequestValidationError is the validation error returned by PingRequest.Validate if the designated constraints aren't met.
func (PingRequestValidationError) Cause ¶
func (e PingRequestValidationError) Cause() error
Cause function returns cause value.
func (PingRequestValidationError) Error ¶
func (e PingRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PingRequestValidationError) ErrorName ¶
func (e PingRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PingRequestValidationError) Field ¶
func (e PingRequestValidationError) Field() string
Field function returns field value.
func (PingRequestValidationError) Key ¶
func (e PingRequestValidationError) Key() bool
Key function returns key value.
func (PingRequestValidationError) Reason ¶
func (e PingRequestValidationError) Reason() string
Reason function returns reason value.
type PingResponse ¶
type PingResponse struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetContent ¶
func (x *PingResponse) GetContent() string
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
func (*PingResponse) Validate ¶
func (m *PingResponse) Validate() error
Validate checks the field values on PingResponse 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 (*PingResponse) ValidateAll ¶
func (m *PingResponse) ValidateAll() error
ValidateAll checks the field values on PingResponse 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 PingResponseMultiError, or nil if none found.
type PingResponseMultiError ¶
type PingResponseMultiError []error
PingResponseMultiError is an error wrapping multiple validation errors returned by PingResponse.ValidateAll() if the designated constraints aren't met.
func (PingResponseMultiError) AllErrors ¶
func (m PingResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PingResponseMultiError) Error ¶
func (m PingResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PingResponseValidationError ¶
type PingResponseValidationError struct {
// contains filtered or unexported fields
}
PingResponseValidationError is the validation error returned by PingResponse.Validate if the designated constraints aren't met.
func (PingResponseValidationError) Cause ¶
func (e PingResponseValidationError) Cause() error
Cause function returns cause value.
func (PingResponseValidationError) Error ¶
func (e PingResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PingResponseValidationError) ErrorName ¶
func (e PingResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PingResponseValidationError) Field ¶
func (e PingResponseValidationError) Field() string
Field function returns field value.
func (PingResponseValidationError) Key ¶
func (e PingResponseValidationError) Key() bool
Key function returns key value.
func (PingResponseValidationError) Reason ¶
func (e PingResponseValidationError) Reason() string
Reason function returns reason value.
type QueryGroupRequest ¶
type QueryGroupRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*QueryGroupRequest) Descriptor
deprecated
func (*QueryGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGroupRequest.ProtoReflect.Descriptor instead.
func (*QueryGroupRequest) GetKeyword ¶
func (x *QueryGroupRequest) GetKeyword() string
func (*QueryGroupRequest) GetPage ¶
func (x *QueryGroupRequest) GetPage() uint64
func (*QueryGroupRequest) GetPageSize ¶
func (x *QueryGroupRequest) GetPageSize() uint64
func (*QueryGroupRequest) ProtoMessage ¶
func (*QueryGroupRequest) ProtoMessage()
func (*QueryGroupRequest) ProtoReflect ¶
func (x *QueryGroupRequest) ProtoReflect() protoreflect.Message
func (*QueryGroupRequest) Reset ¶
func (x *QueryGroupRequest) Reset()
func (*QueryGroupRequest) String ¶
func (x *QueryGroupRequest) String() string
func (*QueryGroupRequest) Validate ¶
func (m *QueryGroupRequest) Validate() error
Validate checks the field values on QueryGroupRequest 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 (*QueryGroupRequest) ValidateAll ¶
func (m *QueryGroupRequest) ValidateAll() error
ValidateAll checks the field values on QueryGroupRequest 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 QueryGroupRequestMultiError, or nil if none found.
type QueryGroupRequestMultiError ¶
type QueryGroupRequestMultiError []error
QueryGroupRequestMultiError is an error wrapping multiple validation errors returned by QueryGroupRequest.ValidateAll() if the designated constraints aren't met.
func (QueryGroupRequestMultiError) AllErrors ¶
func (m QueryGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryGroupRequestMultiError) Error ¶
func (m QueryGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryGroupRequestValidationError ¶
type QueryGroupRequestValidationError struct {
// contains filtered or unexported fields
}
QueryGroupRequestValidationError is the validation error returned by QueryGroupRequest.Validate if the designated constraints aren't met.
func (QueryGroupRequestValidationError) Cause ¶
func (e QueryGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (QueryGroupRequestValidationError) Error ¶
func (e QueryGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QueryGroupRequestValidationError) ErrorName ¶
func (e QueryGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QueryGroupRequestValidationError) Field ¶
func (e QueryGroupRequestValidationError) Field() string
Field function returns field value.
func (QueryGroupRequestValidationError) Key ¶
func (e QueryGroupRequestValidationError) Key() bool
Key function returns key value.
func (QueryGroupRequestValidationError) Reason ¶
func (e QueryGroupRequestValidationError) Reason() string
Reason function returns reason value.
type QueryGroupResponse ¶
type QueryGroupResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` Group []*Group `protobuf:"bytes,2,rep,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*QueryGroupResponse) Descriptor
deprecated
func (*QueryGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGroupResponse.ProtoReflect.Descriptor instead.
func (*QueryGroupResponse) GetGroup ¶
func (x *QueryGroupResponse) GetGroup() []*Group
func (*QueryGroupResponse) GetPager ¶
func (x *QueryGroupResponse) GetPager() *Pager
func (*QueryGroupResponse) ProtoMessage ¶
func (*QueryGroupResponse) ProtoMessage()
func (*QueryGroupResponse) ProtoReflect ¶
func (x *QueryGroupResponse) ProtoReflect() protoreflect.Message
func (*QueryGroupResponse) Reset ¶
func (x *QueryGroupResponse) Reset()
func (*QueryGroupResponse) String ¶
func (x *QueryGroupResponse) String() string
func (*QueryGroupResponse) Validate ¶
func (m *QueryGroupResponse) Validate() error
Validate checks the field values on QueryGroupResponse 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 (*QueryGroupResponse) ValidateAll ¶
func (m *QueryGroupResponse) ValidateAll() error
ValidateAll checks the field values on QueryGroupResponse 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 QueryGroupResponseMultiError, or nil if none found.
type QueryGroupResponseMultiError ¶
type QueryGroupResponseMultiError []error
QueryGroupResponseMultiError is an error wrapping multiple validation errors returned by QueryGroupResponse.ValidateAll() if the designated constraints aren't met.
func (QueryGroupResponseMultiError) AllErrors ¶
func (m QueryGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QueryGroupResponseMultiError) Error ¶
func (m QueryGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QueryGroupResponseValidationError ¶
type QueryGroupResponseValidationError struct {
// contains filtered or unexported fields
}
QueryGroupResponseValidationError is the validation error returned by QueryGroupResponse.Validate if the designated constraints aren't met.
func (QueryGroupResponseValidationError) Cause ¶
func (e QueryGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (QueryGroupResponseValidationError) Error ¶
func (e QueryGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (QueryGroupResponseValidationError) ErrorName ¶
func (e QueryGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (QueryGroupResponseValidationError) Field ¶
func (e QueryGroupResponseValidationError) Field() string
Field function returns field value.
func (QueryGroupResponseValidationError) Key ¶
func (e QueryGroupResponseValidationError) Key() bool
Key function returns key value.
func (QueryGroupResponseValidationError) Reason ¶
func (e QueryGroupResponseValidationError) Reason() string
Reason function returns reason value.
type QuitGroupRequest ¶
type QuitGroupRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*QuitGroupRequest) Descriptor
deprecated
func (*QuitGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuitGroupRequest.ProtoReflect.Descriptor instead.
func (*QuitGroupRequest) GetId ¶
func (x *QuitGroupRequest) GetId() uint64
func (*QuitGroupRequest) GetUserId ¶
func (x *QuitGroupRequest) GetUserId() uint64
func (*QuitGroupRequest) ProtoMessage ¶
func (*QuitGroupRequest) ProtoMessage()
func (*QuitGroupRequest) ProtoReflect ¶
func (x *QuitGroupRequest) ProtoReflect() protoreflect.Message
func (*QuitGroupRequest) Reset ¶
func (x *QuitGroupRequest) Reset()
func (*QuitGroupRequest) String ¶
func (x *QuitGroupRequest) String() string
func (*QuitGroupRequest) Validate ¶
func (m *QuitGroupRequest) Validate() error
Validate checks the field values on QuitGroupRequest 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 (*QuitGroupRequest) ValidateAll ¶
func (m *QuitGroupRequest) ValidateAll() error
ValidateAll checks the field values on QuitGroupRequest 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 QuitGroupRequestMultiError, or nil if none found.
type QuitGroupRequestMultiError ¶
type QuitGroupRequestMultiError []error
QuitGroupRequestMultiError is an error wrapping multiple validation errors returned by QuitGroupRequest.ValidateAll() if the designated constraints aren't met.
func (QuitGroupRequestMultiError) AllErrors ¶
func (m QuitGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuitGroupRequestMultiError) Error ¶
func (m QuitGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuitGroupRequestValidationError ¶
type QuitGroupRequestValidationError struct {
// contains filtered or unexported fields
}
QuitGroupRequestValidationError is the validation error returned by QuitGroupRequest.Validate if the designated constraints aren't met.
func (QuitGroupRequestValidationError) Cause ¶
func (e QuitGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (QuitGroupRequestValidationError) Error ¶
func (e QuitGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (QuitGroupRequestValidationError) ErrorName ¶
func (e QuitGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (QuitGroupRequestValidationError) Field ¶
func (e QuitGroupRequestValidationError) Field() string
Field function returns field value.
func (QuitGroupRequestValidationError) Key ¶
func (e QuitGroupRequestValidationError) Key() bool
Key function returns key value.
func (QuitGroupRequestValidationError) Reason ¶
func (e QuitGroupRequestValidationError) Reason() string
Reason function returns reason value.
type QuitGroupResponse ¶
type QuitGroupResponse struct {
// contains filtered or unexported fields
}
func (*QuitGroupResponse) Descriptor
deprecated
func (*QuitGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuitGroupResponse.ProtoReflect.Descriptor instead.
func (*QuitGroupResponse) ProtoMessage ¶
func (*QuitGroupResponse) ProtoMessage()
func (*QuitGroupResponse) ProtoReflect ¶
func (x *QuitGroupResponse) ProtoReflect() protoreflect.Message
func (*QuitGroupResponse) Reset ¶
func (x *QuitGroupResponse) Reset()
func (*QuitGroupResponse) String ¶
func (x *QuitGroupResponse) String() string
func (*QuitGroupResponse) Validate ¶
func (m *QuitGroupResponse) Validate() error
Validate checks the field values on QuitGroupResponse 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 (*QuitGroupResponse) ValidateAll ¶
func (m *QuitGroupResponse) ValidateAll() error
ValidateAll checks the field values on QuitGroupResponse 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 QuitGroupResponseMultiError, or nil if none found.
type QuitGroupResponseMultiError ¶
type QuitGroupResponseMultiError []error
QuitGroupResponseMultiError is an error wrapping multiple validation errors returned by QuitGroupResponse.ValidateAll() if the designated constraints aren't met.
func (QuitGroupResponseMultiError) AllErrors ¶
func (m QuitGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (QuitGroupResponseMultiError) Error ¶
func (m QuitGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type QuitGroupResponseValidationError ¶
type QuitGroupResponseValidationError struct {
// contains filtered or unexported fields
}
QuitGroupResponseValidationError is the validation error returned by QuitGroupResponse.Validate if the designated constraints aren't met.
func (QuitGroupResponseValidationError) Cause ¶
func (e QuitGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (QuitGroupResponseValidationError) Error ¶
func (e QuitGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (QuitGroupResponseValidationError) ErrorName ¶
func (e QuitGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (QuitGroupResponseValidationError) Field ¶
func (e QuitGroupResponseValidationError) Field() string
Field function returns field value.
func (QuitGroupResponseValidationError) Key ¶
func (e QuitGroupResponseValidationError) Key() bool
Key function returns key value.
func (QuitGroupResponseValidationError) Reason ¶
func (e QuitGroupResponseValidationError) Reason() string
Reason function returns reason value.
type RegisterRequest ¶
type RegisterRequest struct { GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetClientId ¶
func (x *RegisterRequest) GetClientId() string
func (*RegisterRequest) GetGatewayId ¶
func (x *RegisterRequest) GetGatewayId() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
func (*RegisterRequest) Validate ¶
func (m *RegisterRequest) Validate() error
Validate checks the field values on RegisterRequest 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 (*RegisterRequest) ValidateAll ¶
func (m *RegisterRequest) ValidateAll() error
ValidateAll checks the field values on RegisterRequest 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 RegisterRequestMultiError, or nil if none found.
type RegisterRequestMultiError ¶
type RegisterRequestMultiError []error
RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterRequestMultiError) AllErrors ¶
func (m RegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRequestMultiError) Error ¶
func (m RegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRequestValidationError ¶
type RegisterRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.
func (RegisterRequestValidationError) Cause ¶
func (e RegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequestValidationError) Error ¶
func (e RegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequestValidationError) ErrorName ¶
func (e RegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequestValidationError) Field ¶
func (e RegisterRequestValidationError) Field() string
Field function returns field value.
func (RegisterRequestValidationError) Key ¶
func (e RegisterRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRequestValidationError) Reason ¶
func (e RegisterRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterResponse ¶
type RegisterResponse struct {
// contains filtered or unexported fields
}
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
func (*RegisterResponse) Validate ¶
func (m *RegisterResponse) Validate() error
Validate checks the field values on RegisterResponse 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 (*RegisterResponse) ValidateAll ¶
func (m *RegisterResponse) ValidateAll() error
ValidateAll checks the field values on RegisterResponse 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 RegisterResponseMultiError, or nil if none found.
type RegisterResponseMultiError ¶
type RegisterResponseMultiError []error
RegisterResponseMultiError is an error wrapping multiple validation errors returned by RegisterResponse.ValidateAll() if the designated constraints aren't met.
func (RegisterResponseMultiError) AllErrors ¶
func (m RegisterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterResponseMultiError) Error ¶
func (m RegisterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterResponseValidationError ¶
type RegisterResponseValidationError struct {
// contains filtered or unexported fields
}
RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.
func (RegisterResponseValidationError) Cause ¶
func (e RegisterResponseValidationError) Cause() error
Cause function returns cause value.
func (RegisterResponseValidationError) Error ¶
func (e RegisterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterResponseValidationError) ErrorName ¶
func (e RegisterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterResponseValidationError) Field ¶
func (e RegisterResponseValidationError) Field() string
Field function returns field value.
func (RegisterResponseValidationError) Key ¶
func (e RegisterResponseValidationError) Key() bool
Key function returns key value.
func (RegisterResponseValidationError) Reason ¶
func (e RegisterResponseValidationError) Reason() string
Reason function returns reason value.
type ReviewStatus ¶
type ReviewStatus int32
const ( ReviewStatus_ReviewInit ReviewStatus = 0 //未提交审核 ReviewStatus_ReviewTo ReviewStatus = 1 //已提交,待审核 ReviewStatus_ReviewPass ReviewStatus = 2 //审核通过 ReviewStatus_ReviewFail ReviewStatus = 3 //审核未通过 )
func (ReviewStatus) Descriptor ¶
func (ReviewStatus) Descriptor() protoreflect.EnumDescriptor
func (ReviewStatus) Enum ¶
func (x ReviewStatus) Enum() *ReviewStatus
func (ReviewStatus) EnumDescriptor
deprecated
func (ReviewStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReviewStatus.Descriptor instead.
func (ReviewStatus) Number ¶
func (x ReviewStatus) Number() protoreflect.EnumNumber
func (ReviewStatus) String ¶
func (x ReviewStatus) String() string
func (ReviewStatus) Type ¶
func (ReviewStatus) Type() protoreflect.EnumType
type SendEmailRequest ¶
type SendEmailRequest struct { Receiver map[string]string `` /* 157-byte string literal not displayed */ Cc map[string]string `` /* 145-byte string literal not displayed */ Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*SendEmailRequest) Descriptor
deprecated
func (*SendEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailRequest.ProtoReflect.Descriptor instead.
func (*SendEmailRequest) GetCc ¶
func (x *SendEmailRequest) GetCc() map[string]string
func (*SendEmailRequest) GetContent ¶
func (x *SendEmailRequest) GetContent() string
func (*SendEmailRequest) GetReceiver ¶
func (x *SendEmailRequest) GetReceiver() map[string]string
func (*SendEmailRequest) GetSubject ¶
func (x *SendEmailRequest) GetSubject() string
func (*SendEmailRequest) ProtoMessage ¶
func (*SendEmailRequest) ProtoMessage()
func (*SendEmailRequest) ProtoReflect ¶
func (x *SendEmailRequest) ProtoReflect() protoreflect.Message
func (*SendEmailRequest) Reset ¶
func (x *SendEmailRequest) Reset()
func (*SendEmailRequest) String ¶
func (x *SendEmailRequest) String() string
func (*SendEmailRequest) Validate ¶
func (m *SendEmailRequest) Validate() error
Validate checks the field values on SendEmailRequest 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 (*SendEmailRequest) ValidateAll ¶
func (m *SendEmailRequest) ValidateAll() error
ValidateAll checks the field values on SendEmailRequest 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 SendEmailRequestMultiError, or nil if none found.
type SendEmailRequestMultiError ¶
type SendEmailRequestMultiError []error
SendEmailRequestMultiError is an error wrapping multiple validation errors returned by SendEmailRequest.ValidateAll() if the designated constraints aren't met.
func (SendEmailRequestMultiError) AllErrors ¶
func (m SendEmailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendEmailRequestMultiError) Error ¶
func (m SendEmailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendEmailRequestValidationError ¶
type SendEmailRequestValidationError struct {
// contains filtered or unexported fields
}
SendEmailRequestValidationError is the validation error returned by SendEmailRequest.Validate if the designated constraints aren't met.
func (SendEmailRequestValidationError) Cause ¶
func (e SendEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (SendEmailRequestValidationError) Error ¶
func (e SendEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendEmailRequestValidationError) ErrorName ¶
func (e SendEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendEmailRequestValidationError) Field ¶
func (e SendEmailRequestValidationError) Field() string
Field function returns field value.
func (SendEmailRequestValidationError) Key ¶
func (e SendEmailRequestValidationError) Key() bool
Key function returns key value.
func (SendEmailRequestValidationError) Reason ¶
func (e SendEmailRequestValidationError) Reason() string
Reason function returns reason value.
type SendEmailResponse ¶
type SendEmailResponse struct {
// contains filtered or unexported fields
}
func (*SendEmailResponse) Descriptor
deprecated
func (*SendEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailResponse.ProtoReflect.Descriptor instead.
func (*SendEmailResponse) ProtoMessage ¶
func (*SendEmailResponse) ProtoMessage()
func (*SendEmailResponse) ProtoReflect ¶
func (x *SendEmailResponse) ProtoReflect() protoreflect.Message
func (*SendEmailResponse) Reset ¶
func (x *SendEmailResponse) Reset()
func (*SendEmailResponse) String ¶
func (x *SendEmailResponse) String() string
func (*SendEmailResponse) Validate ¶
func (m *SendEmailResponse) Validate() error
Validate checks the field values on SendEmailResponse 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 (*SendEmailResponse) ValidateAll ¶
func (m *SendEmailResponse) ValidateAll() error
ValidateAll checks the field values on SendEmailResponse 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 SendEmailResponseMultiError, or nil if none found.
type SendEmailResponseMultiError ¶
type SendEmailResponseMultiError []error
SendEmailResponseMultiError is an error wrapping multiple validation errors returned by SendEmailResponse.ValidateAll() if the designated constraints aren't met.
func (SendEmailResponseMultiError) AllErrors ¶
func (m SendEmailResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendEmailResponseMultiError) Error ¶
func (m SendEmailResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendEmailResponseValidationError ¶
type SendEmailResponseValidationError struct {
// contains filtered or unexported fields
}
SendEmailResponseValidationError is the validation error returned by SendEmailResponse.Validate if the designated constraints aren't met.
func (SendEmailResponseValidationError) Cause ¶
func (e SendEmailResponseValidationError) Cause() error
Cause function returns cause value.
func (SendEmailResponseValidationError) Error ¶
func (e SendEmailResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendEmailResponseValidationError) ErrorName ¶
func (e SendEmailResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendEmailResponseValidationError) Field ¶
func (e SendEmailResponseValidationError) Field() string
Field function returns field value.
func (SendEmailResponseValidationError) Key ¶
func (e SendEmailResponseValidationError) Key() bool
Key function returns key value.
func (SendEmailResponseValidationError) Reason ¶
func (e SendEmailResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupFaceMessageRequest ¶
type SendGroupFaceMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` Face *FaceMessage `protobuf:"bytes,3,opt,name=face,proto3" json:"face,omitempty"` // contains filtered or unexported fields }
func (*SendGroupFaceMessageRequest) Descriptor
deprecated
func (*SendGroupFaceMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupFaceMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupFaceMessageRequest) GetAtUserId ¶
func (x *SendGroupFaceMessageRequest) GetAtUserId() []uint64
func (*SendGroupFaceMessageRequest) GetFace ¶
func (x *SendGroupFaceMessageRequest) GetFace() *FaceMessage
func (*SendGroupFaceMessageRequest) GetToGroupId ¶
func (x *SendGroupFaceMessageRequest) GetToGroupId() uint64
func (*SendGroupFaceMessageRequest) ProtoMessage ¶
func (*SendGroupFaceMessageRequest) ProtoMessage()
func (*SendGroupFaceMessageRequest) ProtoReflect ¶
func (x *SendGroupFaceMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupFaceMessageRequest) Reset ¶
func (x *SendGroupFaceMessageRequest) Reset()
func (*SendGroupFaceMessageRequest) String ¶
func (x *SendGroupFaceMessageRequest) String() string
func (*SendGroupFaceMessageRequest) Validate ¶
func (m *SendGroupFaceMessageRequest) Validate() error
Validate checks the field values on SendGroupFaceMessageRequest 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 (*SendGroupFaceMessageRequest) ValidateAll ¶
func (m *SendGroupFaceMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupFaceMessageRequest 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 SendGroupFaceMessageRequestMultiError, or nil if none found.
type SendGroupFaceMessageRequestMultiError ¶
type SendGroupFaceMessageRequestMultiError []error
SendGroupFaceMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupFaceMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupFaceMessageRequestMultiError) AllErrors ¶
func (m SendGroupFaceMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupFaceMessageRequestMultiError) Error ¶
func (m SendGroupFaceMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupFaceMessageRequestValidationError ¶
type SendGroupFaceMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupFaceMessageRequestValidationError is the validation error returned by SendGroupFaceMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupFaceMessageRequestValidationError) Cause ¶
func (e SendGroupFaceMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupFaceMessageRequestValidationError) Error ¶
func (e SendGroupFaceMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupFaceMessageRequestValidationError) ErrorName ¶
func (e SendGroupFaceMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupFaceMessageRequestValidationError) Field ¶
func (e SendGroupFaceMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupFaceMessageRequestValidationError) Key ¶
func (e SendGroupFaceMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupFaceMessageRequestValidationError) Reason ¶
func (e SendGroupFaceMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupFaceMessageResponse ¶
type SendGroupFaceMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupFaceMessageResponse) Descriptor
deprecated
func (*SendGroupFaceMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupFaceMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupFaceMessageResponse) GetId ¶
func (x *SendGroupFaceMessageResponse) GetId() uint64
func (*SendGroupFaceMessageResponse) ProtoMessage ¶
func (*SendGroupFaceMessageResponse) ProtoMessage()
func (*SendGroupFaceMessageResponse) ProtoReflect ¶
func (x *SendGroupFaceMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupFaceMessageResponse) Reset ¶
func (x *SendGroupFaceMessageResponse) Reset()
func (*SendGroupFaceMessageResponse) String ¶
func (x *SendGroupFaceMessageResponse) String() string
func (*SendGroupFaceMessageResponse) Validate ¶
func (m *SendGroupFaceMessageResponse) Validate() error
Validate checks the field values on SendGroupFaceMessageResponse 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 (*SendGroupFaceMessageResponse) ValidateAll ¶
func (m *SendGroupFaceMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupFaceMessageResponse 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 SendGroupFaceMessageResponseMultiError, or nil if none found.
type SendGroupFaceMessageResponseMultiError ¶
type SendGroupFaceMessageResponseMultiError []error
SendGroupFaceMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupFaceMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupFaceMessageResponseMultiError) AllErrors ¶
func (m SendGroupFaceMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupFaceMessageResponseMultiError) Error ¶
func (m SendGroupFaceMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupFaceMessageResponseValidationError ¶
type SendGroupFaceMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupFaceMessageResponseValidationError is the validation error returned by SendGroupFaceMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupFaceMessageResponseValidationError) Cause ¶
func (e SendGroupFaceMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupFaceMessageResponseValidationError) Error ¶
func (e SendGroupFaceMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupFaceMessageResponseValidationError) ErrorName ¶
func (e SendGroupFaceMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupFaceMessageResponseValidationError) Field ¶
func (e SendGroupFaceMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupFaceMessageResponseValidationError) Key ¶
func (e SendGroupFaceMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupFaceMessageResponseValidationError) Reason ¶
func (e SendGroupFaceMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupFileMessageRequest ¶
type SendGroupFileMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` File *FileMessage `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*SendGroupFileMessageRequest) Descriptor
deprecated
func (*SendGroupFileMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupFileMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupFileMessageRequest) GetAtUserId ¶
func (x *SendGroupFileMessageRequest) GetAtUserId() []uint64
func (*SendGroupFileMessageRequest) GetFile ¶
func (x *SendGroupFileMessageRequest) GetFile() *FileMessage
func (*SendGroupFileMessageRequest) GetToGroupId ¶
func (x *SendGroupFileMessageRequest) GetToGroupId() uint64
func (*SendGroupFileMessageRequest) ProtoMessage ¶
func (*SendGroupFileMessageRequest) ProtoMessage()
func (*SendGroupFileMessageRequest) ProtoReflect ¶
func (x *SendGroupFileMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupFileMessageRequest) Reset ¶
func (x *SendGroupFileMessageRequest) Reset()
func (*SendGroupFileMessageRequest) String ¶
func (x *SendGroupFileMessageRequest) String() string
func (*SendGroupFileMessageRequest) Validate ¶
func (m *SendGroupFileMessageRequest) Validate() error
Validate checks the field values on SendGroupFileMessageRequest 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 (*SendGroupFileMessageRequest) ValidateAll ¶
func (m *SendGroupFileMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupFileMessageRequest 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 SendGroupFileMessageRequestMultiError, or nil if none found.
type SendGroupFileMessageRequestMultiError ¶
type SendGroupFileMessageRequestMultiError []error
SendGroupFileMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupFileMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupFileMessageRequestMultiError) AllErrors ¶
func (m SendGroupFileMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupFileMessageRequestMultiError) Error ¶
func (m SendGroupFileMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupFileMessageRequestValidationError ¶
type SendGroupFileMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupFileMessageRequestValidationError is the validation error returned by SendGroupFileMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupFileMessageRequestValidationError) Cause ¶
func (e SendGroupFileMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupFileMessageRequestValidationError) Error ¶
func (e SendGroupFileMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupFileMessageRequestValidationError) ErrorName ¶
func (e SendGroupFileMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupFileMessageRequestValidationError) Field ¶
func (e SendGroupFileMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupFileMessageRequestValidationError) Key ¶
func (e SendGroupFileMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupFileMessageRequestValidationError) Reason ¶
func (e SendGroupFileMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupFileMessageResponse ¶
type SendGroupFileMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupFileMessageResponse) Descriptor
deprecated
func (*SendGroupFileMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupFileMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupFileMessageResponse) GetId ¶
func (x *SendGroupFileMessageResponse) GetId() uint64
func (*SendGroupFileMessageResponse) ProtoMessage ¶
func (*SendGroupFileMessageResponse) ProtoMessage()
func (*SendGroupFileMessageResponse) ProtoReflect ¶
func (x *SendGroupFileMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupFileMessageResponse) Reset ¶
func (x *SendGroupFileMessageResponse) Reset()
func (*SendGroupFileMessageResponse) String ¶
func (x *SendGroupFileMessageResponse) String() string
func (*SendGroupFileMessageResponse) Validate ¶
func (m *SendGroupFileMessageResponse) Validate() error
Validate checks the field values on SendGroupFileMessageResponse 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 (*SendGroupFileMessageResponse) ValidateAll ¶
func (m *SendGroupFileMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupFileMessageResponse 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 SendGroupFileMessageResponseMultiError, or nil if none found.
type SendGroupFileMessageResponseMultiError ¶
type SendGroupFileMessageResponseMultiError []error
SendGroupFileMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupFileMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupFileMessageResponseMultiError) AllErrors ¶
func (m SendGroupFileMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupFileMessageResponseMultiError) Error ¶
func (m SendGroupFileMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupFileMessageResponseValidationError ¶
type SendGroupFileMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupFileMessageResponseValidationError is the validation error returned by SendGroupFileMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupFileMessageResponseValidationError) Cause ¶
func (e SendGroupFileMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupFileMessageResponseValidationError) Error ¶
func (e SendGroupFileMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupFileMessageResponseValidationError) ErrorName ¶
func (e SendGroupFileMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupFileMessageResponseValidationError) Field ¶
func (e SendGroupFileMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupFileMessageResponseValidationError) Key ¶
func (e SendGroupFileMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupFileMessageResponseValidationError) Reason ¶
func (e SendGroupFileMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupImageMessageRequest ¶
type SendGroupImageMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` Image *ImageMessageItem `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*SendGroupImageMessageRequest) Descriptor
deprecated
func (*SendGroupImageMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupImageMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupImageMessageRequest) GetAtUserId ¶
func (x *SendGroupImageMessageRequest) GetAtUserId() []uint64
func (*SendGroupImageMessageRequest) GetImage ¶
func (x *SendGroupImageMessageRequest) GetImage() *ImageMessageItem
func (*SendGroupImageMessageRequest) GetToGroupId ¶
func (x *SendGroupImageMessageRequest) GetToGroupId() uint64
func (*SendGroupImageMessageRequest) ProtoMessage ¶
func (*SendGroupImageMessageRequest) ProtoMessage()
func (*SendGroupImageMessageRequest) ProtoReflect ¶
func (x *SendGroupImageMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupImageMessageRequest) Reset ¶
func (x *SendGroupImageMessageRequest) Reset()
func (*SendGroupImageMessageRequest) String ¶
func (x *SendGroupImageMessageRequest) String() string
func (*SendGroupImageMessageRequest) Validate ¶
func (m *SendGroupImageMessageRequest) Validate() error
Validate checks the field values on SendGroupImageMessageRequest 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 (*SendGroupImageMessageRequest) ValidateAll ¶
func (m *SendGroupImageMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupImageMessageRequest 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 SendGroupImageMessageRequestMultiError, or nil if none found.
type SendGroupImageMessageRequestMultiError ¶
type SendGroupImageMessageRequestMultiError []error
SendGroupImageMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupImageMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupImageMessageRequestMultiError) AllErrors ¶
func (m SendGroupImageMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupImageMessageRequestMultiError) Error ¶
func (m SendGroupImageMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupImageMessageRequestValidationError ¶
type SendGroupImageMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupImageMessageRequestValidationError is the validation error returned by SendGroupImageMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupImageMessageRequestValidationError) Cause ¶
func (e SendGroupImageMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupImageMessageRequestValidationError) Error ¶
func (e SendGroupImageMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupImageMessageRequestValidationError) ErrorName ¶
func (e SendGroupImageMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupImageMessageRequestValidationError) Field ¶
func (e SendGroupImageMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupImageMessageRequestValidationError) Key ¶
func (e SendGroupImageMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupImageMessageRequestValidationError) Reason ¶
func (e SendGroupImageMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupImageMessageResponse ¶
type SendGroupImageMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupImageMessageResponse) Descriptor
deprecated
func (*SendGroupImageMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupImageMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupImageMessageResponse) GetId ¶
func (x *SendGroupImageMessageResponse) GetId() uint64
func (*SendGroupImageMessageResponse) ProtoMessage ¶
func (*SendGroupImageMessageResponse) ProtoMessage()
func (*SendGroupImageMessageResponse) ProtoReflect ¶
func (x *SendGroupImageMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupImageMessageResponse) Reset ¶
func (x *SendGroupImageMessageResponse) Reset()
func (*SendGroupImageMessageResponse) String ¶
func (x *SendGroupImageMessageResponse) String() string
func (*SendGroupImageMessageResponse) Validate ¶
func (m *SendGroupImageMessageResponse) Validate() error
Validate checks the field values on SendGroupImageMessageResponse 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 (*SendGroupImageMessageResponse) ValidateAll ¶
func (m *SendGroupImageMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupImageMessageResponse 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 SendGroupImageMessageResponseMultiError, or nil if none found.
type SendGroupImageMessageResponseMultiError ¶
type SendGroupImageMessageResponseMultiError []error
SendGroupImageMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupImageMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupImageMessageResponseMultiError) AllErrors ¶
func (m SendGroupImageMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupImageMessageResponseMultiError) Error ¶
func (m SendGroupImageMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupImageMessageResponseValidationError ¶
type SendGroupImageMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupImageMessageResponseValidationError is the validation error returned by SendGroupImageMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupImageMessageResponseValidationError) Cause ¶
func (e SendGroupImageMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupImageMessageResponseValidationError) Error ¶
func (e SendGroupImageMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupImageMessageResponseValidationError) ErrorName ¶
func (e SendGroupImageMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupImageMessageResponseValidationError) Field ¶
func (e SendGroupImageMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupImageMessageResponseValidationError) Key ¶
func (e SendGroupImageMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupImageMessageResponseValidationError) Reason ¶
func (e SendGroupImageMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupLocationMessageRequest ¶
type SendGroupLocationMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` Location *LocationMessage `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*SendGroupLocationMessageRequest) Descriptor
deprecated
func (*SendGroupLocationMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupLocationMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupLocationMessageRequest) GetAtUserId ¶
func (x *SendGroupLocationMessageRequest) GetAtUserId() []uint64
func (*SendGroupLocationMessageRequest) GetLocation ¶
func (x *SendGroupLocationMessageRequest) GetLocation() *LocationMessage
func (*SendGroupLocationMessageRequest) GetToGroupId ¶
func (x *SendGroupLocationMessageRequest) GetToGroupId() uint64
func (*SendGroupLocationMessageRequest) ProtoMessage ¶
func (*SendGroupLocationMessageRequest) ProtoMessage()
func (*SendGroupLocationMessageRequest) ProtoReflect ¶
func (x *SendGroupLocationMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupLocationMessageRequest) Reset ¶
func (x *SendGroupLocationMessageRequest) Reset()
func (*SendGroupLocationMessageRequest) String ¶
func (x *SendGroupLocationMessageRequest) String() string
func (*SendGroupLocationMessageRequest) Validate ¶
func (m *SendGroupLocationMessageRequest) Validate() error
Validate checks the field values on SendGroupLocationMessageRequest 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 (*SendGroupLocationMessageRequest) ValidateAll ¶
func (m *SendGroupLocationMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupLocationMessageRequest 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 SendGroupLocationMessageRequestMultiError, or nil if none found.
type SendGroupLocationMessageRequestMultiError ¶
type SendGroupLocationMessageRequestMultiError []error
SendGroupLocationMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupLocationMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupLocationMessageRequestMultiError) AllErrors ¶
func (m SendGroupLocationMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupLocationMessageRequestMultiError) Error ¶
func (m SendGroupLocationMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupLocationMessageRequestValidationError ¶
type SendGroupLocationMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupLocationMessageRequestValidationError is the validation error returned by SendGroupLocationMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupLocationMessageRequestValidationError) Cause ¶
func (e SendGroupLocationMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupLocationMessageRequestValidationError) Error ¶
func (e SendGroupLocationMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupLocationMessageRequestValidationError) ErrorName ¶
func (e SendGroupLocationMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupLocationMessageRequestValidationError) Field ¶
func (e SendGroupLocationMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupLocationMessageRequestValidationError) Key ¶
func (e SendGroupLocationMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupLocationMessageRequestValidationError) Reason ¶
func (e SendGroupLocationMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupLocationMessageResponse ¶
type SendGroupLocationMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupLocationMessageResponse) Descriptor
deprecated
func (*SendGroupLocationMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupLocationMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupLocationMessageResponse) GetId ¶
func (x *SendGroupLocationMessageResponse) GetId() uint64
func (*SendGroupLocationMessageResponse) ProtoMessage ¶
func (*SendGroupLocationMessageResponse) ProtoMessage()
func (*SendGroupLocationMessageResponse) ProtoReflect ¶
func (x *SendGroupLocationMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupLocationMessageResponse) Reset ¶
func (x *SendGroupLocationMessageResponse) Reset()
func (*SendGroupLocationMessageResponse) String ¶
func (x *SendGroupLocationMessageResponse) String() string
func (*SendGroupLocationMessageResponse) Validate ¶
func (m *SendGroupLocationMessageResponse) Validate() error
Validate checks the field values on SendGroupLocationMessageResponse 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 (*SendGroupLocationMessageResponse) ValidateAll ¶
func (m *SendGroupLocationMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupLocationMessageResponse 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 SendGroupLocationMessageResponseMultiError, or nil if none found.
type SendGroupLocationMessageResponseMultiError ¶
type SendGroupLocationMessageResponseMultiError []error
SendGroupLocationMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupLocationMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupLocationMessageResponseMultiError) AllErrors ¶
func (m SendGroupLocationMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupLocationMessageResponseMultiError) Error ¶
func (m SendGroupLocationMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupLocationMessageResponseValidationError ¶
type SendGroupLocationMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupLocationMessageResponseValidationError is the validation error returned by SendGroupLocationMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupLocationMessageResponseValidationError) Cause ¶
func (e SendGroupLocationMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupLocationMessageResponseValidationError) Error ¶
func (e SendGroupLocationMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupLocationMessageResponseValidationError) ErrorName ¶
func (e SendGroupLocationMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupLocationMessageResponseValidationError) Field ¶
func (e SendGroupLocationMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupLocationMessageResponseValidationError) Key ¶
func (e SendGroupLocationMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupLocationMessageResponseValidationError) Reason ¶
func (e SendGroupLocationMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupSoundMessageRequest ¶
type SendGroupSoundMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` Sound *SoundMessage `protobuf:"bytes,3,opt,name=sound,proto3" json:"sound,omitempty"` // contains filtered or unexported fields }
func (*SendGroupSoundMessageRequest) Descriptor
deprecated
func (*SendGroupSoundMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupSoundMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupSoundMessageRequest) GetAtUserId ¶
func (x *SendGroupSoundMessageRequest) GetAtUserId() []uint64
func (*SendGroupSoundMessageRequest) GetSound ¶
func (x *SendGroupSoundMessageRequest) GetSound() *SoundMessage
func (*SendGroupSoundMessageRequest) GetToGroupId ¶
func (x *SendGroupSoundMessageRequest) GetToGroupId() uint64
func (*SendGroupSoundMessageRequest) ProtoMessage ¶
func (*SendGroupSoundMessageRequest) ProtoMessage()
func (*SendGroupSoundMessageRequest) ProtoReflect ¶
func (x *SendGroupSoundMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupSoundMessageRequest) Reset ¶
func (x *SendGroupSoundMessageRequest) Reset()
func (*SendGroupSoundMessageRequest) String ¶
func (x *SendGroupSoundMessageRequest) String() string
func (*SendGroupSoundMessageRequest) Validate ¶
func (m *SendGroupSoundMessageRequest) Validate() error
Validate checks the field values on SendGroupSoundMessageRequest 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 (*SendGroupSoundMessageRequest) ValidateAll ¶
func (m *SendGroupSoundMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupSoundMessageRequest 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 SendGroupSoundMessageRequestMultiError, or nil if none found.
type SendGroupSoundMessageRequestMultiError ¶
type SendGroupSoundMessageRequestMultiError []error
SendGroupSoundMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupSoundMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupSoundMessageRequestMultiError) AllErrors ¶
func (m SendGroupSoundMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupSoundMessageRequestMultiError) Error ¶
func (m SendGroupSoundMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupSoundMessageRequestValidationError ¶
type SendGroupSoundMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupSoundMessageRequestValidationError is the validation error returned by SendGroupSoundMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupSoundMessageRequestValidationError) Cause ¶
func (e SendGroupSoundMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupSoundMessageRequestValidationError) Error ¶
func (e SendGroupSoundMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupSoundMessageRequestValidationError) ErrorName ¶
func (e SendGroupSoundMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupSoundMessageRequestValidationError) Field ¶
func (e SendGroupSoundMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupSoundMessageRequestValidationError) Key ¶
func (e SendGroupSoundMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupSoundMessageRequestValidationError) Reason ¶
func (e SendGroupSoundMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupSoundMessageResponse ¶
type SendGroupSoundMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupSoundMessageResponse) Descriptor
deprecated
func (*SendGroupSoundMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupSoundMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupSoundMessageResponse) GetId ¶
func (x *SendGroupSoundMessageResponse) GetId() uint64
func (*SendGroupSoundMessageResponse) ProtoMessage ¶
func (*SendGroupSoundMessageResponse) ProtoMessage()
func (*SendGroupSoundMessageResponse) ProtoReflect ¶
func (x *SendGroupSoundMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupSoundMessageResponse) Reset ¶
func (x *SendGroupSoundMessageResponse) Reset()
func (*SendGroupSoundMessageResponse) String ¶
func (x *SendGroupSoundMessageResponse) String() string
func (*SendGroupSoundMessageResponse) Validate ¶
func (m *SendGroupSoundMessageResponse) Validate() error
Validate checks the field values on SendGroupSoundMessageResponse 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 (*SendGroupSoundMessageResponse) ValidateAll ¶
func (m *SendGroupSoundMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupSoundMessageResponse 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 SendGroupSoundMessageResponseMultiError, or nil if none found.
type SendGroupSoundMessageResponseMultiError ¶
type SendGroupSoundMessageResponseMultiError []error
SendGroupSoundMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupSoundMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupSoundMessageResponseMultiError) AllErrors ¶
func (m SendGroupSoundMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupSoundMessageResponseMultiError) Error ¶
func (m SendGroupSoundMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupSoundMessageResponseValidationError ¶
type SendGroupSoundMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupSoundMessageResponseValidationError is the validation error returned by SendGroupSoundMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupSoundMessageResponseValidationError) Cause ¶
func (e SendGroupSoundMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupSoundMessageResponseValidationError) Error ¶
func (e SendGroupSoundMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupSoundMessageResponseValidationError) ErrorName ¶
func (e SendGroupSoundMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupSoundMessageResponseValidationError) Field ¶
func (e SendGroupSoundMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupSoundMessageResponseValidationError) Key ¶
func (e SendGroupSoundMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupSoundMessageResponseValidationError) Reason ¶
func (e SendGroupSoundMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupTextMessageRequest ¶
type SendGroupTextMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` Text *TextMessage `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*SendGroupTextMessageRequest) Descriptor
deprecated
func (*SendGroupTextMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupTextMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupTextMessageRequest) GetAtUserId ¶
func (x *SendGroupTextMessageRequest) GetAtUserId() []uint64
func (*SendGroupTextMessageRequest) GetText ¶
func (x *SendGroupTextMessageRequest) GetText() *TextMessage
func (*SendGroupTextMessageRequest) GetToGroupId ¶
func (x *SendGroupTextMessageRequest) GetToGroupId() uint64
func (*SendGroupTextMessageRequest) ProtoMessage ¶
func (*SendGroupTextMessageRequest) ProtoMessage()
func (*SendGroupTextMessageRequest) ProtoReflect ¶
func (x *SendGroupTextMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupTextMessageRequest) Reset ¶
func (x *SendGroupTextMessageRequest) Reset()
func (*SendGroupTextMessageRequest) String ¶
func (x *SendGroupTextMessageRequest) String() string
func (*SendGroupTextMessageRequest) Validate ¶
func (m *SendGroupTextMessageRequest) Validate() error
Validate checks the field values on SendGroupTextMessageRequest 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 (*SendGroupTextMessageRequest) ValidateAll ¶
func (m *SendGroupTextMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupTextMessageRequest 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 SendGroupTextMessageRequestMultiError, or nil if none found.
type SendGroupTextMessageRequestMultiError ¶
type SendGroupTextMessageRequestMultiError []error
SendGroupTextMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupTextMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupTextMessageRequestMultiError) AllErrors ¶
func (m SendGroupTextMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupTextMessageRequestMultiError) Error ¶
func (m SendGroupTextMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupTextMessageRequestValidationError ¶
type SendGroupTextMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupTextMessageRequestValidationError is the validation error returned by SendGroupTextMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupTextMessageRequestValidationError) Cause ¶
func (e SendGroupTextMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupTextMessageRequestValidationError) Error ¶
func (e SendGroupTextMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupTextMessageRequestValidationError) ErrorName ¶
func (e SendGroupTextMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupTextMessageRequestValidationError) Field ¶
func (e SendGroupTextMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupTextMessageRequestValidationError) Key ¶
func (e SendGroupTextMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupTextMessageRequestValidationError) Reason ¶
func (e SendGroupTextMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupTextMessageResponse ¶
type SendGroupTextMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupTextMessageResponse) Descriptor
deprecated
func (*SendGroupTextMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupTextMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupTextMessageResponse) GetId ¶
func (x *SendGroupTextMessageResponse) GetId() uint64
func (*SendGroupTextMessageResponse) ProtoMessage ¶
func (*SendGroupTextMessageResponse) ProtoMessage()
func (*SendGroupTextMessageResponse) ProtoReflect ¶
func (x *SendGroupTextMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupTextMessageResponse) Reset ¶
func (x *SendGroupTextMessageResponse) Reset()
func (*SendGroupTextMessageResponse) String ¶
func (x *SendGroupTextMessageResponse) String() string
func (*SendGroupTextMessageResponse) Validate ¶
func (m *SendGroupTextMessageResponse) Validate() error
Validate checks the field values on SendGroupTextMessageResponse 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 (*SendGroupTextMessageResponse) ValidateAll ¶
func (m *SendGroupTextMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupTextMessageResponse 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 SendGroupTextMessageResponseMultiError, or nil if none found.
type SendGroupTextMessageResponseMultiError ¶
type SendGroupTextMessageResponseMultiError []error
SendGroupTextMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupTextMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupTextMessageResponseMultiError) AllErrors ¶
func (m SendGroupTextMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupTextMessageResponseMultiError) Error ¶
func (m SendGroupTextMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupTextMessageResponseValidationError ¶
type SendGroupTextMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupTextMessageResponseValidationError is the validation error returned by SendGroupTextMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupTextMessageResponseValidationError) Cause ¶
func (e SendGroupTextMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupTextMessageResponseValidationError) Error ¶
func (e SendGroupTextMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupTextMessageResponseValidationError) ErrorName ¶
func (e SendGroupTextMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupTextMessageResponseValidationError) Field ¶
func (e SendGroupTextMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupTextMessageResponseValidationError) Key ¶
func (e SendGroupTextMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupTextMessageResponseValidationError) Reason ¶
func (e SendGroupTextMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendGroupVideoMessageRequest ¶
type SendGroupVideoMessageRequest struct { ToGroupId uint64 `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"` AtUserId []uint64 `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"` Video *VideoMessage `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"` // contains filtered or unexported fields }
func (*SendGroupVideoMessageRequest) Descriptor
deprecated
func (*SendGroupVideoMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupVideoMessageRequest.ProtoReflect.Descriptor instead.
func (*SendGroupVideoMessageRequest) GetAtUserId ¶
func (x *SendGroupVideoMessageRequest) GetAtUserId() []uint64
func (*SendGroupVideoMessageRequest) GetToGroupId ¶
func (x *SendGroupVideoMessageRequest) GetToGroupId() uint64
func (*SendGroupVideoMessageRequest) GetVideo ¶
func (x *SendGroupVideoMessageRequest) GetVideo() *VideoMessage
func (*SendGroupVideoMessageRequest) ProtoMessage ¶
func (*SendGroupVideoMessageRequest) ProtoMessage()
func (*SendGroupVideoMessageRequest) ProtoReflect ¶
func (x *SendGroupVideoMessageRequest) ProtoReflect() protoreflect.Message
func (*SendGroupVideoMessageRequest) Reset ¶
func (x *SendGroupVideoMessageRequest) Reset()
func (*SendGroupVideoMessageRequest) String ¶
func (x *SendGroupVideoMessageRequest) String() string
func (*SendGroupVideoMessageRequest) Validate ¶
func (m *SendGroupVideoMessageRequest) Validate() error
Validate checks the field values on SendGroupVideoMessageRequest 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 (*SendGroupVideoMessageRequest) ValidateAll ¶
func (m *SendGroupVideoMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendGroupVideoMessageRequest 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 SendGroupVideoMessageRequestMultiError, or nil if none found.
type SendGroupVideoMessageRequestMultiError ¶
type SendGroupVideoMessageRequestMultiError []error
SendGroupVideoMessageRequestMultiError is an error wrapping multiple validation errors returned by SendGroupVideoMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendGroupVideoMessageRequestMultiError) AllErrors ¶
func (m SendGroupVideoMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupVideoMessageRequestMultiError) Error ¶
func (m SendGroupVideoMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupVideoMessageRequestValidationError ¶
type SendGroupVideoMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendGroupVideoMessageRequestValidationError is the validation error returned by SendGroupVideoMessageRequest.Validate if the designated constraints aren't met.
func (SendGroupVideoMessageRequestValidationError) Cause ¶
func (e SendGroupVideoMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendGroupVideoMessageRequestValidationError) Error ¶
func (e SendGroupVideoMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupVideoMessageRequestValidationError) ErrorName ¶
func (e SendGroupVideoMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupVideoMessageRequestValidationError) Field ¶
func (e SendGroupVideoMessageRequestValidationError) Field() string
Field function returns field value.
func (SendGroupVideoMessageRequestValidationError) Key ¶
func (e SendGroupVideoMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendGroupVideoMessageRequestValidationError) Reason ¶
func (e SendGroupVideoMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendGroupVideoMessageResponse ¶
type SendGroupVideoMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendGroupVideoMessageResponse) Descriptor
deprecated
func (*SendGroupVideoMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendGroupVideoMessageResponse.ProtoReflect.Descriptor instead.
func (*SendGroupVideoMessageResponse) GetId ¶
func (x *SendGroupVideoMessageResponse) GetId() uint64
func (*SendGroupVideoMessageResponse) ProtoMessage ¶
func (*SendGroupVideoMessageResponse) ProtoMessage()
func (*SendGroupVideoMessageResponse) ProtoReflect ¶
func (x *SendGroupVideoMessageResponse) ProtoReflect() protoreflect.Message
func (*SendGroupVideoMessageResponse) Reset ¶
func (x *SendGroupVideoMessageResponse) Reset()
func (*SendGroupVideoMessageResponse) String ¶
func (x *SendGroupVideoMessageResponse) String() string
func (*SendGroupVideoMessageResponse) Validate ¶
func (m *SendGroupVideoMessageResponse) Validate() error
Validate checks the field values on SendGroupVideoMessageResponse 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 (*SendGroupVideoMessageResponse) ValidateAll ¶
func (m *SendGroupVideoMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendGroupVideoMessageResponse 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 SendGroupVideoMessageResponseMultiError, or nil if none found.
type SendGroupVideoMessageResponseMultiError ¶
type SendGroupVideoMessageResponseMultiError []error
SendGroupVideoMessageResponseMultiError is an error wrapping multiple validation errors returned by SendGroupVideoMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendGroupVideoMessageResponseMultiError) AllErrors ¶
func (m SendGroupVideoMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendGroupVideoMessageResponseMultiError) Error ¶
func (m SendGroupVideoMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendGroupVideoMessageResponseValidationError ¶
type SendGroupVideoMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendGroupVideoMessageResponseValidationError is the validation error returned by SendGroupVideoMessageResponse.Validate if the designated constraints aren't met.
func (SendGroupVideoMessageResponseValidationError) Cause ¶
func (e SendGroupVideoMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendGroupVideoMessageResponseValidationError) Error ¶
func (e SendGroupVideoMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendGroupVideoMessageResponseValidationError) ErrorName ¶
func (e SendGroupVideoMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendGroupVideoMessageResponseValidationError) Field ¶
func (e SendGroupVideoMessageResponseValidationError) Field() string
Field function returns field value.
func (SendGroupVideoMessageResponseValidationError) Key ¶
func (e SendGroupVideoMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendGroupVideoMessageResponseValidationError) Reason ¶
func (e SendGroupVideoMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendMessageRequest ¶
type SendMessageRequest struct { GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` RequestId uint32 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` SenderId string `protobuf:"bytes,5,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetCmd ¶
func (x *SendMessageRequest) GetCmd() string
func (*SendMessageRequest) GetData ¶
func (x *SendMessageRequest) GetData() []byte
func (*SendMessageRequest) GetGatewayId ¶
func (x *SendMessageRequest) GetGatewayId() string
func (*SendMessageRequest) GetRequestId ¶
func (x *SendMessageRequest) GetRequestId() uint32
func (*SendMessageRequest) GetSenderId ¶
func (x *SendMessageRequest) GetSenderId() string
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
func (*SendMessageRequest) Validate ¶
func (m *SendMessageRequest) Validate() error
Validate checks the field values on SendMessageRequest 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 (*SendMessageRequest) ValidateAll ¶
func (m *SendMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendMessageRequest 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 SendMessageRequestMultiError, or nil if none found.
type SendMessageRequestMultiError ¶
type SendMessageRequestMultiError []error
SendMessageRequestMultiError is an error wrapping multiple validation errors returned by SendMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendMessageRequestMultiError) AllErrors ¶
func (m SendMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendMessageRequestMultiError) Error ¶
func (m SendMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendMessageRequestValidationError ¶
type SendMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendMessageRequestValidationError is the validation error returned by SendMessageRequest.Validate if the designated constraints aren't met.
func (SendMessageRequestValidationError) Cause ¶
func (e SendMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendMessageRequestValidationError) Error ¶
func (e SendMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageRequestValidationError) ErrorName ¶
func (e SendMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageRequestValidationError) Field ¶
func (e SendMessageRequestValidationError) Field() string
Field function returns field value.
func (SendMessageRequestValidationError) Key ¶
func (e SendMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendMessageRequestValidationError) Reason ¶
func (e SendMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse ¶
type SendMessageResponse struct { GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` RequestId uint32 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` ReceiverId string `protobuf:"bytes,5,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetCmd ¶
func (x *SendMessageResponse) GetCmd() string
func (*SendMessageResponse) GetData ¶
func (x *SendMessageResponse) GetData() []byte
func (*SendMessageResponse) GetGatewayId ¶
func (x *SendMessageResponse) GetGatewayId() string
func (*SendMessageResponse) GetReceiverId ¶
func (x *SendMessageResponse) GetReceiverId() string
func (*SendMessageResponse) GetRequestId ¶
func (x *SendMessageResponse) GetRequestId() uint32
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
func (*SendMessageResponse) Validate ¶
func (m *SendMessageResponse) Validate() error
Validate checks the field values on SendMessageResponse 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 (*SendMessageResponse) ValidateAll ¶
func (m *SendMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendMessageResponse 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 SendMessageResponseMultiError, or nil if none found.
type SendMessageResponseMultiError ¶
type SendMessageResponseMultiError []error
SendMessageResponseMultiError is an error wrapping multiple validation errors returned by SendMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendMessageResponseMultiError) AllErrors ¶
func (m SendMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendMessageResponseMultiError) Error ¶
func (m SendMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendMessageResponseValidationError ¶
type SendMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendMessageResponseValidationError is the validation error returned by SendMessageResponse.Validate if the designated constraints aren't met.
func (SendMessageResponseValidationError) Cause ¶
func (e SendMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendMessageResponseValidationError) Error ¶
func (e SendMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageResponseValidationError) ErrorName ¶
func (e SendMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageResponseValidationError) Field ¶
func (e SendMessageResponseValidationError) Field() string
Field function returns field value.
func (SendMessageResponseValidationError) Key ¶
func (e SendMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendMessageResponseValidationError) Reason ¶
func (e SendMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendToAllRequest ¶
type SendToAllRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` SenderId string `protobuf:"bytes,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` // contains filtered or unexported fields }
func (*SendToAllRequest) Descriptor
deprecated
func (*SendToAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendToAllRequest.ProtoReflect.Descriptor instead.
func (*SendToAllRequest) GetData ¶
func (x *SendToAllRequest) GetData() []byte
func (*SendToAllRequest) GetSenderId ¶
func (x *SendToAllRequest) GetSenderId() string
func (*SendToAllRequest) ProtoMessage ¶
func (*SendToAllRequest) ProtoMessage()
func (*SendToAllRequest) ProtoReflect ¶
func (x *SendToAllRequest) ProtoReflect() protoreflect.Message
func (*SendToAllRequest) Reset ¶
func (x *SendToAllRequest) Reset()
func (*SendToAllRequest) String ¶
func (x *SendToAllRequest) String() string
func (*SendToAllRequest) Validate ¶
func (m *SendToAllRequest) Validate() error
Validate checks the field values on SendToAllRequest 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 (*SendToAllRequest) ValidateAll ¶
func (m *SendToAllRequest) ValidateAll() error
ValidateAll checks the field values on SendToAllRequest 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 SendToAllRequestMultiError, or nil if none found.
type SendToAllRequestMultiError ¶
type SendToAllRequestMultiError []error
SendToAllRequestMultiError is an error wrapping multiple validation errors returned by SendToAllRequest.ValidateAll() if the designated constraints aren't met.
func (SendToAllRequestMultiError) AllErrors ¶
func (m SendToAllRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendToAllRequestMultiError) Error ¶
func (m SendToAllRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendToAllRequestValidationError ¶
type SendToAllRequestValidationError struct {
// contains filtered or unexported fields
}
SendToAllRequestValidationError is the validation error returned by SendToAllRequest.Validate if the designated constraints aren't met.
func (SendToAllRequestValidationError) Cause ¶
func (e SendToAllRequestValidationError) Cause() error
Cause function returns cause value.
func (SendToAllRequestValidationError) Error ¶
func (e SendToAllRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendToAllRequestValidationError) ErrorName ¶
func (e SendToAllRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendToAllRequestValidationError) Field ¶
func (e SendToAllRequestValidationError) Field() string
Field function returns field value.
func (SendToAllRequestValidationError) Key ¶
func (e SendToAllRequestValidationError) Key() bool
Key function returns key value.
func (SendToAllRequestValidationError) Reason ¶
func (e SendToAllRequestValidationError) Reason() string
Reason function returns reason value.
type SendToAllResponse ¶
type SendToAllResponse struct {
// contains filtered or unexported fields
}
func (*SendToAllResponse) Descriptor
deprecated
func (*SendToAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendToAllResponse.ProtoReflect.Descriptor instead.
func (*SendToAllResponse) ProtoMessage ¶
func (*SendToAllResponse) ProtoMessage()
func (*SendToAllResponse) ProtoReflect ¶
func (x *SendToAllResponse) ProtoReflect() protoreflect.Message
func (*SendToAllResponse) Reset ¶
func (x *SendToAllResponse) Reset()
func (*SendToAllResponse) String ¶
func (x *SendToAllResponse) String() string
func (*SendToAllResponse) Validate ¶
func (m *SendToAllResponse) Validate() error
Validate checks the field values on SendToAllResponse 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 (*SendToAllResponse) ValidateAll ¶
func (m *SendToAllResponse) ValidateAll() error
ValidateAll checks the field values on SendToAllResponse 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 SendToAllResponseMultiError, or nil if none found.
type SendToAllResponseMultiError ¶
type SendToAllResponseMultiError []error
SendToAllResponseMultiError is an error wrapping multiple validation errors returned by SendToAllResponse.ValidateAll() if the designated constraints aren't met.
func (SendToAllResponseMultiError) AllErrors ¶
func (m SendToAllResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendToAllResponseMultiError) Error ¶
func (m SendToAllResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendToAllResponseValidationError ¶
type SendToAllResponseValidationError struct {
// contains filtered or unexported fields
}
SendToAllResponseValidationError is the validation error returned by SendToAllResponse.Validate if the designated constraints aren't met.
func (SendToAllResponseValidationError) Cause ¶
func (e SendToAllResponseValidationError) Cause() error
Cause function returns cause value.
func (SendToAllResponseValidationError) Error ¶
func (e SendToAllResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendToAllResponseValidationError) ErrorName ¶
func (e SendToAllResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendToAllResponseValidationError) Field ¶
func (e SendToAllResponseValidationError) Field() string
Field function returns field value.
func (SendToAllResponseValidationError) Key ¶
func (e SendToAllResponseValidationError) Key() bool
Key function returns key value.
func (SendToAllResponseValidationError) Reason ¶
func (e SendToAllResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserFaceMessageRequest ¶
type SendUserFaceMessageRequest struct { ToUserId uint64 `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Face *FaceMessage `protobuf:"bytes,2,opt,name=face,proto3" json:"face,omitempty"` // contains filtered or unexported fields }
func (*SendUserFaceMessageRequest) Descriptor
deprecated
func (*SendUserFaceMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserFaceMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserFaceMessageRequest) GetFace ¶
func (x *SendUserFaceMessageRequest) GetFace() *FaceMessage
func (*SendUserFaceMessageRequest) GetToUserId ¶
func (x *SendUserFaceMessageRequest) GetToUserId() uint64
func (*SendUserFaceMessageRequest) ProtoMessage ¶
func (*SendUserFaceMessageRequest) ProtoMessage()
func (*SendUserFaceMessageRequest) ProtoReflect ¶
func (x *SendUserFaceMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserFaceMessageRequest) Reset ¶
func (x *SendUserFaceMessageRequest) Reset()
func (*SendUserFaceMessageRequest) String ¶
func (x *SendUserFaceMessageRequest) String() string
func (*SendUserFaceMessageRequest) Validate ¶
func (m *SendUserFaceMessageRequest) Validate() error
Validate checks the field values on SendUserFaceMessageRequest 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 (*SendUserFaceMessageRequest) ValidateAll ¶
func (m *SendUserFaceMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserFaceMessageRequest 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 SendUserFaceMessageRequestMultiError, or nil if none found.
type SendUserFaceMessageRequestMultiError ¶
type SendUserFaceMessageRequestMultiError []error
SendUserFaceMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserFaceMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserFaceMessageRequestMultiError) AllErrors ¶
func (m SendUserFaceMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserFaceMessageRequestMultiError) Error ¶
func (m SendUserFaceMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserFaceMessageRequestValidationError ¶
type SendUserFaceMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserFaceMessageRequestValidationError is the validation error returned by SendUserFaceMessageRequest.Validate if the designated constraints aren't met.
func (SendUserFaceMessageRequestValidationError) Cause ¶
func (e SendUserFaceMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserFaceMessageRequestValidationError) Error ¶
func (e SendUserFaceMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserFaceMessageRequestValidationError) ErrorName ¶
func (e SendUserFaceMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserFaceMessageRequestValidationError) Field ¶
func (e SendUserFaceMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserFaceMessageRequestValidationError) Key ¶
func (e SendUserFaceMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserFaceMessageRequestValidationError) Reason ¶
func (e SendUserFaceMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserFaceMessageResponse ¶
type SendUserFaceMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserFaceMessageResponse) Descriptor
deprecated
func (*SendUserFaceMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserFaceMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserFaceMessageResponse) GetId ¶
func (x *SendUserFaceMessageResponse) GetId() uint64
func (*SendUserFaceMessageResponse) ProtoMessage ¶
func (*SendUserFaceMessageResponse) ProtoMessage()
func (*SendUserFaceMessageResponse) ProtoReflect ¶
func (x *SendUserFaceMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserFaceMessageResponse) Reset ¶
func (x *SendUserFaceMessageResponse) Reset()
func (*SendUserFaceMessageResponse) String ¶
func (x *SendUserFaceMessageResponse) String() string
func (*SendUserFaceMessageResponse) Validate ¶
func (m *SendUserFaceMessageResponse) Validate() error
Validate checks the field values on SendUserFaceMessageResponse 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 (*SendUserFaceMessageResponse) ValidateAll ¶
func (m *SendUserFaceMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserFaceMessageResponse 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 SendUserFaceMessageResponseMultiError, or nil if none found.
type SendUserFaceMessageResponseMultiError ¶
type SendUserFaceMessageResponseMultiError []error
SendUserFaceMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserFaceMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserFaceMessageResponseMultiError) AllErrors ¶
func (m SendUserFaceMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserFaceMessageResponseMultiError) Error ¶
func (m SendUserFaceMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserFaceMessageResponseValidationError ¶
type SendUserFaceMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserFaceMessageResponseValidationError is the validation error returned by SendUserFaceMessageResponse.Validate if the designated constraints aren't met.
func (SendUserFaceMessageResponseValidationError) Cause ¶
func (e SendUserFaceMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserFaceMessageResponseValidationError) Error ¶
func (e SendUserFaceMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserFaceMessageResponseValidationError) ErrorName ¶
func (e SendUserFaceMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserFaceMessageResponseValidationError) Field ¶
func (e SendUserFaceMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserFaceMessageResponseValidationError) Key ¶
func (e SendUserFaceMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserFaceMessageResponseValidationError) Reason ¶
func (e SendUserFaceMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserFileMessageRequest ¶
type SendUserFileMessageRequest struct { ToUserId uint64 `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` File *FileMessage `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*SendUserFileMessageRequest) Descriptor
deprecated
func (*SendUserFileMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserFileMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserFileMessageRequest) GetFile ¶
func (x *SendUserFileMessageRequest) GetFile() *FileMessage
func (*SendUserFileMessageRequest) GetToUserId ¶
func (x *SendUserFileMessageRequest) GetToUserId() uint64
func (*SendUserFileMessageRequest) ProtoMessage ¶
func (*SendUserFileMessageRequest) ProtoMessage()
func (*SendUserFileMessageRequest) ProtoReflect ¶
func (x *SendUserFileMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserFileMessageRequest) Reset ¶
func (x *SendUserFileMessageRequest) Reset()
func (*SendUserFileMessageRequest) String ¶
func (x *SendUserFileMessageRequest) String() string
func (*SendUserFileMessageRequest) Validate ¶
func (m *SendUserFileMessageRequest) Validate() error
Validate checks the field values on SendUserFileMessageRequest 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 (*SendUserFileMessageRequest) ValidateAll ¶
func (m *SendUserFileMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserFileMessageRequest 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 SendUserFileMessageRequestMultiError, or nil if none found.
type SendUserFileMessageRequestMultiError ¶
type SendUserFileMessageRequestMultiError []error
SendUserFileMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserFileMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserFileMessageRequestMultiError) AllErrors ¶
func (m SendUserFileMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserFileMessageRequestMultiError) Error ¶
func (m SendUserFileMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserFileMessageRequestValidationError ¶
type SendUserFileMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserFileMessageRequestValidationError is the validation error returned by SendUserFileMessageRequest.Validate if the designated constraints aren't met.
func (SendUserFileMessageRequestValidationError) Cause ¶
func (e SendUserFileMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserFileMessageRequestValidationError) Error ¶
func (e SendUserFileMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserFileMessageRequestValidationError) ErrorName ¶
func (e SendUserFileMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserFileMessageRequestValidationError) Field ¶
func (e SendUserFileMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserFileMessageRequestValidationError) Key ¶
func (e SendUserFileMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserFileMessageRequestValidationError) Reason ¶
func (e SendUserFileMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserFileMessageResponse ¶
type SendUserFileMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserFileMessageResponse) Descriptor
deprecated
func (*SendUserFileMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserFileMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserFileMessageResponse) GetId ¶
func (x *SendUserFileMessageResponse) GetId() uint64
func (*SendUserFileMessageResponse) ProtoMessage ¶
func (*SendUserFileMessageResponse) ProtoMessage()
func (*SendUserFileMessageResponse) ProtoReflect ¶
func (x *SendUserFileMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserFileMessageResponse) Reset ¶
func (x *SendUserFileMessageResponse) Reset()
func (*SendUserFileMessageResponse) String ¶
func (x *SendUserFileMessageResponse) String() string
func (*SendUserFileMessageResponse) Validate ¶
func (m *SendUserFileMessageResponse) Validate() error
Validate checks the field values on SendUserFileMessageResponse 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 (*SendUserFileMessageResponse) ValidateAll ¶
func (m *SendUserFileMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserFileMessageResponse 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 SendUserFileMessageResponseMultiError, or nil if none found.
type SendUserFileMessageResponseMultiError ¶
type SendUserFileMessageResponseMultiError []error
SendUserFileMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserFileMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserFileMessageResponseMultiError) AllErrors ¶
func (m SendUserFileMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserFileMessageResponseMultiError) Error ¶
func (m SendUserFileMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserFileMessageResponseValidationError ¶
type SendUserFileMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserFileMessageResponseValidationError is the validation error returned by SendUserFileMessageResponse.Validate if the designated constraints aren't met.
func (SendUserFileMessageResponseValidationError) Cause ¶
func (e SendUserFileMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserFileMessageResponseValidationError) Error ¶
func (e SendUserFileMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserFileMessageResponseValidationError) ErrorName ¶
func (e SendUserFileMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserFileMessageResponseValidationError) Field ¶
func (e SendUserFileMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserFileMessageResponseValidationError) Key ¶
func (e SendUserFileMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserFileMessageResponseValidationError) Reason ¶
func (e SendUserFileMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserImageMessageRequest ¶
type SendUserImageMessageRequest struct { ToUserId uint64 `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Image *ImageMessageItem `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*SendUserImageMessageRequest) Descriptor
deprecated
func (*SendUserImageMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserImageMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserImageMessageRequest) GetImage ¶
func (x *SendUserImageMessageRequest) GetImage() *ImageMessageItem
func (*SendUserImageMessageRequest) GetToUserId ¶
func (x *SendUserImageMessageRequest) GetToUserId() uint64
func (*SendUserImageMessageRequest) ProtoMessage ¶
func (*SendUserImageMessageRequest) ProtoMessage()
func (*SendUserImageMessageRequest) ProtoReflect ¶
func (x *SendUserImageMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserImageMessageRequest) Reset ¶
func (x *SendUserImageMessageRequest) Reset()
func (*SendUserImageMessageRequest) String ¶
func (x *SendUserImageMessageRequest) String() string
func (*SendUserImageMessageRequest) Validate ¶
func (m *SendUserImageMessageRequest) Validate() error
Validate checks the field values on SendUserImageMessageRequest 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 (*SendUserImageMessageRequest) ValidateAll ¶
func (m *SendUserImageMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserImageMessageRequest 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 SendUserImageMessageRequestMultiError, or nil if none found.
type SendUserImageMessageRequestMultiError ¶
type SendUserImageMessageRequestMultiError []error
SendUserImageMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserImageMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserImageMessageRequestMultiError) AllErrors ¶
func (m SendUserImageMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserImageMessageRequestMultiError) Error ¶
func (m SendUserImageMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserImageMessageRequestValidationError ¶
type SendUserImageMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserImageMessageRequestValidationError is the validation error returned by SendUserImageMessageRequest.Validate if the designated constraints aren't met.
func (SendUserImageMessageRequestValidationError) Cause ¶
func (e SendUserImageMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserImageMessageRequestValidationError) Error ¶
func (e SendUserImageMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserImageMessageRequestValidationError) ErrorName ¶
func (e SendUserImageMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserImageMessageRequestValidationError) Field ¶
func (e SendUserImageMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserImageMessageRequestValidationError) Key ¶
func (e SendUserImageMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserImageMessageRequestValidationError) Reason ¶
func (e SendUserImageMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserImageMessageResponse ¶
type SendUserImageMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserImageMessageResponse) Descriptor
deprecated
func (*SendUserImageMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserImageMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserImageMessageResponse) GetId ¶
func (x *SendUserImageMessageResponse) GetId() uint64
func (*SendUserImageMessageResponse) ProtoMessage ¶
func (*SendUserImageMessageResponse) ProtoMessage()
func (*SendUserImageMessageResponse) ProtoReflect ¶
func (x *SendUserImageMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserImageMessageResponse) Reset ¶
func (x *SendUserImageMessageResponse) Reset()
func (*SendUserImageMessageResponse) String ¶
func (x *SendUserImageMessageResponse) String() string
func (*SendUserImageMessageResponse) Validate ¶
func (m *SendUserImageMessageResponse) Validate() error
Validate checks the field values on SendUserImageMessageResponse 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 (*SendUserImageMessageResponse) ValidateAll ¶
func (m *SendUserImageMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserImageMessageResponse 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 SendUserImageMessageResponseMultiError, or nil if none found.
type SendUserImageMessageResponseMultiError ¶
type SendUserImageMessageResponseMultiError []error
SendUserImageMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserImageMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserImageMessageResponseMultiError) AllErrors ¶
func (m SendUserImageMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserImageMessageResponseMultiError) Error ¶
func (m SendUserImageMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserImageMessageResponseValidationError ¶
type SendUserImageMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserImageMessageResponseValidationError is the validation error returned by SendUserImageMessageResponse.Validate if the designated constraints aren't met.
func (SendUserImageMessageResponseValidationError) Cause ¶
func (e SendUserImageMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserImageMessageResponseValidationError) Error ¶
func (e SendUserImageMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserImageMessageResponseValidationError) ErrorName ¶
func (e SendUserImageMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserImageMessageResponseValidationError) Field ¶
func (e SendUserImageMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserImageMessageResponseValidationError) Key ¶
func (e SendUserImageMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserImageMessageResponseValidationError) Reason ¶
func (e SendUserImageMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserLocationMessageRequest ¶
type SendUserLocationMessageRequest struct { ToUserId uint64 `protobuf:"varint,2,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Location *LocationMessage `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*SendUserLocationMessageRequest) Descriptor
deprecated
func (*SendUserLocationMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserLocationMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserLocationMessageRequest) GetLocation ¶
func (x *SendUserLocationMessageRequest) GetLocation() *LocationMessage
func (*SendUserLocationMessageRequest) GetToUserId ¶
func (x *SendUserLocationMessageRequest) GetToUserId() uint64
func (*SendUserLocationMessageRequest) ProtoMessage ¶
func (*SendUserLocationMessageRequest) ProtoMessage()
func (*SendUserLocationMessageRequest) ProtoReflect ¶
func (x *SendUserLocationMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserLocationMessageRequest) Reset ¶
func (x *SendUserLocationMessageRequest) Reset()
func (*SendUserLocationMessageRequest) String ¶
func (x *SendUserLocationMessageRequest) String() string
func (*SendUserLocationMessageRequest) Validate ¶
func (m *SendUserLocationMessageRequest) Validate() error
Validate checks the field values on SendUserLocationMessageRequest 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 (*SendUserLocationMessageRequest) ValidateAll ¶
func (m *SendUserLocationMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserLocationMessageRequest 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 SendUserLocationMessageRequestMultiError, or nil if none found.
type SendUserLocationMessageRequestMultiError ¶
type SendUserLocationMessageRequestMultiError []error
SendUserLocationMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserLocationMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserLocationMessageRequestMultiError) AllErrors ¶
func (m SendUserLocationMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserLocationMessageRequestMultiError) Error ¶
func (m SendUserLocationMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserLocationMessageRequestValidationError ¶
type SendUserLocationMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserLocationMessageRequestValidationError is the validation error returned by SendUserLocationMessageRequest.Validate if the designated constraints aren't met.
func (SendUserLocationMessageRequestValidationError) Cause ¶
func (e SendUserLocationMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserLocationMessageRequestValidationError) Error ¶
func (e SendUserLocationMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserLocationMessageRequestValidationError) ErrorName ¶
func (e SendUserLocationMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserLocationMessageRequestValidationError) Field ¶
func (e SendUserLocationMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserLocationMessageRequestValidationError) Key ¶
func (e SendUserLocationMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserLocationMessageRequestValidationError) Reason ¶
func (e SendUserLocationMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserLocationMessageResponse ¶
type SendUserLocationMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserLocationMessageResponse) Descriptor
deprecated
func (*SendUserLocationMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserLocationMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserLocationMessageResponse) GetId ¶
func (x *SendUserLocationMessageResponse) GetId() uint64
func (*SendUserLocationMessageResponse) ProtoMessage ¶
func (*SendUserLocationMessageResponse) ProtoMessage()
func (*SendUserLocationMessageResponse) ProtoReflect ¶
func (x *SendUserLocationMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserLocationMessageResponse) Reset ¶
func (x *SendUserLocationMessageResponse) Reset()
func (*SendUserLocationMessageResponse) String ¶
func (x *SendUserLocationMessageResponse) String() string
func (*SendUserLocationMessageResponse) Validate ¶
func (m *SendUserLocationMessageResponse) Validate() error
Validate checks the field values on SendUserLocationMessageResponse 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 (*SendUserLocationMessageResponse) ValidateAll ¶
func (m *SendUserLocationMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserLocationMessageResponse 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 SendUserLocationMessageResponseMultiError, or nil if none found.
type SendUserLocationMessageResponseMultiError ¶
type SendUserLocationMessageResponseMultiError []error
SendUserLocationMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserLocationMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserLocationMessageResponseMultiError) AllErrors ¶
func (m SendUserLocationMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserLocationMessageResponseMultiError) Error ¶
func (m SendUserLocationMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserLocationMessageResponseValidationError ¶
type SendUserLocationMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserLocationMessageResponseValidationError is the validation error returned by SendUserLocationMessageResponse.Validate if the designated constraints aren't met.
func (SendUserLocationMessageResponseValidationError) Cause ¶
func (e SendUserLocationMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserLocationMessageResponseValidationError) Error ¶
func (e SendUserLocationMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserLocationMessageResponseValidationError) ErrorName ¶
func (e SendUserLocationMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserLocationMessageResponseValidationError) Field ¶
func (e SendUserLocationMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserLocationMessageResponseValidationError) Key ¶
func (e SendUserLocationMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserLocationMessageResponseValidationError) Reason ¶
func (e SendUserLocationMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserSoundMessageRequest ¶
type SendUserSoundMessageRequest struct { ToUserId uint64 `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Sound *SoundMessage `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"` // contains filtered or unexported fields }
func (*SendUserSoundMessageRequest) Descriptor
deprecated
func (*SendUserSoundMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserSoundMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserSoundMessageRequest) GetSound ¶
func (x *SendUserSoundMessageRequest) GetSound() *SoundMessage
func (*SendUserSoundMessageRequest) GetToUserId ¶
func (x *SendUserSoundMessageRequest) GetToUserId() uint64
func (*SendUserSoundMessageRequest) ProtoMessage ¶
func (*SendUserSoundMessageRequest) ProtoMessage()
func (*SendUserSoundMessageRequest) ProtoReflect ¶
func (x *SendUserSoundMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserSoundMessageRequest) Reset ¶
func (x *SendUserSoundMessageRequest) Reset()
func (*SendUserSoundMessageRequest) String ¶
func (x *SendUserSoundMessageRequest) String() string
func (*SendUserSoundMessageRequest) Validate ¶
func (m *SendUserSoundMessageRequest) Validate() error
Validate checks the field values on SendUserSoundMessageRequest 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 (*SendUserSoundMessageRequest) ValidateAll ¶
func (m *SendUserSoundMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserSoundMessageRequest 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 SendUserSoundMessageRequestMultiError, or nil if none found.
type SendUserSoundMessageRequestMultiError ¶
type SendUserSoundMessageRequestMultiError []error
SendUserSoundMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserSoundMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserSoundMessageRequestMultiError) AllErrors ¶
func (m SendUserSoundMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserSoundMessageRequestMultiError) Error ¶
func (m SendUserSoundMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserSoundMessageRequestValidationError ¶
type SendUserSoundMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserSoundMessageRequestValidationError is the validation error returned by SendUserSoundMessageRequest.Validate if the designated constraints aren't met.
func (SendUserSoundMessageRequestValidationError) Cause ¶
func (e SendUserSoundMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserSoundMessageRequestValidationError) Error ¶
func (e SendUserSoundMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserSoundMessageRequestValidationError) ErrorName ¶
func (e SendUserSoundMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserSoundMessageRequestValidationError) Field ¶
func (e SendUserSoundMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserSoundMessageRequestValidationError) Key ¶
func (e SendUserSoundMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserSoundMessageRequestValidationError) Reason ¶
func (e SendUserSoundMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserSoundMessageResponse ¶
type SendUserSoundMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserSoundMessageResponse) Descriptor
deprecated
func (*SendUserSoundMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserSoundMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserSoundMessageResponse) GetId ¶
func (x *SendUserSoundMessageResponse) GetId() uint64
func (*SendUserSoundMessageResponse) ProtoMessage ¶
func (*SendUserSoundMessageResponse) ProtoMessage()
func (*SendUserSoundMessageResponse) ProtoReflect ¶
func (x *SendUserSoundMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserSoundMessageResponse) Reset ¶
func (x *SendUserSoundMessageResponse) Reset()
func (*SendUserSoundMessageResponse) String ¶
func (x *SendUserSoundMessageResponse) String() string
func (*SendUserSoundMessageResponse) Validate ¶
func (m *SendUserSoundMessageResponse) Validate() error
Validate checks the field values on SendUserSoundMessageResponse 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 (*SendUserSoundMessageResponse) ValidateAll ¶
func (m *SendUserSoundMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserSoundMessageResponse 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 SendUserSoundMessageResponseMultiError, or nil if none found.
type SendUserSoundMessageResponseMultiError ¶
type SendUserSoundMessageResponseMultiError []error
SendUserSoundMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserSoundMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserSoundMessageResponseMultiError) AllErrors ¶
func (m SendUserSoundMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserSoundMessageResponseMultiError) Error ¶
func (m SendUserSoundMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserSoundMessageResponseValidationError ¶
type SendUserSoundMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserSoundMessageResponseValidationError is the validation error returned by SendUserSoundMessageResponse.Validate if the designated constraints aren't met.
func (SendUserSoundMessageResponseValidationError) Cause ¶
func (e SendUserSoundMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserSoundMessageResponseValidationError) Error ¶
func (e SendUserSoundMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserSoundMessageResponseValidationError) ErrorName ¶
func (e SendUserSoundMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserSoundMessageResponseValidationError) Field ¶
func (e SendUserSoundMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserSoundMessageResponseValidationError) Key ¶
func (e SendUserSoundMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserSoundMessageResponseValidationError) Reason ¶
func (e SendUserSoundMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserTextMessageRequest ¶
type SendUserTextMessageRequest struct { ToUserId uint64 `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Text *TextMessage `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*SendUserTextMessageRequest) Descriptor
deprecated
func (*SendUserTextMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserTextMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserTextMessageRequest) GetText ¶
func (x *SendUserTextMessageRequest) GetText() *TextMessage
func (*SendUserTextMessageRequest) GetToUserId ¶
func (x *SendUserTextMessageRequest) GetToUserId() uint64
func (*SendUserTextMessageRequest) ProtoMessage ¶
func (*SendUserTextMessageRequest) ProtoMessage()
func (*SendUserTextMessageRequest) ProtoReflect ¶
func (x *SendUserTextMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserTextMessageRequest) Reset ¶
func (x *SendUserTextMessageRequest) Reset()
func (*SendUserTextMessageRequest) String ¶
func (x *SendUserTextMessageRequest) String() string
func (*SendUserTextMessageRequest) Validate ¶
func (m *SendUserTextMessageRequest) Validate() error
Validate checks the field values on SendUserTextMessageRequest 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 (*SendUserTextMessageRequest) ValidateAll ¶
func (m *SendUserTextMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserTextMessageRequest 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 SendUserTextMessageRequestMultiError, or nil if none found.
type SendUserTextMessageRequestMultiError ¶
type SendUserTextMessageRequestMultiError []error
SendUserTextMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserTextMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserTextMessageRequestMultiError) AllErrors ¶
func (m SendUserTextMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserTextMessageRequestMultiError) Error ¶
func (m SendUserTextMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserTextMessageRequestValidationError ¶
type SendUserTextMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserTextMessageRequestValidationError is the validation error returned by SendUserTextMessageRequest.Validate if the designated constraints aren't met.
func (SendUserTextMessageRequestValidationError) Cause ¶
func (e SendUserTextMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserTextMessageRequestValidationError) Error ¶
func (e SendUserTextMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserTextMessageRequestValidationError) ErrorName ¶
func (e SendUserTextMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserTextMessageRequestValidationError) Field ¶
func (e SendUserTextMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserTextMessageRequestValidationError) Key ¶
func (e SendUserTextMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserTextMessageRequestValidationError) Reason ¶
func (e SendUserTextMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserTextMessageResponse ¶
type SendUserTextMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserTextMessageResponse) Descriptor
deprecated
func (*SendUserTextMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserTextMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserTextMessageResponse) GetId ¶
func (x *SendUserTextMessageResponse) GetId() uint64
func (*SendUserTextMessageResponse) ProtoMessage ¶
func (*SendUserTextMessageResponse) ProtoMessage()
func (*SendUserTextMessageResponse) ProtoReflect ¶
func (x *SendUserTextMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserTextMessageResponse) Reset ¶
func (x *SendUserTextMessageResponse) Reset()
func (*SendUserTextMessageResponse) String ¶
func (x *SendUserTextMessageResponse) String() string
func (*SendUserTextMessageResponse) Validate ¶
func (m *SendUserTextMessageResponse) Validate() error
Validate checks the field values on SendUserTextMessageResponse 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 (*SendUserTextMessageResponse) ValidateAll ¶
func (m *SendUserTextMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserTextMessageResponse 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 SendUserTextMessageResponseMultiError, or nil if none found.
type SendUserTextMessageResponseMultiError ¶
type SendUserTextMessageResponseMultiError []error
SendUserTextMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserTextMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserTextMessageResponseMultiError) AllErrors ¶
func (m SendUserTextMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserTextMessageResponseMultiError) Error ¶
func (m SendUserTextMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserTextMessageResponseValidationError ¶
type SendUserTextMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserTextMessageResponseValidationError is the validation error returned by SendUserTextMessageResponse.Validate if the designated constraints aren't met.
func (SendUserTextMessageResponseValidationError) Cause ¶
func (e SendUserTextMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserTextMessageResponseValidationError) Error ¶
func (e SendUserTextMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserTextMessageResponseValidationError) ErrorName ¶
func (e SendUserTextMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserTextMessageResponseValidationError) Field ¶
func (e SendUserTextMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserTextMessageResponseValidationError) Key ¶
func (e SendUserTextMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserTextMessageResponseValidationError) Reason ¶
func (e SendUserTextMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendUserVideoMessageRequest ¶
type SendUserVideoMessageRequest struct { ToUserId uint64 `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Video *VideoMessage `protobuf:"bytes,2,opt,name=video,proto3" json:"video,omitempty"` // contains filtered or unexported fields }
func (*SendUserVideoMessageRequest) Descriptor
deprecated
func (*SendUserVideoMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendUserVideoMessageRequest.ProtoReflect.Descriptor instead.
func (*SendUserVideoMessageRequest) GetToUserId ¶
func (x *SendUserVideoMessageRequest) GetToUserId() uint64
func (*SendUserVideoMessageRequest) GetVideo ¶
func (x *SendUserVideoMessageRequest) GetVideo() *VideoMessage
func (*SendUserVideoMessageRequest) ProtoMessage ¶
func (*SendUserVideoMessageRequest) ProtoMessage()
func (*SendUserVideoMessageRequest) ProtoReflect ¶
func (x *SendUserVideoMessageRequest) ProtoReflect() protoreflect.Message
func (*SendUserVideoMessageRequest) Reset ¶
func (x *SendUserVideoMessageRequest) Reset()
func (*SendUserVideoMessageRequest) String ¶
func (x *SendUserVideoMessageRequest) String() string
func (*SendUserVideoMessageRequest) Validate ¶
func (m *SendUserVideoMessageRequest) Validate() error
Validate checks the field values on SendUserVideoMessageRequest 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 (*SendUserVideoMessageRequest) ValidateAll ¶
func (m *SendUserVideoMessageRequest) ValidateAll() error
ValidateAll checks the field values on SendUserVideoMessageRequest 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 SendUserVideoMessageRequestMultiError, or nil if none found.
type SendUserVideoMessageRequestMultiError ¶
type SendUserVideoMessageRequestMultiError []error
SendUserVideoMessageRequestMultiError is an error wrapping multiple validation errors returned by SendUserVideoMessageRequest.ValidateAll() if the designated constraints aren't met.
func (SendUserVideoMessageRequestMultiError) AllErrors ¶
func (m SendUserVideoMessageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserVideoMessageRequestMultiError) Error ¶
func (m SendUserVideoMessageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserVideoMessageRequestValidationError ¶
type SendUserVideoMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendUserVideoMessageRequestValidationError is the validation error returned by SendUserVideoMessageRequest.Validate if the designated constraints aren't met.
func (SendUserVideoMessageRequestValidationError) Cause ¶
func (e SendUserVideoMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendUserVideoMessageRequestValidationError) Error ¶
func (e SendUserVideoMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserVideoMessageRequestValidationError) ErrorName ¶
func (e SendUserVideoMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserVideoMessageRequestValidationError) Field ¶
func (e SendUserVideoMessageRequestValidationError) Field() string
Field function returns field value.
func (SendUserVideoMessageRequestValidationError) Key ¶
func (e SendUserVideoMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendUserVideoMessageRequestValidationError) Reason ¶
func (e SendUserVideoMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendUserVideoMessageResponse ¶
type SendUserVideoMessageResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SendUserVideoMessageResponse) Descriptor
deprecated
func (*SendUserVideoMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendUserVideoMessageResponse.ProtoReflect.Descriptor instead.
func (*SendUserVideoMessageResponse) GetId ¶
func (x *SendUserVideoMessageResponse) GetId() uint64
func (*SendUserVideoMessageResponse) ProtoMessage ¶
func (*SendUserVideoMessageResponse) ProtoMessage()
func (*SendUserVideoMessageResponse) ProtoReflect ¶
func (x *SendUserVideoMessageResponse) ProtoReflect() protoreflect.Message
func (*SendUserVideoMessageResponse) Reset ¶
func (x *SendUserVideoMessageResponse) Reset()
func (*SendUserVideoMessageResponse) String ¶
func (x *SendUserVideoMessageResponse) String() string
func (*SendUserVideoMessageResponse) Validate ¶
func (m *SendUserVideoMessageResponse) Validate() error
Validate checks the field values on SendUserVideoMessageResponse 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 (*SendUserVideoMessageResponse) ValidateAll ¶
func (m *SendUserVideoMessageResponse) ValidateAll() error
ValidateAll checks the field values on SendUserVideoMessageResponse 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 SendUserVideoMessageResponseMultiError, or nil if none found.
type SendUserVideoMessageResponseMultiError ¶
type SendUserVideoMessageResponseMultiError []error
SendUserVideoMessageResponseMultiError is an error wrapping multiple validation errors returned by SendUserVideoMessageResponse.ValidateAll() if the designated constraints aren't met.
func (SendUserVideoMessageResponseMultiError) AllErrors ¶
func (m SendUserVideoMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendUserVideoMessageResponseMultiError) Error ¶
func (m SendUserVideoMessageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendUserVideoMessageResponseValidationError ¶
type SendUserVideoMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendUserVideoMessageResponseValidationError is the validation error returned by SendUserVideoMessageResponse.Validate if the designated constraints aren't met.
func (SendUserVideoMessageResponseValidationError) Cause ¶
func (e SendUserVideoMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendUserVideoMessageResponseValidationError) Error ¶
func (e SendUserVideoMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendUserVideoMessageResponseValidationError) ErrorName ¶
func (e SendUserVideoMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendUserVideoMessageResponseValidationError) Field ¶
func (e SendUserVideoMessageResponseValidationError) Field() string
Field function returns field value.
func (SendUserVideoMessageResponseValidationError) Key ¶
func (e SendUserVideoMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendUserVideoMessageResponseValidationError) Reason ¶
func (e SendUserVideoMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SoundMessage ¶
type SoundMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Seconds uint64 `protobuf:"varint,4,opt,name=seconds,proto3" json:"seconds,omitempty"` // contains filtered or unexported fields }
语音消息
func (*SoundMessage) Descriptor
deprecated
func (*SoundMessage) Descriptor() ([]byte, []int)
Deprecated: Use SoundMessage.ProtoReflect.Descriptor instead.
func (*SoundMessage) GetId ¶
func (x *SoundMessage) GetId() uint64
func (*SoundMessage) GetSeconds ¶
func (x *SoundMessage) GetSeconds() uint64
func (*SoundMessage) GetSize ¶
func (x *SoundMessage) GetSize() uint64
func (*SoundMessage) GetUrl ¶
func (x *SoundMessage) GetUrl() string
func (*SoundMessage) ProtoMessage ¶
func (*SoundMessage) ProtoMessage()
func (*SoundMessage) ProtoReflect ¶
func (x *SoundMessage) ProtoReflect() protoreflect.Message
func (*SoundMessage) Reset ¶
func (x *SoundMessage) Reset()
func (*SoundMessage) String ¶
func (x *SoundMessage) String() string
func (*SoundMessage) Validate ¶
func (m *SoundMessage) Validate() error
Validate checks the field values on SoundMessage 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 (*SoundMessage) ValidateAll ¶
func (m *SoundMessage) ValidateAll() error
ValidateAll checks the field values on SoundMessage 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 SoundMessageMultiError, or nil if none found.
type SoundMessageMultiError ¶
type SoundMessageMultiError []error
SoundMessageMultiError is an error wrapping multiple validation errors returned by SoundMessage.ValidateAll() if the designated constraints aren't met.
func (SoundMessageMultiError) AllErrors ¶
func (m SoundMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SoundMessageMultiError) Error ¶
func (m SoundMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SoundMessageValidationError ¶
type SoundMessageValidationError struct {
// contains filtered or unexported fields
}
SoundMessageValidationError is the validation error returned by SoundMessage.Validate if the designated constraints aren't met.
func (SoundMessageValidationError) Cause ¶
func (e SoundMessageValidationError) Cause() error
Cause function returns cause value.
func (SoundMessageValidationError) Error ¶
func (e SoundMessageValidationError) Error() string
Error satisfies the builtin error interface
func (SoundMessageValidationError) ErrorName ¶
func (e SoundMessageValidationError) ErrorName() string
ErrorName returns error name.
func (SoundMessageValidationError) Field ¶
func (e SoundMessageValidationError) Field() string
Field function returns field value.
func (SoundMessageValidationError) Key ¶
func (e SoundMessageValidationError) Key() bool
Key function returns key value.
func (SoundMessageValidationError) Reason ¶
func (e SoundMessageValidationError) Reason() string
Reason function returns reason value.
type TextMessage ¶
type TextMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
文本消息
func (*TextMessage) Descriptor
deprecated
func (*TextMessage) Descriptor() ([]byte, []int)
Deprecated: Use TextMessage.ProtoReflect.Descriptor instead.
func (*TextMessage) GetContent ¶
func (x *TextMessage) GetContent() string
func (*TextMessage) GetId ¶
func (x *TextMessage) GetId() uint64
func (*TextMessage) ProtoMessage ¶
func (*TextMessage) ProtoMessage()
func (*TextMessage) ProtoReflect ¶
func (x *TextMessage) ProtoReflect() protoreflect.Message
func (*TextMessage) Reset ¶
func (x *TextMessage) Reset()
func (*TextMessage) String ¶
func (x *TextMessage) String() string
func (*TextMessage) Validate ¶
func (m *TextMessage) Validate() error
Validate checks the field values on TextMessage 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 (*TextMessage) ValidateAll ¶
func (m *TextMessage) ValidateAll() error
ValidateAll checks the field values on TextMessage 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 TextMessageMultiError, or nil if none found.
type TextMessageMultiError ¶
type TextMessageMultiError []error
TextMessageMultiError is an error wrapping multiple validation errors returned by TextMessage.ValidateAll() if the designated constraints aren't met.
func (TextMessageMultiError) AllErrors ¶
func (m TextMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TextMessageMultiError) Error ¶
func (m TextMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TextMessageValidationError ¶
type TextMessageValidationError struct {
// contains filtered or unexported fields
}
TextMessageValidationError is the validation error returned by TextMessage.Validate if the designated constraints aren't met.
func (TextMessageValidationError) Cause ¶
func (e TextMessageValidationError) Cause() error
Cause function returns cause value.
func (TextMessageValidationError) Error ¶
func (e TextMessageValidationError) Error() string
Error satisfies the builtin error interface
func (TextMessageValidationError) ErrorName ¶
func (e TextMessageValidationError) ErrorName() string
ErrorName returns error name.
func (TextMessageValidationError) Field ¶
func (e TextMessageValidationError) Field() string
Field function returns field value.
func (TextMessageValidationError) Key ¶
func (e TextMessageValidationError) Key() bool
Key function returns key value.
func (TextMessageValidationError) Reason ¶
func (e TextMessageValidationError) Reason() string
Reason function returns reason value.
type UnRegisterRequest ¶
type UnRegisterRequest struct { GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*UnRegisterRequest) Descriptor
deprecated
func (*UnRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnRegisterRequest.ProtoReflect.Descriptor instead.
func (*UnRegisterRequest) GetClientId ¶
func (x *UnRegisterRequest) GetClientId() string
func (*UnRegisterRequest) GetGatewayId ¶
func (x *UnRegisterRequest) GetGatewayId() string
func (*UnRegisterRequest) ProtoMessage ¶
func (*UnRegisterRequest) ProtoMessage()
func (*UnRegisterRequest) ProtoReflect ¶
func (x *UnRegisterRequest) ProtoReflect() protoreflect.Message
func (*UnRegisterRequest) Reset ¶
func (x *UnRegisterRequest) Reset()
func (*UnRegisterRequest) String ¶
func (x *UnRegisterRequest) String() string
func (*UnRegisterRequest) Validate ¶
func (m *UnRegisterRequest) Validate() error
Validate checks the field values on UnRegisterRequest 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 (*UnRegisterRequest) ValidateAll ¶
func (m *UnRegisterRequest) ValidateAll() error
ValidateAll checks the field values on UnRegisterRequest 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 UnRegisterRequestMultiError, or nil if none found.
type UnRegisterRequestMultiError ¶
type UnRegisterRequestMultiError []error
UnRegisterRequestMultiError is an error wrapping multiple validation errors returned by UnRegisterRequest.ValidateAll() if the designated constraints aren't met.
func (UnRegisterRequestMultiError) AllErrors ¶
func (m UnRegisterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnRegisterRequestMultiError) Error ¶
func (m UnRegisterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnRegisterRequestValidationError ¶
type UnRegisterRequestValidationError struct {
// contains filtered or unexported fields
}
UnRegisterRequestValidationError is the validation error returned by UnRegisterRequest.Validate if the designated constraints aren't met.
func (UnRegisterRequestValidationError) Cause ¶
func (e UnRegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (UnRegisterRequestValidationError) Error ¶
func (e UnRegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UnRegisterRequestValidationError) ErrorName ¶
func (e UnRegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UnRegisterRequestValidationError) Field ¶
func (e UnRegisterRequestValidationError) Field() string
Field function returns field value.
func (UnRegisterRequestValidationError) Key ¶
func (e UnRegisterRequestValidationError) Key() bool
Key function returns key value.
func (UnRegisterRequestValidationError) Reason ¶
func (e UnRegisterRequestValidationError) Reason() string
Reason function returns reason value.
type UnRegisterResponse ¶
type UnRegisterResponse struct {
// contains filtered or unexported fields
}
func (*UnRegisterResponse) Descriptor
deprecated
func (*UnRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnRegisterResponse.ProtoReflect.Descriptor instead.
func (*UnRegisterResponse) ProtoMessage ¶
func (*UnRegisterResponse) ProtoMessage()
func (*UnRegisterResponse) ProtoReflect ¶
func (x *UnRegisterResponse) ProtoReflect() protoreflect.Message
func (*UnRegisterResponse) Reset ¶
func (x *UnRegisterResponse) Reset()
func (*UnRegisterResponse) String ¶
func (x *UnRegisterResponse) String() string
func (*UnRegisterResponse) Validate ¶
func (m *UnRegisterResponse) Validate() error
Validate checks the field values on UnRegisterResponse 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 (*UnRegisterResponse) ValidateAll ¶
func (m *UnRegisterResponse) ValidateAll() error
ValidateAll checks the field values on UnRegisterResponse 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 UnRegisterResponseMultiError, or nil if none found.
type UnRegisterResponseMultiError ¶
type UnRegisterResponseMultiError []error
UnRegisterResponseMultiError is an error wrapping multiple validation errors returned by UnRegisterResponse.ValidateAll() if the designated constraints aren't met.
func (UnRegisterResponseMultiError) AllErrors ¶
func (m UnRegisterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnRegisterResponseMultiError) Error ¶
func (m UnRegisterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnRegisterResponseValidationError ¶
type UnRegisterResponseValidationError struct {
// contains filtered or unexported fields
}
UnRegisterResponseValidationError is the validation error returned by UnRegisterResponse.Validate if the designated constraints aren't met.
func (UnRegisterResponseValidationError) Cause ¶
func (e UnRegisterResponseValidationError) Cause() error
Cause function returns cause value.
func (UnRegisterResponseValidationError) Error ¶
func (e UnRegisterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UnRegisterResponseValidationError) ErrorName ¶
func (e UnRegisterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UnRegisterResponseValidationError) Field ¶
func (e UnRegisterResponseValidationError) Field() string
Field function returns field value.
func (UnRegisterResponseValidationError) Key ¶
func (e UnRegisterResponseValidationError) Key() bool
Key function returns key value.
func (UnRegisterResponseValidationError) Reason ¶
func (e UnRegisterResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedCommonServiceServer ¶
type UnimplementedCommonServiceServer struct { }
UnimplementedCommonServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCommonServiceServer) Ping ¶
func (UnimplementedCommonServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedCommonServiceServer) SendEmail ¶
func (UnimplementedCommonServiceServer) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
func (UnimplementedCommonServiceServer) UploadImage ¶
func (UnimplementedCommonServiceServer) UploadImage(CommonService_UploadImageServer) error
type UnimplementedFeedServiceServer ¶
type UnimplementedFeedServiceServer struct { }
UnimplementedFeedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFeedServiceServer) FeedCreate ¶
func (UnimplementedFeedServiceServer) FeedCreate(context.Context, *FeedCreateRequest) (*FeedCreateResponse, error)
func (UnimplementedFeedServiceServer) FeedDelete ¶
func (UnimplementedFeedServiceServer) FeedDelete(context.Context, *FeedDeleteRequest) (*FeedDeleteResponse, error)
func (UnimplementedFeedServiceServer) FeedEdit ¶
func (UnimplementedFeedServiceServer) FeedEdit(context.Context, *FeedEditRequest) (*FeedEditResponse, error)
func (UnimplementedFeedServiceServer) FeedFollow ¶
func (UnimplementedFeedServiceServer) FeedFollow(context.Context, *FeedFollowRequest) (*FeedFollowResponse, error)
func (UnimplementedFeedServiceServer) FeedGet ¶
func (UnimplementedFeedServiceServer) FeedGet(context.Context, *FeedGetRequest) (*FeedGetResponse, error)
func (UnimplementedFeedServiceServer) FeedLike ¶
func (UnimplementedFeedServiceServer) FeedLike(context.Context, *FeedLikeRequest) (*FeedLikeResponse, error)
func (UnimplementedFeedServiceServer) FeedOwn ¶
func (UnimplementedFeedServiceServer) FeedOwn(context.Context, *FeedOwnRequest) (*FeedOwnResponse, error)
func (UnimplementedFeedServiceServer) FeedQuery ¶
func (UnimplementedFeedServiceServer) FeedQuery(context.Context, *FeedQueryRequest) (*FeedQueryResponse, error)
func (UnimplementedFeedServiceServer) FeedUnLike ¶
func (UnimplementedFeedServiceServer) FeedUnLike(context.Context, *FeedUnLikeRequest) (*FeedUnLikeResponse, error)
func (UnimplementedFeedServiceServer) Ping ¶
func (UnimplementedFeedServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
type UnimplementedGatewayServiceServer ¶
type UnimplementedGatewayServiceServer struct { }
UnimplementedGatewayServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGatewayServiceServer) Ping ¶
func (UnimplementedGatewayServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedGatewayServiceServer) Register ¶
func (UnimplementedGatewayServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedGatewayServiceServer) SendMessage ¶
func (UnimplementedGatewayServiceServer) SendMessage(GatewayService_SendMessageServer) error
func (UnimplementedGatewayServiceServer) SendToAll ¶
func (UnimplementedGatewayServiceServer) SendToAll(context.Context, *SendToAllRequest) (*SendToAllResponse, error)
func (UnimplementedGatewayServiceServer) UnRegister ¶
func (UnimplementedGatewayServiceServer) UnRegister(context.Context, *UnRegisterRequest) (*UnRegisterResponse, error)
type UnimplementedGroupServiceServer ¶
type UnimplementedGroupServiceServer struct { }
UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGroupServiceServer) CreateGroup ¶
func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
func (UnimplementedGroupServiceServer) DeleteGroup ¶
func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
func (UnimplementedGroupServiceServer) GetGroup ¶
func (UnimplementedGroupServiceServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
func (UnimplementedGroupServiceServer) JoinGroup ¶
func (UnimplementedGroupServiceServer) JoinGroup(context.Context, *JoinGroupRequest) (*JoinGroupResponse, error)
func (UnimplementedGroupServiceServer) Ping ¶
func (UnimplementedGroupServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedGroupServiceServer) QueryGroup ¶
func (UnimplementedGroupServiceServer) QueryGroup(context.Context, *QueryGroupRequest) (*QueryGroupResponse, error)
func (UnimplementedGroupServiceServer) QuitGroup ¶
func (UnimplementedGroupServiceServer) QuitGroup(context.Context, *QuitGroupRequest) (*QuitGroupResponse, error)
func (UnimplementedGroupServiceServer) UpdateGroup ¶
func (UnimplementedGroupServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
type UnimplementedMessageServiceServer ¶
type UnimplementedMessageServiceServer struct { }
UnimplementedMessageServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMessageServiceServer) Ping ¶
func (UnimplementedMessageServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedMessageServiceServer) SendGroupFceMessage ¶
func (UnimplementedMessageServiceServer) SendGroupFceMessage(context.Context, *SendGroupFaceMessageRequest) (*SendGroupFaceMessageResponse, error)
func (UnimplementedMessageServiceServer) SendGroupFileMessage ¶
func (UnimplementedMessageServiceServer) SendGroupFileMessage(context.Context, *SendGroupFileMessageRequest) (*SendGroupFileMessageResponse, error)
func (UnimplementedMessageServiceServer) SendGroupImageMessage ¶
func (UnimplementedMessageServiceServer) SendGroupImageMessage(context.Context, *SendGroupImageMessageRequest) (*SendGroupImageMessageResponse, error)
func (UnimplementedMessageServiceServer) SendGroupLocationMessage ¶
func (UnimplementedMessageServiceServer) SendGroupLocationMessage(context.Context, *SendGroupLocationMessageRequest) (*SendGroupLocationMessageResponse, error)
func (UnimplementedMessageServiceServer) SendGroupSoundMessage ¶
func (UnimplementedMessageServiceServer) SendGroupSoundMessage(context.Context, *SendGroupSoundMessageRequest) (*SendGroupSoundMessageResponse, error)
func (UnimplementedMessageServiceServer) SendGroupTextMessage ¶
func (UnimplementedMessageServiceServer) SendGroupTextMessage(context.Context, *SendGroupTextMessageRequest) (*SendGroupTextMessageResponse, error)
func (UnimplementedMessageServiceServer) SendGroupVideoMessage ¶
func (UnimplementedMessageServiceServer) SendGroupVideoMessage(context.Context, *SendGroupVideoMessageRequest) (*SendGroupVideoMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserFaceMessage ¶
func (UnimplementedMessageServiceServer) SendUserFaceMessage(context.Context, *SendUserFaceMessageRequest) (*SendUserFaceMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserFileMessage ¶
func (UnimplementedMessageServiceServer) SendUserFileMessage(context.Context, *SendUserFileMessageRequest) (*SendUserFileMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserImageMessage ¶
func (UnimplementedMessageServiceServer) SendUserImageMessage(context.Context, *SendUserImageMessageRequest) (*SendUserImageMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserLocationMessage ¶
func (UnimplementedMessageServiceServer) SendUserLocationMessage(context.Context, *SendUserLocationMessageRequest) (*SendUserLocationMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserSoundMessage ¶
func (UnimplementedMessageServiceServer) SendUserSoundMessage(context.Context, *SendUserSoundMessageRequest) (*SendUserSoundMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserTextMessage ¶
func (UnimplementedMessageServiceServer) SendUserTextMessage(context.Context, *SendUserTextMessageRequest) (*SendUserTextMessageResponse, error)
func (UnimplementedMessageServiceServer) SendUserVideoMessage ¶
func (UnimplementedMessageServiceServer) SendUserVideoMessage(context.Context, *SendUserVideoMessageRequest) (*SendUserVideoMessageResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *UserCreateRequest) (*UserCreateResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *UserGetRequest) (*UserGetResponse, error)
func (UnimplementedUserServiceServer) Ping ¶
func (UnimplementedUserServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedUserServiceServer) QueryUser ¶
func (UnimplementedUserServiceServer) QueryUser(context.Context, *UserQueryRequest) (*UserQueryResponse, error)
func (UnimplementedUserServiceServer) UpdateAvatar ¶
func (UnimplementedUserServiceServer) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*UpdateAvatarResponse, error)
func (UnimplementedUserServiceServer) UpdatePassword ¶
func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
func (UnimplementedUserServiceServer) UserLogin ¶
func (UnimplementedUserServiceServer) UserLogin(context.Context, *UserLoginRequest) (*UserLoginResponse, error)
type UnsafeCommonServiceServer ¶
type UnsafeCommonServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommonServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommonServiceServer will result in compilation errors.
type UnsafeFeedServiceServer ¶
type UnsafeFeedServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFeedServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeedServiceServer will result in compilation errors.
type UnsafeGatewayServiceServer ¶
type UnsafeGatewayServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGatewayServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayServiceServer will result in compilation errors.
type UnsafeGroupServiceServer ¶
type UnsafeGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServiceServer will result in compilation errors.
type UnsafeMessageServiceServer ¶
type UnsafeMessageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMessageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessageServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateAvatarRequest ¶
type UpdateAvatarRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*UpdateAvatarRequest) Descriptor
deprecated
func (*UpdateAvatarRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarRequest.ProtoReflect.Descriptor instead.
func (*UpdateAvatarRequest) GetUrl ¶
func (x *UpdateAvatarRequest) GetUrl() string
func (*UpdateAvatarRequest) ProtoMessage ¶
func (*UpdateAvatarRequest) ProtoMessage()
func (*UpdateAvatarRequest) ProtoReflect ¶
func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message
func (*UpdateAvatarRequest) Reset ¶
func (x *UpdateAvatarRequest) Reset()
func (*UpdateAvatarRequest) String ¶
func (x *UpdateAvatarRequest) String() string
func (*UpdateAvatarRequest) Validate ¶
func (m *UpdateAvatarRequest) Validate() error
Validate checks the field values on UpdateAvatarRequest 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 (*UpdateAvatarRequest) ValidateAll ¶
func (m *UpdateAvatarRequest) ValidateAll() error
ValidateAll checks the field values on UpdateAvatarRequest 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 UpdateAvatarRequestMultiError, or nil if none found.
type UpdateAvatarRequestMultiError ¶
type UpdateAvatarRequestMultiError []error
UpdateAvatarRequestMultiError is an error wrapping multiple validation errors returned by UpdateAvatarRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateAvatarRequestMultiError) AllErrors ¶
func (m UpdateAvatarRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAvatarRequestMultiError) Error ¶
func (m UpdateAvatarRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAvatarRequestValidationError ¶
type UpdateAvatarRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateAvatarRequestValidationError is the validation error returned by UpdateAvatarRequest.Validate if the designated constraints aren't met.
func (UpdateAvatarRequestValidationError) Cause ¶
func (e UpdateAvatarRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateAvatarRequestValidationError) Error ¶
func (e UpdateAvatarRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAvatarRequestValidationError) ErrorName ¶
func (e UpdateAvatarRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAvatarRequestValidationError) Field ¶
func (e UpdateAvatarRequestValidationError) Field() string
Field function returns field value.
func (UpdateAvatarRequestValidationError) Key ¶
func (e UpdateAvatarRequestValidationError) Key() bool
Key function returns key value.
func (UpdateAvatarRequestValidationError) Reason ¶
func (e UpdateAvatarRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateAvatarResponse ¶
type UpdateAvatarResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAvatarResponse) Descriptor
deprecated
func (*UpdateAvatarResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarResponse.ProtoReflect.Descriptor instead.
func (*UpdateAvatarResponse) ProtoMessage ¶
func (*UpdateAvatarResponse) ProtoMessage()
func (*UpdateAvatarResponse) ProtoReflect ¶
func (x *UpdateAvatarResponse) ProtoReflect() protoreflect.Message
func (*UpdateAvatarResponse) Reset ¶
func (x *UpdateAvatarResponse) Reset()
func (*UpdateAvatarResponse) String ¶
func (x *UpdateAvatarResponse) String() string
func (*UpdateAvatarResponse) Validate ¶
func (m *UpdateAvatarResponse) Validate() error
Validate checks the field values on UpdateAvatarResponse 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 (*UpdateAvatarResponse) ValidateAll ¶
func (m *UpdateAvatarResponse) ValidateAll() error
ValidateAll checks the field values on UpdateAvatarResponse 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 UpdateAvatarResponseMultiError, or nil if none found.
type UpdateAvatarResponseMultiError ¶
type UpdateAvatarResponseMultiError []error
UpdateAvatarResponseMultiError is an error wrapping multiple validation errors returned by UpdateAvatarResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateAvatarResponseMultiError) AllErrors ¶
func (m UpdateAvatarResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateAvatarResponseMultiError) Error ¶
func (m UpdateAvatarResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateAvatarResponseValidationError ¶
type UpdateAvatarResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateAvatarResponseValidationError is the validation error returned by UpdateAvatarResponse.Validate if the designated constraints aren't met.
func (UpdateAvatarResponseValidationError) Cause ¶
func (e UpdateAvatarResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateAvatarResponseValidationError) Error ¶
func (e UpdateAvatarResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateAvatarResponseValidationError) ErrorName ¶
func (e UpdateAvatarResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateAvatarResponseValidationError) Field ¶
func (e UpdateAvatarResponseValidationError) Field() string
Field function returns field value.
func (UpdateAvatarResponseValidationError) Key ¶
func (e UpdateAvatarResponseValidationError) Key() bool
Key function returns key value.
func (UpdateAvatarResponseValidationError) Reason ¶
func (e UpdateAvatarResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // contains filtered or unexported fields }
func (*UpdateGroupRequest) Descriptor
deprecated
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateGroupRequest) GetAvatarUrl ¶
func (x *UpdateGroupRequest) GetAvatarUrl() string
func (*UpdateGroupRequest) GetId ¶
func (x *UpdateGroupRequest) GetId() uint64
func (*UpdateGroupRequest) GetIntroduction ¶
func (x *UpdateGroupRequest) GetIntroduction() string
func (*UpdateGroupRequest) GetName ¶
func (x *UpdateGroupRequest) GetName() string
func (*UpdateGroupRequest) ProtoMessage ¶
func (*UpdateGroupRequest) ProtoMessage()
func (*UpdateGroupRequest) ProtoReflect ¶
func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateGroupRequest) Reset ¶
func (x *UpdateGroupRequest) Reset()
func (*UpdateGroupRequest) String ¶
func (x *UpdateGroupRequest) String() string
func (*UpdateGroupRequest) Validate ¶
func (m *UpdateGroupRequest) Validate() error
Validate checks the field values on UpdateGroupRequest 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 (*UpdateGroupRequest) ValidateAll ¶
func (m *UpdateGroupRequest) ValidateAll() error
ValidateAll checks the field values on UpdateGroupRequest 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 UpdateGroupRequestMultiError, or nil if none found.
type UpdateGroupRequestMultiError ¶
type UpdateGroupRequestMultiError []error
UpdateGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateGroupRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateGroupRequestMultiError) AllErrors ¶
func (m UpdateGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateGroupRequestMultiError) Error ¶
func (m UpdateGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateGroupRequestValidationError ¶
type UpdateGroupRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateGroupRequestValidationError is the validation error returned by UpdateGroupRequest.Validate if the designated constraints aren't met.
func (UpdateGroupRequestValidationError) Cause ¶
func (e UpdateGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateGroupRequestValidationError) Error ¶
func (e UpdateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupRequestValidationError) ErrorName ¶
func (e UpdateGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateGroupRequestValidationError) Field ¶
func (e UpdateGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateGroupRequestValidationError) Key ¶
func (e UpdateGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateGroupRequestValidationError) Reason ¶
func (e UpdateGroupRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateGroupResponse ¶
type UpdateGroupResponse struct {
// contains filtered or unexported fields
}
func (*UpdateGroupResponse) Descriptor
deprecated
func (*UpdateGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.
func (*UpdateGroupResponse) ProtoMessage ¶
func (*UpdateGroupResponse) ProtoMessage()
func (*UpdateGroupResponse) ProtoReflect ¶
func (x *UpdateGroupResponse) ProtoReflect() protoreflect.Message
func (*UpdateGroupResponse) Reset ¶
func (x *UpdateGroupResponse) Reset()
func (*UpdateGroupResponse) String ¶
func (x *UpdateGroupResponse) String() string
func (*UpdateGroupResponse) Validate ¶
func (m *UpdateGroupResponse) Validate() error
Validate checks the field values on UpdateGroupResponse 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 (*UpdateGroupResponse) ValidateAll ¶
func (m *UpdateGroupResponse) ValidateAll() error
ValidateAll checks the field values on UpdateGroupResponse 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 UpdateGroupResponseMultiError, or nil if none found.
type UpdateGroupResponseMultiError ¶
type UpdateGroupResponseMultiError []error
UpdateGroupResponseMultiError is an error wrapping multiple validation errors returned by UpdateGroupResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateGroupResponseMultiError) AllErrors ¶
func (m UpdateGroupResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateGroupResponseMultiError) Error ¶
func (m UpdateGroupResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateGroupResponseValidationError ¶
type UpdateGroupResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateGroupResponseValidationError is the validation error returned by UpdateGroupResponse.Validate if the designated constraints aren't met.
func (UpdateGroupResponseValidationError) Cause ¶
func (e UpdateGroupResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateGroupResponseValidationError) Error ¶
func (e UpdateGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupResponseValidationError) ErrorName ¶
func (e UpdateGroupResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateGroupResponseValidationError) Field ¶
func (e UpdateGroupResponseValidationError) Field() string
Field function returns field value.
func (UpdateGroupResponseValidationError) Key ¶
func (e UpdateGroupResponseValidationError) Key() bool
Key function returns key value.
func (UpdateGroupResponseValidationError) Reason ¶
func (e UpdateGroupResponseValidationError) Reason() string
Reason function returns reason value.
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` PasswordRpt string `protobuf:"bytes,2,opt,name=password_rpt,json=passwordRpt,proto3" json:"password_rpt,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetPassword ¶
func (x *UpdatePasswordRequest) GetPassword() string
func (*UpdatePasswordRequest) GetPasswordRpt ¶
func (x *UpdatePasswordRequest) GetPasswordRpt() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
func (*UpdatePasswordRequest) Validate ¶
func (m *UpdatePasswordRequest) Validate() error
Validate checks the field values on UpdatePasswordRequest 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 (*UpdatePasswordRequest) ValidateAll ¶
func (m *UpdatePasswordRequest) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordRequest 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 UpdatePasswordRequestMultiError, or nil if none found.
type UpdatePasswordRequestMultiError ¶
type UpdatePasswordRequestMultiError []error
UpdatePasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdatePasswordRequest.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordRequestMultiError) AllErrors ¶
func (m UpdatePasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordRequestMultiError) Error ¶
func (m UpdatePasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordRequestValidationError ¶
type UpdatePasswordRequestValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordRequestValidationError is the validation error returned by UpdatePasswordRequest.Validate if the designated constraints aren't met.
func (UpdatePasswordRequestValidationError) Cause ¶
func (e UpdatePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordRequestValidationError) Error ¶
func (e UpdatePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordRequestValidationError) ErrorName ¶
func (e UpdatePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordRequestValidationError) Field ¶
func (e UpdatePasswordRequestValidationError) Field() string
Field function returns field value.
func (UpdatePasswordRequestValidationError) Key ¶
func (e UpdatePasswordRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordRequestValidationError) Reason ¶
func (e UpdatePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordResponse) Descriptor
deprecated
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) ProtoReflect ¶
func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResponse) Reset ¶
func (x *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) String ¶
func (x *UpdatePasswordResponse) String() string
func (*UpdatePasswordResponse) Validate ¶
func (m *UpdatePasswordResponse) Validate() error
Validate checks the field values on UpdatePasswordResponse 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 (*UpdatePasswordResponse) ValidateAll ¶
func (m *UpdatePasswordResponse) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordResponse 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 UpdatePasswordResponseMultiError, or nil if none found.
type UpdatePasswordResponseMultiError ¶
type UpdatePasswordResponseMultiError []error
UpdatePasswordResponseMultiError is an error wrapping multiple validation errors returned by UpdatePasswordResponse.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordResponseMultiError) AllErrors ¶
func (m UpdatePasswordResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordResponseMultiError) Error ¶
func (m UpdatePasswordResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordResponseValidationError ¶
type UpdatePasswordResponseValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordResponseValidationError is the validation error returned by UpdatePasswordResponse.Validate if the designated constraints aren't met.
func (UpdatePasswordResponseValidationError) Cause ¶
func (e UpdatePasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordResponseValidationError) Error ¶
func (e UpdatePasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordResponseValidationError) ErrorName ¶
func (e UpdatePasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordResponseValidationError) Field ¶
func (e UpdatePasswordResponseValidationError) Field() string
Field function returns field value.
func (UpdatePasswordResponseValidationError) Key ¶
func (e UpdatePasswordResponseValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordResponseValidationError) Reason ¶
func (e UpdatePasswordResponseValidationError) Reason() string
Reason function returns reason value.
type UploadImageRequest ¶
type UploadImageRequest struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*UploadImageRequest) Descriptor
deprecated
func (*UploadImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadImageRequest.ProtoReflect.Descriptor instead.
func (*UploadImageRequest) GetContent ¶
func (x *UploadImageRequest) GetContent() []byte
func (*UploadImageRequest) ProtoMessage ¶
func (*UploadImageRequest) ProtoMessage()
func (*UploadImageRequest) ProtoReflect ¶
func (x *UploadImageRequest) ProtoReflect() protoreflect.Message
func (*UploadImageRequest) Reset ¶
func (x *UploadImageRequest) Reset()
func (*UploadImageRequest) String ¶
func (x *UploadImageRequest) String() string
func (*UploadImageRequest) Validate ¶
func (m *UploadImageRequest) Validate() error
Validate checks the field values on UploadImageRequest 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 (*UploadImageRequest) ValidateAll ¶
func (m *UploadImageRequest) ValidateAll() error
ValidateAll checks the field values on UploadImageRequest 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 UploadImageRequestMultiError, or nil if none found.
type UploadImageRequestMultiError ¶
type UploadImageRequestMultiError []error
UploadImageRequestMultiError is an error wrapping multiple validation errors returned by UploadImageRequest.ValidateAll() if the designated constraints aren't met.
func (UploadImageRequestMultiError) AllErrors ¶
func (m UploadImageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadImageRequestMultiError) Error ¶
func (m UploadImageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadImageRequestValidationError ¶
type UploadImageRequestValidationError struct {
// contains filtered or unexported fields
}
UploadImageRequestValidationError is the validation error returned by UploadImageRequest.Validate if the designated constraints aren't met.
func (UploadImageRequestValidationError) Cause ¶
func (e UploadImageRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadImageRequestValidationError) Error ¶
func (e UploadImageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadImageRequestValidationError) ErrorName ¶
func (e UploadImageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadImageRequestValidationError) Field ¶
func (e UploadImageRequestValidationError) Field() string
Field function returns field value.
func (UploadImageRequestValidationError) Key ¶
func (e UploadImageRequestValidationError) Key() bool
Key function returns key value.
func (UploadImageRequestValidationError) Reason ¶
func (e UploadImageRequestValidationError) Reason() string
Reason function returns reason value.
type UploadImageResponse ¶
type UploadImageResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*UploadImageResponse) Descriptor
deprecated
func (*UploadImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadImageResponse.ProtoReflect.Descriptor instead.
func (*UploadImageResponse) GetUrl ¶
func (x *UploadImageResponse) GetUrl() string
func (*UploadImageResponse) ProtoMessage ¶
func (*UploadImageResponse) ProtoMessage()
func (*UploadImageResponse) ProtoReflect ¶
func (x *UploadImageResponse) ProtoReflect() protoreflect.Message
func (*UploadImageResponse) Reset ¶
func (x *UploadImageResponse) Reset()
func (*UploadImageResponse) String ¶
func (x *UploadImageResponse) String() string
func (*UploadImageResponse) Validate ¶
func (m *UploadImageResponse) Validate() error
Validate checks the field values on UploadImageResponse 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 (*UploadImageResponse) ValidateAll ¶
func (m *UploadImageResponse) ValidateAll() error
ValidateAll checks the field values on UploadImageResponse 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 UploadImageResponseMultiError, or nil if none found.
type UploadImageResponseMultiError ¶
type UploadImageResponseMultiError []error
UploadImageResponseMultiError is an error wrapping multiple validation errors returned by UploadImageResponse.ValidateAll() if the designated constraints aren't met.
func (UploadImageResponseMultiError) AllErrors ¶
func (m UploadImageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadImageResponseMultiError) Error ¶
func (m UploadImageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadImageResponseValidationError ¶
type UploadImageResponseValidationError struct {
// contains filtered or unexported fields
}
UploadImageResponseValidationError is the validation error returned by UploadImageResponse.Validate if the designated constraints aren't met.
func (UploadImageResponseValidationError) Cause ¶
func (e UploadImageResponseValidationError) Cause() error
Cause function returns cause value.
func (UploadImageResponseValidationError) Error ¶
func (e UploadImageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UploadImageResponseValidationError) ErrorName ¶
func (e UploadImageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UploadImageResponseValidationError) Field ¶
func (e UploadImageResponseValidationError) Field() string
Field function returns field value.
func (UploadImageResponseValidationError) Key ¶
func (e UploadImageResponseValidationError) Key() bool
Key function returns key value.
func (UploadImageResponseValidationError) Reason ¶
func (e UploadImageResponseValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender Gender `protobuf:"varint,3,opt,name=gender,proto3,enum=common.Gender" json:"gender,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAvatarUrl ¶
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetDeletedAt ¶
func (x *User) GetDeletedAt() *timestamppb.Timestamp
func (*User) GetNickname ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserCreateRequest ¶
type UserCreateRequest struct { Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` Gender Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=common.Gender" json:"gender,omitempty"` AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` PasswordRpt string `protobuf:"bytes,5,opt,name=password_rpt,json=passwordRpt,proto3" json:"password_rpt,omitempty"` // contains filtered or unexported fields }
func (*UserCreateRequest) Descriptor
deprecated
func (*UserCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateRequest.ProtoReflect.Descriptor instead.
func (*UserCreateRequest) GetAvatarUrl ¶
func (x *UserCreateRequest) GetAvatarUrl() string
func (*UserCreateRequest) GetGender ¶
func (x *UserCreateRequest) GetGender() Gender
func (*UserCreateRequest) GetNickname ¶
func (x *UserCreateRequest) GetNickname() string
func (*UserCreateRequest) GetPassword ¶
func (x *UserCreateRequest) GetPassword() string
func (*UserCreateRequest) GetPasswordRpt ¶
func (x *UserCreateRequest) GetPasswordRpt() string
func (*UserCreateRequest) ProtoMessage ¶
func (*UserCreateRequest) ProtoMessage()
func (*UserCreateRequest) ProtoReflect ¶
func (x *UserCreateRequest) ProtoReflect() protoreflect.Message
func (*UserCreateRequest) Reset ¶
func (x *UserCreateRequest) Reset()
func (*UserCreateRequest) String ¶
func (x *UserCreateRequest) String() string
func (*UserCreateRequest) Validate ¶
func (m *UserCreateRequest) Validate() error
Validate checks the field values on UserCreateRequest 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 (*UserCreateRequest) ValidateAll ¶
func (m *UserCreateRequest) ValidateAll() error
ValidateAll checks the field values on UserCreateRequest 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 UserCreateRequestMultiError, or nil if none found.
type UserCreateRequestMultiError ¶
type UserCreateRequestMultiError []error
UserCreateRequestMultiError is an error wrapping multiple validation errors returned by UserCreateRequest.ValidateAll() if the designated constraints aren't met.
func (UserCreateRequestMultiError) AllErrors ¶
func (m UserCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserCreateRequestMultiError) Error ¶
func (m UserCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserCreateRequestValidationError ¶
type UserCreateRequestValidationError struct {
// contains filtered or unexported fields
}
UserCreateRequestValidationError is the validation error returned by UserCreateRequest.Validate if the designated constraints aren't met.
func (UserCreateRequestValidationError) Cause ¶
func (e UserCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (UserCreateRequestValidationError) Error ¶
func (e UserCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserCreateRequestValidationError) ErrorName ¶
func (e UserCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserCreateRequestValidationError) Field ¶
func (e UserCreateRequestValidationError) Field() string
Field function returns field value.
func (UserCreateRequestValidationError) Key ¶
func (e UserCreateRequestValidationError) Key() bool
Key function returns key value.
func (UserCreateRequestValidationError) Reason ¶
func (e UserCreateRequestValidationError) Reason() string
Reason function returns reason value.
type UserCreateResponse ¶
type UserCreateResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserCreateResponse) Descriptor
deprecated
func (*UserCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateResponse.ProtoReflect.Descriptor instead.
func (*UserCreateResponse) GetUser ¶
func (x *UserCreateResponse) GetUser() *User
func (*UserCreateResponse) ProtoMessage ¶
func (*UserCreateResponse) ProtoMessage()
func (*UserCreateResponse) ProtoReflect ¶
func (x *UserCreateResponse) ProtoReflect() protoreflect.Message
func (*UserCreateResponse) Reset ¶
func (x *UserCreateResponse) Reset()
func (*UserCreateResponse) String ¶
func (x *UserCreateResponse) String() string
func (*UserCreateResponse) Validate ¶
func (m *UserCreateResponse) Validate() error
Validate checks the field values on UserCreateResponse 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 (*UserCreateResponse) ValidateAll ¶
func (m *UserCreateResponse) ValidateAll() error
ValidateAll checks the field values on UserCreateResponse 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 UserCreateResponseMultiError, or nil if none found.
type UserCreateResponseMultiError ¶
type UserCreateResponseMultiError []error
UserCreateResponseMultiError is an error wrapping multiple validation errors returned by UserCreateResponse.ValidateAll() if the designated constraints aren't met.
func (UserCreateResponseMultiError) AllErrors ¶
func (m UserCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserCreateResponseMultiError) Error ¶
func (m UserCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserCreateResponseValidationError ¶
type UserCreateResponseValidationError struct {
// contains filtered or unexported fields
}
UserCreateResponseValidationError is the validation error returned by UserCreateResponse.Validate if the designated constraints aren't met.
func (UserCreateResponseValidationError) Cause ¶
func (e UserCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (UserCreateResponseValidationError) Error ¶
func (e UserCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UserCreateResponseValidationError) ErrorName ¶
func (e UserCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UserCreateResponseValidationError) Field ¶
func (e UserCreateResponseValidationError) Field() string
Field function returns field value.
func (UserCreateResponseValidationError) Key ¶
func (e UserCreateResponseValidationError) Key() bool
Key function returns key value.
func (UserCreateResponseValidationError) Reason ¶
func (e UserCreateResponseValidationError) Reason() string
Reason function returns reason value.
type UserGetRequest ¶
type UserGetRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UserGetRequest) Descriptor
deprecated
func (*UserGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserGetRequest.ProtoReflect.Descriptor instead.
func (*UserGetRequest) GetId ¶
func (x *UserGetRequest) GetId() uint64
func (*UserGetRequest) ProtoMessage ¶
func (*UserGetRequest) ProtoMessage()
func (*UserGetRequest) ProtoReflect ¶
func (x *UserGetRequest) ProtoReflect() protoreflect.Message
func (*UserGetRequest) Reset ¶
func (x *UserGetRequest) Reset()
func (*UserGetRequest) String ¶
func (x *UserGetRequest) String() string
func (*UserGetRequest) Validate ¶
func (m *UserGetRequest) Validate() error
Validate checks the field values on UserGetRequest 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 (*UserGetRequest) ValidateAll ¶
func (m *UserGetRequest) ValidateAll() error
ValidateAll checks the field values on UserGetRequest 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 UserGetRequestMultiError, or nil if none found.
type UserGetRequestMultiError ¶
type UserGetRequestMultiError []error
UserGetRequestMultiError is an error wrapping multiple validation errors returned by UserGetRequest.ValidateAll() if the designated constraints aren't met.
func (UserGetRequestMultiError) AllErrors ¶
func (m UserGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserGetRequestMultiError) Error ¶
func (m UserGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserGetRequestValidationError ¶
type UserGetRequestValidationError struct {
// contains filtered or unexported fields
}
UserGetRequestValidationError is the validation error returned by UserGetRequest.Validate if the designated constraints aren't met.
func (UserGetRequestValidationError) Cause ¶
func (e UserGetRequestValidationError) Cause() error
Cause function returns cause value.
func (UserGetRequestValidationError) Error ¶
func (e UserGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserGetRequestValidationError) ErrorName ¶
func (e UserGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserGetRequestValidationError) Field ¶
func (e UserGetRequestValidationError) Field() string
Field function returns field value.
func (UserGetRequestValidationError) Key ¶
func (e UserGetRequestValidationError) Key() bool
Key function returns key value.
func (UserGetRequestValidationError) Reason ¶
func (e UserGetRequestValidationError) Reason() string
Reason function returns reason value.
type UserGetResponse ¶
type UserGetResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserGetResponse) Descriptor
deprecated
func (*UserGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserGetResponse.ProtoReflect.Descriptor instead.
func (*UserGetResponse) GetUser ¶
func (x *UserGetResponse) GetUser() *User
func (*UserGetResponse) ProtoMessage ¶
func (*UserGetResponse) ProtoMessage()
func (*UserGetResponse) ProtoReflect ¶
func (x *UserGetResponse) ProtoReflect() protoreflect.Message
func (*UserGetResponse) Reset ¶
func (x *UserGetResponse) Reset()
func (*UserGetResponse) String ¶
func (x *UserGetResponse) String() string
func (*UserGetResponse) Validate ¶
func (m *UserGetResponse) Validate() error
Validate checks the field values on UserGetResponse 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 (*UserGetResponse) ValidateAll ¶
func (m *UserGetResponse) ValidateAll() error
ValidateAll checks the field values on UserGetResponse 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 UserGetResponseMultiError, or nil if none found.
type UserGetResponseMultiError ¶
type UserGetResponseMultiError []error
UserGetResponseMultiError is an error wrapping multiple validation errors returned by UserGetResponse.ValidateAll() if the designated constraints aren't met.
func (UserGetResponseMultiError) AllErrors ¶
func (m UserGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserGetResponseMultiError) Error ¶
func (m UserGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserGetResponseValidationError ¶
type UserGetResponseValidationError struct {
// contains filtered or unexported fields
}
UserGetResponseValidationError is the validation error returned by UserGetResponse.Validate if the designated constraints aren't met.
func (UserGetResponseValidationError) Cause ¶
func (e UserGetResponseValidationError) Cause() error
Cause function returns cause value.
func (UserGetResponseValidationError) Error ¶
func (e UserGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UserGetResponseValidationError) ErrorName ¶
func (e UserGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UserGetResponseValidationError) Field ¶
func (e UserGetResponseValidationError) Field() string
Field function returns field value.
func (UserGetResponseValidationError) Key ¶
func (e UserGetResponseValidationError) Key() bool
Key function returns key value.
func (UserGetResponseValidationError) Reason ¶
func (e UserGetResponseValidationError) Reason() string
Reason function returns reason value.
type UserLoginRequest ¶
type UserLoginRequest struct { Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UserLoginRequest) Descriptor
deprecated
func (*UserLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.
func (*UserLoginRequest) GetNickname ¶
func (x *UserLoginRequest) GetNickname() string
func (*UserLoginRequest) GetPassword ¶
func (x *UserLoginRequest) GetPassword() string
func (*UserLoginRequest) ProtoMessage ¶
func (*UserLoginRequest) ProtoMessage()
func (*UserLoginRequest) ProtoReflect ¶
func (x *UserLoginRequest) ProtoReflect() protoreflect.Message
func (*UserLoginRequest) Reset ¶
func (x *UserLoginRequest) Reset()
func (*UserLoginRequest) String ¶
func (x *UserLoginRequest) String() string
func (*UserLoginRequest) Validate ¶
func (m *UserLoginRequest) Validate() error
Validate checks the field values on UserLoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserLoginRequest) ValidateAll ¶
func (m *UserLoginRequest) ValidateAll() error
ValidateAll checks the field values on UserLoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserLoginRequestMultiError, or nil if none found.
type UserLoginRequestMultiError ¶
type UserLoginRequestMultiError []error
UserLoginRequestMultiError is an error wrapping multiple validation errors returned by UserLoginRequest.ValidateAll() if the designated constraints aren't met.
func (UserLoginRequestMultiError) AllErrors ¶
func (m UserLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLoginRequestMultiError) Error ¶
func (m UserLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLoginRequestValidationError ¶
type UserLoginRequestValidationError struct {
// contains filtered or unexported fields
}
UserLoginRequestValidationError is the validation error returned by UserLoginRequest.Validate if the designated constraints aren't met.
func (UserLoginRequestValidationError) Cause ¶
func (e UserLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (UserLoginRequestValidationError) Error ¶
func (e UserLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserLoginRequestValidationError) ErrorName ¶
func (e UserLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserLoginRequestValidationError) Field ¶
func (e UserLoginRequestValidationError) Field() string
Field function returns field value.
func (UserLoginRequestValidationError) Key ¶
func (e UserLoginRequestValidationError) Key() bool
Key function returns key value.
func (UserLoginRequestValidationError) Reason ¶
func (e UserLoginRequestValidationError) Reason() string
Reason function returns reason value.
type UserLoginResponse ¶
type UserLoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*UserLoginResponse) Descriptor
deprecated
func (*UserLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginResponse.ProtoReflect.Descriptor instead.
func (*UserLoginResponse) GetToken ¶
func (x *UserLoginResponse) GetToken() string
func (*UserLoginResponse) ProtoMessage ¶
func (*UserLoginResponse) ProtoMessage()
func (*UserLoginResponse) ProtoReflect ¶
func (x *UserLoginResponse) ProtoReflect() protoreflect.Message
func (*UserLoginResponse) Reset ¶
func (x *UserLoginResponse) Reset()
func (*UserLoginResponse) String ¶
func (x *UserLoginResponse) String() string
func (*UserLoginResponse) Validate ¶
func (m *UserLoginResponse) Validate() error
Validate checks the field values on UserLoginResponse 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 (*UserLoginResponse) ValidateAll ¶
func (m *UserLoginResponse) ValidateAll() error
ValidateAll checks the field values on UserLoginResponse 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 UserLoginResponseMultiError, or nil if none found.
type UserLoginResponseMultiError ¶
type UserLoginResponseMultiError []error
UserLoginResponseMultiError is an error wrapping multiple validation errors returned by UserLoginResponse.ValidateAll() if the designated constraints aren't met.
func (UserLoginResponseMultiError) AllErrors ¶
func (m UserLoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserLoginResponseMultiError) Error ¶
func (m UserLoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserLoginResponseValidationError ¶
type UserLoginResponseValidationError struct {
// contains filtered or unexported fields
}
UserLoginResponseValidationError is the validation error returned by UserLoginResponse.Validate if the designated constraints aren't met.
func (UserLoginResponseValidationError) Cause ¶
func (e UserLoginResponseValidationError) Cause() error
Cause function returns cause value.
func (UserLoginResponseValidationError) Error ¶
func (e UserLoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UserLoginResponseValidationError) ErrorName ¶
func (e UserLoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UserLoginResponseValidationError) Field ¶
func (e UserLoginResponseValidationError) Field() string
Field function returns field value.
func (UserLoginResponseValidationError) Key ¶
func (e UserLoginResponseValidationError) Key() bool
Key function returns key value.
func (UserLoginResponseValidationError) Reason ¶
func (e UserLoginResponseValidationError) Reason() string
Reason function returns reason value.
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserQueryRequest ¶
type UserQueryRequest struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize uint64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*UserQueryRequest) Descriptor
deprecated
func (*UserQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserQueryRequest.ProtoReflect.Descriptor instead.
func (*UserQueryRequest) GetKeyword ¶
func (x *UserQueryRequest) GetKeyword() string
func (*UserQueryRequest) GetPage ¶
func (x *UserQueryRequest) GetPage() uint64
func (*UserQueryRequest) GetPageSize ¶
func (x *UserQueryRequest) GetPageSize() uint64
func (*UserQueryRequest) ProtoMessage ¶
func (*UserQueryRequest) ProtoMessage()
func (*UserQueryRequest) ProtoReflect ¶
func (x *UserQueryRequest) ProtoReflect() protoreflect.Message
func (*UserQueryRequest) Reset ¶
func (x *UserQueryRequest) Reset()
func (*UserQueryRequest) String ¶
func (x *UserQueryRequest) String() string
func (*UserQueryRequest) Validate ¶
func (m *UserQueryRequest) Validate() error
Validate checks the field values on UserQueryRequest 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 (*UserQueryRequest) ValidateAll ¶
func (m *UserQueryRequest) ValidateAll() error
ValidateAll checks the field values on UserQueryRequest 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 UserQueryRequestMultiError, or nil if none found.
type UserQueryRequestMultiError ¶
type UserQueryRequestMultiError []error
UserQueryRequestMultiError is an error wrapping multiple validation errors returned by UserQueryRequest.ValidateAll() if the designated constraints aren't met.
func (UserQueryRequestMultiError) AllErrors ¶
func (m UserQueryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserQueryRequestMultiError) Error ¶
func (m UserQueryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserQueryRequestValidationError ¶
type UserQueryRequestValidationError struct {
// contains filtered or unexported fields
}
UserQueryRequestValidationError is the validation error returned by UserQueryRequest.Validate if the designated constraints aren't met.
func (UserQueryRequestValidationError) Cause ¶
func (e UserQueryRequestValidationError) Cause() error
Cause function returns cause value.
func (UserQueryRequestValidationError) Error ¶
func (e UserQueryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserQueryRequestValidationError) ErrorName ¶
func (e UserQueryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserQueryRequestValidationError) Field ¶
func (e UserQueryRequestValidationError) Field() string
Field function returns field value.
func (UserQueryRequestValidationError) Key ¶
func (e UserQueryRequestValidationError) Key() bool
Key function returns key value.
func (UserQueryRequestValidationError) Reason ¶
func (e UserQueryRequestValidationError) Reason() string
Reason function returns reason value.
type UserQueryResponse ¶
type UserQueryResponse struct { Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"` User []*User `protobuf:"bytes,2,rep,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserQueryResponse) Descriptor
deprecated
func (*UserQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserQueryResponse.ProtoReflect.Descriptor instead.
func (*UserQueryResponse) GetPager ¶
func (x *UserQueryResponse) GetPager() *Pager
func (*UserQueryResponse) GetUser ¶
func (x *UserQueryResponse) GetUser() []*User
func (*UserQueryResponse) ProtoMessage ¶
func (*UserQueryResponse) ProtoMessage()
func (*UserQueryResponse) ProtoReflect ¶
func (x *UserQueryResponse) ProtoReflect() protoreflect.Message
func (*UserQueryResponse) Reset ¶
func (x *UserQueryResponse) Reset()
func (*UserQueryResponse) String ¶
func (x *UserQueryResponse) String() string
func (*UserQueryResponse) Validate ¶
func (m *UserQueryResponse) Validate() error
Validate checks the field values on UserQueryResponse 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 (*UserQueryResponse) ValidateAll ¶
func (m *UserQueryResponse) ValidateAll() error
ValidateAll checks the field values on UserQueryResponse 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 UserQueryResponseMultiError, or nil if none found.
type UserQueryResponseMultiError ¶
type UserQueryResponseMultiError []error
UserQueryResponseMultiError is an error wrapping multiple validation errors returned by UserQueryResponse.ValidateAll() if the designated constraints aren't met.
func (UserQueryResponseMultiError) AllErrors ¶
func (m UserQueryResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserQueryResponseMultiError) Error ¶
func (m UserQueryResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserQueryResponseValidationError ¶
type UserQueryResponseValidationError struct {
// contains filtered or unexported fields
}
UserQueryResponseValidationError is the validation error returned by UserQueryResponse.Validate if the designated constraints aren't met.
func (UserQueryResponseValidationError) Cause ¶
func (e UserQueryResponseValidationError) Cause() error
Cause function returns cause value.
func (UserQueryResponseValidationError) Error ¶
func (e UserQueryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UserQueryResponseValidationError) ErrorName ¶
func (e UserQueryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UserQueryResponseValidationError) Field ¶
func (e UserQueryResponseValidationError) Field() string
Field function returns field value.
func (UserQueryResponseValidationError) Key ¶
func (e UserQueryResponseValidationError) Key() bool
Key function returns key value.
func (UserQueryResponseValidationError) Reason ¶
func (e UserQueryResponseValidationError) Reason() string
Reason function returns reason value.
type UserServiceClient ¶
type UserServiceClient interface { CreateUser(ctx context.Context, in *UserCreateRequest, opts ...grpc.CallOption) (*UserCreateResponse, error) UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginResponse, error) GetUser(ctx context.Context, in *UserGetRequest, opts ...grpc.CallOption) (*UserGetResponse, error) QueryUser(ctx context.Context, in *UserQueryRequest, opts ...grpc.CallOption) (*UserQueryResponse, error) UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error) UpdateAvatar(ctx context.Context, in *UpdateAvatarRequest, opts ...grpc.CallOption) (*UpdateAvatarResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { CreateUser(context.Context, *UserCreateRequest) (*UserCreateResponse, error) UserLogin(context.Context, *UserLoginRequest) (*UserLoginResponse, error) GetUser(context.Context, *UserGetRequest) (*UserGetResponse, error) QueryUser(context.Context, *UserQueryRequest) (*UserQueryResponse, error) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*UpdateAvatarResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type VIDEO_FORMAT ¶
type VIDEO_FORMAT int32
视频格式
const ( VIDEO_FORMAT_MP4 VIDEO_FORMAT = 0 VIDEO_FORMAT_MOV VIDEO_FORMAT = 1 VIDEO_FORMAT_WMV VIDEO_FORMAT = 2 VIDEO_FORMAT_FLV VIDEO_FORMAT = 3 VIDEO_FORMAT_AVI VIDEO_FORMAT = 4 VIDEO_FORMAT_MKV VIDEO_FORMAT = 5 VIDEO_FORMAT_OTHER_VIDEO_FORMAT VIDEO_FORMAT = 255 )
func (VIDEO_FORMAT) Descriptor ¶
func (VIDEO_FORMAT) Descriptor() protoreflect.EnumDescriptor
func (VIDEO_FORMAT) Enum ¶
func (x VIDEO_FORMAT) Enum() *VIDEO_FORMAT
func (VIDEO_FORMAT) EnumDescriptor
deprecated
func (VIDEO_FORMAT) EnumDescriptor() ([]byte, []int)
Deprecated: Use VIDEO_FORMAT.Descriptor instead.
func (VIDEO_FORMAT) Number ¶
func (x VIDEO_FORMAT) Number() protoreflect.EnumNumber
func (VIDEO_FORMAT) String ¶
func (x VIDEO_FORMAT) String() string
func (VIDEO_FORMAT) Type ¶
func (VIDEO_FORMAT) Type() protoreflect.EnumType
type VideoMessage ¶
type VideoMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Seconds uint64 `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` ThumbUrl string `protobuf:"bytes,6,opt,name=thumb_url,json=thumbUrl,proto3" json:"thumb_url,omitempty"` ThumbSize uint64 `protobuf:"varint,7,opt,name=thumb_size,json=thumbSize,proto3" json:"thumb_size,omitempty"` ThumbWidth float64 `protobuf:"fixed64,8,opt,name=thumb_width,json=thumbWidth,proto3" json:"thumb_width,omitempty"` ThumbHeight float64 `protobuf:"fixed64,9,opt,name=thumb_height,json=thumbHeight,proto3" json:"thumb_height,omitempty"` ThumbFormat IMAGE_FORMAT `protobuf:"varint,10,opt,name=thumb_format,json=thumbFormat,proto3,enum=message.IMAGE_FORMAT" json:"thumb_format,omitempty"` // contains filtered or unexported fields }
视频消息
func (*VideoMessage) Descriptor
deprecated
func (*VideoMessage) Descriptor() ([]byte, []int)
Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead.
func (*VideoMessage) GetFormat ¶
func (x *VideoMessage) GetFormat() string
func (*VideoMessage) GetId ¶
func (x *VideoMessage) GetId() uint64
func (*VideoMessage) GetSeconds ¶
func (x *VideoMessage) GetSeconds() uint64
func (*VideoMessage) GetSize ¶
func (x *VideoMessage) GetSize() uint64
func (*VideoMessage) GetThumbFormat ¶
func (x *VideoMessage) GetThumbFormat() IMAGE_FORMAT
func (*VideoMessage) GetThumbHeight ¶
func (x *VideoMessage) GetThumbHeight() float64
func (*VideoMessage) GetThumbSize ¶
func (x *VideoMessage) GetThumbSize() uint64
func (*VideoMessage) GetThumbUrl ¶
func (x *VideoMessage) GetThumbUrl() string
func (*VideoMessage) GetThumbWidth ¶
func (x *VideoMessage) GetThumbWidth() float64
func (*VideoMessage) GetUrl ¶
func (x *VideoMessage) GetUrl() string
func (*VideoMessage) ProtoMessage ¶
func (*VideoMessage) ProtoMessage()
func (*VideoMessage) ProtoReflect ¶
func (x *VideoMessage) ProtoReflect() protoreflect.Message
func (*VideoMessage) Reset ¶
func (x *VideoMessage) Reset()
func (*VideoMessage) String ¶
func (x *VideoMessage) String() string
func (*VideoMessage) Validate ¶
func (m *VideoMessage) Validate() error
Validate checks the field values on VideoMessage 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 (*VideoMessage) ValidateAll ¶
func (m *VideoMessage) ValidateAll() error
ValidateAll checks the field values on VideoMessage 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 VideoMessageMultiError, or nil if none found.
type VideoMessageMultiError ¶
type VideoMessageMultiError []error
VideoMessageMultiError is an error wrapping multiple validation errors returned by VideoMessage.ValidateAll() if the designated constraints aren't met.
func (VideoMessageMultiError) AllErrors ¶
func (m VideoMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VideoMessageMultiError) Error ¶
func (m VideoMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VideoMessageValidationError ¶
type VideoMessageValidationError struct {
// contains filtered or unexported fields
}
VideoMessageValidationError is the validation error returned by VideoMessage.Validate if the designated constraints aren't met.
func (VideoMessageValidationError) Cause ¶
func (e VideoMessageValidationError) Cause() error
Cause function returns cause value.
func (VideoMessageValidationError) Error ¶
func (e VideoMessageValidationError) Error() string
Error satisfies the builtin error interface
func (VideoMessageValidationError) ErrorName ¶
func (e VideoMessageValidationError) ErrorName() string
ErrorName returns error name.
func (VideoMessageValidationError) Field ¶
func (e VideoMessageValidationError) Field() string
Field function returns field value.
func (VideoMessageValidationError) Key ¶
func (e VideoMessageValidationError) Key() bool
Key function returns key value.
func (VideoMessageValidationError) Reason ¶
func (e VideoMessageValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
- common.pb.go
- common.pb.gw.go
- common.pb.validate.go
- common_grpc.pb.go
- feed.pb.go
- feed.pb.gw.go
- feed.pb.validate.go
- feed_grpc.pb.go
- gateway.pb.go
- gateway.pb.gw.go
- gateway.pb.validate.go
- gateway_grpc.pb.go
- group.pb.go
- group.pb.gw.go
- group.pb.validate.go
- group_grpc.pb.go
- message.pb.go
- message.pb.gw.go
- message.pb.validate.go
- message_grpc.pb.go
- user.pb.go
- user.pb.gw.go
- user.pb.validate.go
- user_grpc.pb.go