Versions in this module Expand all Collapse all v0 v0.1.1 Mar 15, 2023 v0.1.0 Feb 15, 2023 Changes in this version + var File_pkg_proto_twitter_proto protoreflect.FileDescriptor + var Twitter_ServiceDesc = grpc.ServiceDesc + func RegisterTwitterServer(s grpc.ServiceRegistrar, srv TwitterServer) + type AddCommentRequest struct + Text string + TweetId int64 + UserId int64 + func (*AddCommentRequest) Descriptor() ([]byte, []int) + func (*AddCommentRequest) ProtoMessage() + func (m *AddCommentRequest) Validate() error + func (m *AddCommentRequest) ValidateAll() error + func (x *AddCommentRequest) GetText() string + func (x *AddCommentRequest) GetTweetId() int64 + func (x *AddCommentRequest) GetUserId() int64 + func (x *AddCommentRequest) ProtoReflect() protoreflect.Message + func (x *AddCommentRequest) Reset() + func (x *AddCommentRequest) String() string + type AddCommentRequestMultiError []error + func (m AddCommentRequestMultiError) AllErrors() []error + func (m AddCommentRequestMultiError) Error() string + type AddCommentRequestValidationError struct + func (e AddCommentRequestValidationError) Cause() error + func (e AddCommentRequestValidationError) Error() string + func (e AddCommentRequestValidationError) ErrorName() string + func (e AddCommentRequestValidationError) Field() string + func (e AddCommentRequestValidationError) Key() bool + func (e AddCommentRequestValidationError) Reason() string + type AddCommentResponse struct + CommentId int64 + func (*AddCommentResponse) Descriptor() ([]byte, []int) + func (*AddCommentResponse) ProtoMessage() + func (m *AddCommentResponse) Validate() error + func (m *AddCommentResponse) ValidateAll() error + func (x *AddCommentResponse) GetCommentId() int64 + func (x *AddCommentResponse) ProtoReflect() protoreflect.Message + func (x *AddCommentResponse) Reset() + func (x *AddCommentResponse) String() string + type AddCommentResponseMultiError []error + func (m AddCommentResponseMultiError) AllErrors() []error + func (m AddCommentResponseMultiError) Error() string + type AddCommentResponseValidationError struct + func (e AddCommentResponseValidationError) Cause() error + func (e AddCommentResponseValidationError) Error() string + func (e AddCommentResponseValidationError) ErrorName() string + func (e AddCommentResponseValidationError) Field() string + func (e AddCommentResponseValidationError) Key() bool + func (e AddCommentResponseValidationError) Reason() string + type AddTweetRequest struct + Text string + UserId int64 + func (*AddTweetRequest) Descriptor() ([]byte, []int) + func (*AddTweetRequest) ProtoMessage() + func (m *AddTweetRequest) Validate() error + func (m *AddTweetRequest) ValidateAll() error + func (x *AddTweetRequest) GetText() string + func (x *AddTweetRequest) GetUserId() int64 + func (x *AddTweetRequest) ProtoReflect() protoreflect.Message + func (x *AddTweetRequest) Reset() + func (x *AddTweetRequest) String() string + type AddTweetRequestMultiError []error + func (m AddTweetRequestMultiError) AllErrors() []error + func (m AddTweetRequestMultiError) Error() string + type AddTweetRequestValidationError struct + func (e AddTweetRequestValidationError) Cause() error + func (e AddTweetRequestValidationError) Error() string + func (e AddTweetRequestValidationError) ErrorName() string + func (e AddTweetRequestValidationError) Field() string + func (e AddTweetRequestValidationError) Key() bool + func (e AddTweetRequestValidationError) Reason() string + type AddTweetResponse struct + TweetId int64 + func (*AddTweetResponse) Descriptor() ([]byte, []int) + func (*AddTweetResponse) ProtoMessage() + func (m *AddTweetResponse) Validate() error + func (m *AddTweetResponse) ValidateAll() error + func (x *AddTweetResponse) GetTweetId() int64 + func (x *AddTweetResponse) ProtoReflect() protoreflect.Message + func (x *AddTweetResponse) Reset() + func (x *AddTweetResponse) String() string + type AddTweetResponseMultiError []error + func (m AddTweetResponseMultiError) AllErrors() []error + func (m AddTweetResponseMultiError) Error() string + type AddTweetResponseValidationError struct + func (e AddTweetResponseValidationError) Cause() error + func (e AddTweetResponseValidationError) Error() string + func (e AddTweetResponseValidationError) ErrorName() string + func (e AddTweetResponseValidationError) Field() string + func (e AddTweetResponseValidationError) Key() bool + func (e AddTweetResponseValidationError) Reason() string + type FollowRequest struct + NewFollowerId int64 + UserId int64 + func (*FollowRequest) Descriptor() ([]byte, []int) + func (*FollowRequest) ProtoMessage() + func (m *FollowRequest) Validate() error + func (m *FollowRequest) ValidateAll() error + func (x *FollowRequest) GetNewFollowerId() int64 + func (x *FollowRequest) GetUserId() int64 + func (x *FollowRequest) ProtoReflect() protoreflect.Message + func (x *FollowRequest) Reset() + func (x *FollowRequest) String() string + type FollowRequestMultiError []error + func (m FollowRequestMultiError) AllErrors() []error + func (m FollowRequestMultiError) Error() string + type FollowRequestValidationError struct + func (e FollowRequestValidationError) Cause() error + func (e FollowRequestValidationError) Error() string + func (e FollowRequestValidationError) ErrorName() string + func (e FollowRequestValidationError) Field() string + func (e FollowRequestValidationError) Key() bool + func (e FollowRequestValidationError) Reason() string + type FollowResponse struct + func (*FollowResponse) Descriptor() ([]byte, []int) + func (*FollowResponse) ProtoMessage() + func (m *FollowResponse) Validate() error + func (m *FollowResponse) ValidateAll() error + func (x *FollowResponse) ProtoReflect() protoreflect.Message + func (x *FollowResponse) Reset() + func (x *FollowResponse) String() string + type FollowResponseMultiError []error + func (m FollowResponseMultiError) AllErrors() []error + func (m FollowResponseMultiError) Error() string + type FollowResponseValidationError struct + func (e FollowResponseValidationError) Cause() error + func (e FollowResponseValidationError) Error() string + func (e FollowResponseValidationError) ErrorName() string + func (e FollowResponseValidationError) Field() string + func (e FollowResponseValidationError) Key() bool + func (e FollowResponseValidationError) Reason() string + type GetFollowersRequest struct + UserId int64 + func (*GetFollowersRequest) Descriptor() ([]byte, []int) + func (*GetFollowersRequest) ProtoMessage() + func (m *GetFollowersRequest) Validate() error + func (m *GetFollowersRequest) ValidateAll() error + func (x *GetFollowersRequest) GetUserId() int64 + func (x *GetFollowersRequest) ProtoReflect() protoreflect.Message + func (x *GetFollowersRequest) Reset() + func (x *GetFollowersRequest) String() string + type GetFollowersRequestMultiError []error + func (m GetFollowersRequestMultiError) AllErrors() []error + func (m GetFollowersRequestMultiError) Error() string + type GetFollowersRequestValidationError struct + func (e GetFollowersRequestValidationError) Cause() error + func (e GetFollowersRequestValidationError) Error() string + func (e GetFollowersRequestValidationError) ErrorName() string + func (e GetFollowersRequestValidationError) Field() string + func (e GetFollowersRequestValidationError) Key() bool + func (e GetFollowersRequestValidationError) Reason() string + type GetFollowersResponse struct + Users []*UserProfile + func (*GetFollowersResponse) Descriptor() ([]byte, []int) + func (*GetFollowersResponse) ProtoMessage() + func (m *GetFollowersResponse) Validate() error + func (m *GetFollowersResponse) ValidateAll() error + func (x *GetFollowersResponse) GetUsers() []*UserProfile + func (x *GetFollowersResponse) ProtoReflect() protoreflect.Message + func (x *GetFollowersResponse) Reset() + func (x *GetFollowersResponse) String() string + type GetFollowersResponseMultiError []error + func (m GetFollowersResponseMultiError) AllErrors() []error + func (m GetFollowersResponseMultiError) Error() string + type GetFollowersResponseValidationError struct + func (e GetFollowersResponseValidationError) Cause() error + func (e GetFollowersResponseValidationError) Error() string + func (e GetFollowersResponseValidationError) ErrorName() string + func (e GetFollowersResponseValidationError) Field() string + func (e GetFollowersResponseValidationError) Key() bool + func (e GetFollowersResponseValidationError) Reason() string + type GetFollowingRequest struct + UserId int64 + func (*GetFollowingRequest) Descriptor() ([]byte, []int) + func (*GetFollowingRequest) ProtoMessage() + func (m *GetFollowingRequest) Validate() error + func (m *GetFollowingRequest) ValidateAll() error + func (x *GetFollowingRequest) GetUserId() int64 + func (x *GetFollowingRequest) ProtoReflect() protoreflect.Message + func (x *GetFollowingRequest) Reset() + func (x *GetFollowingRequest) String() string + type GetFollowingRequestMultiError []error + func (m GetFollowingRequestMultiError) AllErrors() []error + func (m GetFollowingRequestMultiError) Error() string + type GetFollowingRequestValidationError struct + func (e GetFollowingRequestValidationError) Cause() error + func (e GetFollowingRequestValidationError) Error() string + func (e GetFollowingRequestValidationError) ErrorName() string + func (e GetFollowingRequestValidationError) Field() string + func (e GetFollowingRequestValidationError) Key() bool + func (e GetFollowingRequestValidationError) Reason() string + type GetFollowingResponse struct + Users []*UserProfile + func (*GetFollowingResponse) Descriptor() ([]byte, []int) + func (*GetFollowingResponse) ProtoMessage() + func (m *GetFollowingResponse) Validate() error + func (m *GetFollowingResponse) ValidateAll() error + func (x *GetFollowingResponse) GetUsers() []*UserProfile + func (x *GetFollowingResponse) ProtoReflect() protoreflect.Message + func (x *GetFollowingResponse) Reset() + func (x *GetFollowingResponse) String() string + type GetFollowingResponseMultiError []error + func (m GetFollowingResponseMultiError) AllErrors() []error + func (m GetFollowingResponseMultiError) Error() string + type GetFollowingResponseValidationError struct + func (e GetFollowingResponseValidationError) Cause() error + func (e GetFollowingResponseValidationError) Error() string + func (e GetFollowingResponseValidationError) ErrorName() string + func (e GetFollowingResponseValidationError) Field() string + func (e GetFollowingResponseValidationError) Key() bool + func (e GetFollowingResponseValidationError) Reason() string + type GetNewsFeedRequest struct + Limit int64 + Offset int64 + UserId int64 + func (*GetNewsFeedRequest) Descriptor() ([]byte, []int) + func (*GetNewsFeedRequest) ProtoMessage() + func (m *GetNewsFeedRequest) Validate() error + func (m *GetNewsFeedRequest) ValidateAll() error + func (x *GetNewsFeedRequest) GetLimit() int64 + func (x *GetNewsFeedRequest) GetOffset() int64 + func (x *GetNewsFeedRequest) GetUserId() int64 + func (x *GetNewsFeedRequest) ProtoReflect() protoreflect.Message + func (x *GetNewsFeedRequest) Reset() + func (x *GetNewsFeedRequest) String() string + type GetNewsFeedRequestMultiError []error + func (m GetNewsFeedRequestMultiError) AllErrors() []error + func (m GetNewsFeedRequestMultiError) Error() string + type GetNewsFeedRequestValidationError struct + func (e GetNewsFeedRequestValidationError) Cause() error + func (e GetNewsFeedRequestValidationError) Error() string + func (e GetNewsFeedRequestValidationError) ErrorName() string + func (e GetNewsFeedRequestValidationError) Field() string + func (e GetNewsFeedRequestValidationError) Key() bool + func (e GetNewsFeedRequestValidationError) Reason() string + type GetNewsFeedResponse struct + Tweets []string + func (*GetNewsFeedResponse) Descriptor() ([]byte, []int) + func (*GetNewsFeedResponse) ProtoMessage() + func (m *GetNewsFeedResponse) Validate() error + func (m *GetNewsFeedResponse) ValidateAll() error + func (x *GetNewsFeedResponse) GetTweets() []string + func (x *GetNewsFeedResponse) ProtoReflect() protoreflect.Message + func (x *GetNewsFeedResponse) Reset() + func (x *GetNewsFeedResponse) String() string + type GetNewsFeedResponseMultiError []error + func (m GetNewsFeedResponseMultiError) AllErrors() []error + func (m GetNewsFeedResponseMultiError) Error() string + type GetNewsFeedResponseValidationError struct + func (e GetNewsFeedResponseValidationError) Cause() error + func (e GetNewsFeedResponseValidationError) Error() string + func (e GetNewsFeedResponseValidationError) ErrorName() string + func (e GetNewsFeedResponseValidationError) Field() string + func (e GetNewsFeedResponseValidationError) Key() bool + func (e GetNewsFeedResponseValidationError) Reason() string + type LoginRequest struct + Email string + func (*LoginRequest) Descriptor() ([]byte, []int) + func (*LoginRequest) ProtoMessage() + func (m *LoginRequest) Validate() error + func (m *LoginRequest) ValidateAll() error + func (x *LoginRequest) GetEmail() string + func (x *LoginRequest) ProtoReflect() protoreflect.Message + func (x *LoginRequest) Reset() + func (x *LoginRequest) String() string + type LoginRequestMultiError []error + func (m LoginRequestMultiError) AllErrors() []error + func (m LoginRequestMultiError) Error() string + type LoginRequestValidationError struct + func (e LoginRequestValidationError) Cause() error + func (e LoginRequestValidationError) Error() string + func (e LoginRequestValidationError) ErrorName() string + func (e LoginRequestValidationError) Field() string + func (e LoginRequestValidationError) Key() bool + func (e LoginRequestValidationError) Reason() string + type LoginResponse struct + UserId int64 + UserProfile *UserProfile + func (*LoginResponse) Descriptor() ([]byte, []int) + func (*LoginResponse) ProtoMessage() + func (m *LoginResponse) Validate() error + func (m *LoginResponse) ValidateAll() error + func (x *LoginResponse) GetUserId() int64 + func (x *LoginResponse) GetUserProfile() *UserProfile + func (x *LoginResponse) ProtoReflect() protoreflect.Message + func (x *LoginResponse) Reset() + func (x *LoginResponse) String() string + type LoginResponseMultiError []error + func (m LoginResponseMultiError) AllErrors() []error + func (m LoginResponseMultiError) Error() string + type LoginResponseValidationError struct + func (e LoginResponseValidationError) Cause() error + func (e LoginResponseValidationError) Error() string + func (e LoginResponseValidationError) ErrorName() string + func (e LoginResponseValidationError) Field() string + func (e LoginResponseValidationError) Key() bool + func (e LoginResponseValidationError) Reason() string + type RecommendUsersRequest struct + UserId int64 + func (*RecommendUsersRequest) Descriptor() ([]byte, []int) + func (*RecommendUsersRequest) ProtoMessage() + func (m *RecommendUsersRequest) Validate() error + func (m *RecommendUsersRequest) ValidateAll() error + func (x *RecommendUsersRequest) GetUserId() int64 + func (x *RecommendUsersRequest) ProtoReflect() protoreflect.Message + func (x *RecommendUsersRequest) Reset() + func (x *RecommendUsersRequest) String() string + type RecommendUsersRequestMultiError []error + func (m RecommendUsersRequestMultiError) AllErrors() []error + func (m RecommendUsersRequestMultiError) Error() string + type RecommendUsersRequestValidationError struct + func (e RecommendUsersRequestValidationError) Cause() error + func (e RecommendUsersRequestValidationError) Error() string + func (e RecommendUsersRequestValidationError) ErrorName() string + func (e RecommendUsersRequestValidationError) Field() string + func (e RecommendUsersRequestValidationError) Key() bool + func (e RecommendUsersRequestValidationError) Reason() string + type RecommendUsersResponse struct + Users []*UserProfile + func (*RecommendUsersResponse) Descriptor() ([]byte, []int) + func (*RecommendUsersResponse) ProtoMessage() + func (m *RecommendUsersResponse) Validate() error + func (m *RecommendUsersResponse) ValidateAll() error + func (x *RecommendUsersResponse) GetUsers() []*UserProfile + func (x *RecommendUsersResponse) ProtoReflect() protoreflect.Message + func (x *RecommendUsersResponse) Reset() + func (x *RecommendUsersResponse) String() string + type RecommendUsersResponseMultiError []error + func (m RecommendUsersResponseMultiError) AllErrors() []error + func (m RecommendUsersResponseMultiError) Error() string + type RecommendUsersResponseValidationError struct + func (e RecommendUsersResponseValidationError) Cause() error + func (e RecommendUsersResponseValidationError) Error() string + func (e RecommendUsersResponseValidationError) ErrorName() string + func (e RecommendUsersResponseValidationError) Field() string + func (e RecommendUsersResponseValidationError) Key() bool + func (e RecommendUsersResponseValidationError) Reason() string + type RegisterRequest struct + User *UserProfile + func (*RegisterRequest) Descriptor() ([]byte, []int) + func (*RegisterRequest) ProtoMessage() + func (m *RegisterRequest) Validate() error + func (m *RegisterRequest) ValidateAll() error + func (x *RegisterRequest) GetUser() *UserProfile + func (x *RegisterRequest) ProtoReflect() protoreflect.Message + func (x *RegisterRequest) Reset() + func (x *RegisterRequest) String() string + type RegisterRequestMultiError []error + func (m RegisterRequestMultiError) AllErrors() []error + func (m RegisterRequestMultiError) Error() string + type RegisterRequestValidationError struct + 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 struct + UserId int64 + func (*RegisterResponse) Descriptor() ([]byte, []int) + func (*RegisterResponse) ProtoMessage() + func (m *RegisterResponse) Validate() error + func (m *RegisterResponse) ValidateAll() error + func (x *RegisterResponse) GetUserId() int64 + func (x *RegisterResponse) ProtoReflect() protoreflect.Message + func (x *RegisterResponse) Reset() + func (x *RegisterResponse) String() string + type RegisterResponseMultiError []error + func (m RegisterResponseMultiError) AllErrors() []error + func (m RegisterResponseMultiError) Error() string + type RegisterResponseValidationError struct + 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 TwitterClient interface + AddComment func(ctx context.Context, in *AddCommentRequest, opts ...grpc.CallOption) (*AddCommentResponse, error) + AddTweet func(ctx context.Context, in *AddTweetRequest, opts ...grpc.CallOption) (*AddTweetResponse, error) + Follow func(ctx context.Context, in *FollowRequest, opts ...grpc.CallOption) (*FollowResponse, error) + GetFollowers func(ctx context.Context, in *GetFollowersRequest, opts ...grpc.CallOption) (*GetFollowersResponse, error) + GetFollowing func(ctx context.Context, in *GetFollowingRequest, opts ...grpc.CallOption) (*GetFollowingResponse, error) + GetNewsFeed func(ctx context.Context, in *GetNewsFeedRequest, opts ...grpc.CallOption) (*GetNewsFeedResponse, error) + Login func(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) + RecommendUsers func(ctx context.Context, in *RecommendUsersRequest, opts ...grpc.CallOption) (*RecommendUsersResponse, error) + Register func(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + Unfollow func(ctx context.Context, in *UnfollowRequest, opts ...grpc.CallOption) (*UnfollowResponse, error) + UpdateCaption func(ctx context.Context, in *UpdateCaptionRequest, opts ...grpc.CallOption) (*UpdateCaptionResponse, error) + UpdateComment func(ctx context.Context, in *UpdateCommentRequest, opts ...grpc.CallOption) (*UpdateCommentResponse, error) + UpdateTweet func(ctx context.Context, in *UpdateTweetRequest, opts ...grpc.CallOption) (*UpdateTweetResponse, error) + func NewTwitterClient(cc grpc.ClientConnInterface) TwitterClient + type TwitterServer interface + AddComment func(context.Context, *AddCommentRequest) (*AddCommentResponse, error) + AddTweet func(context.Context, *AddTweetRequest) (*AddTweetResponse, error) + Follow func(context.Context, *FollowRequest) (*FollowResponse, error) + GetFollowers func(context.Context, *GetFollowersRequest) (*GetFollowersResponse, error) + GetFollowing func(context.Context, *GetFollowingRequest) (*GetFollowingResponse, error) + GetNewsFeed func(context.Context, *GetNewsFeedRequest) (*GetNewsFeedResponse, error) + Login func(context.Context, *LoginRequest) (*LoginResponse, error) + RecommendUsers func(context.Context, *RecommendUsersRequest) (*RecommendUsersResponse, error) + Register func(context.Context, *RegisterRequest) (*RegisterResponse, error) + Unfollow func(context.Context, *UnfollowRequest) (*UnfollowResponse, error) + UpdateCaption func(context.Context, *UpdateCaptionRequest) (*UpdateCaptionResponse, error) + UpdateComment func(context.Context, *UpdateCommentRequest) (*UpdateCommentResponse, error) + UpdateTweet func(context.Context, *UpdateTweetRequest) (*UpdateTweetResponse, error) + type UnfollowRequest struct + OldFollowerId int64 + UserId int64 + func (*UnfollowRequest) Descriptor() ([]byte, []int) + func (*UnfollowRequest) ProtoMessage() + func (m *UnfollowRequest) Validate() error + func (m *UnfollowRequest) ValidateAll() error + func (x *UnfollowRequest) GetOldFollowerId() int64 + func (x *UnfollowRequest) GetUserId() int64 + func (x *UnfollowRequest) ProtoReflect() protoreflect.Message + func (x *UnfollowRequest) Reset() + func (x *UnfollowRequest) String() string + type UnfollowRequestMultiError []error + func (m UnfollowRequestMultiError) AllErrors() []error + func (m UnfollowRequestMultiError) Error() string + type UnfollowRequestValidationError struct + func (e UnfollowRequestValidationError) Cause() error + func (e UnfollowRequestValidationError) Error() string + func (e UnfollowRequestValidationError) ErrorName() string + func (e UnfollowRequestValidationError) Field() string + func (e UnfollowRequestValidationError) Key() bool + func (e UnfollowRequestValidationError) Reason() string + type UnfollowResponse struct + func (*UnfollowResponse) Descriptor() ([]byte, []int) + func (*UnfollowResponse) ProtoMessage() + func (m *UnfollowResponse) Validate() error + func (m *UnfollowResponse) ValidateAll() error + func (x *UnfollowResponse) ProtoReflect() protoreflect.Message + func (x *UnfollowResponse) Reset() + func (x *UnfollowResponse) String() string + type UnfollowResponseMultiError []error + func (m UnfollowResponseMultiError) AllErrors() []error + func (m UnfollowResponseMultiError) Error() string + type UnfollowResponseValidationError struct + func (e UnfollowResponseValidationError) Cause() error + func (e UnfollowResponseValidationError) Error() string + func (e UnfollowResponseValidationError) ErrorName() string + func (e UnfollowResponseValidationError) Field() string + func (e UnfollowResponseValidationError) Key() bool + func (e UnfollowResponseValidationError) Reason() string + type UnimplementedTwitterServer struct + func (UnimplementedTwitterServer) AddComment(context.Context, *AddCommentRequest) (*AddCommentResponse, error) + func (UnimplementedTwitterServer) AddTweet(context.Context, *AddTweetRequest) (*AddTweetResponse, error) + func (UnimplementedTwitterServer) Follow(context.Context, *FollowRequest) (*FollowResponse, error) + func (UnimplementedTwitterServer) GetFollowers(context.Context, *GetFollowersRequest) (*GetFollowersResponse, error) + func (UnimplementedTwitterServer) GetFollowing(context.Context, *GetFollowingRequest) (*GetFollowingResponse, error) + func (UnimplementedTwitterServer) GetNewsFeed(context.Context, *GetNewsFeedRequest) (*GetNewsFeedResponse, error) + func (UnimplementedTwitterServer) Login(context.Context, *LoginRequest) (*LoginResponse, error) + func (UnimplementedTwitterServer) RecommendUsers(context.Context, *RecommendUsersRequest) (*RecommendUsersResponse, error) + func (UnimplementedTwitterServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) + func (UnimplementedTwitterServer) Unfollow(context.Context, *UnfollowRequest) (*UnfollowResponse, error) + func (UnimplementedTwitterServer) UpdateCaption(context.Context, *UpdateCaptionRequest) (*UpdateCaptionResponse, error) + func (UnimplementedTwitterServer) UpdateComment(context.Context, *UpdateCommentRequest) (*UpdateCommentResponse, error) + func (UnimplementedTwitterServer) UpdateTweet(context.Context, *UpdateTweetRequest) (*UpdateTweetResponse, error) + type UnsafeTwitterServer interface + type UpdateCaptionRequest struct + NewCaption string + UserId int64 + func (*UpdateCaptionRequest) Descriptor() ([]byte, []int) + func (*UpdateCaptionRequest) ProtoMessage() + func (m *UpdateCaptionRequest) Validate() error + func (m *UpdateCaptionRequest) ValidateAll() error + func (x *UpdateCaptionRequest) GetNewCaption() string + func (x *UpdateCaptionRequest) GetUserId() int64 + func (x *UpdateCaptionRequest) ProtoReflect() protoreflect.Message + func (x *UpdateCaptionRequest) Reset() + func (x *UpdateCaptionRequest) String() string + type UpdateCaptionRequestMultiError []error + func (m UpdateCaptionRequestMultiError) AllErrors() []error + func (m UpdateCaptionRequestMultiError) Error() string + type UpdateCaptionRequestValidationError struct + func (e UpdateCaptionRequestValidationError) Cause() error + func (e UpdateCaptionRequestValidationError) Error() string + func (e UpdateCaptionRequestValidationError) ErrorName() string + func (e UpdateCaptionRequestValidationError) Field() string + func (e UpdateCaptionRequestValidationError) Key() bool + func (e UpdateCaptionRequestValidationError) Reason() string + type UpdateCaptionResponse struct + func (*UpdateCaptionResponse) Descriptor() ([]byte, []int) + func (*UpdateCaptionResponse) ProtoMessage() + func (m *UpdateCaptionResponse) Validate() error + func (m *UpdateCaptionResponse) ValidateAll() error + func (x *UpdateCaptionResponse) ProtoReflect() protoreflect.Message + func (x *UpdateCaptionResponse) Reset() + func (x *UpdateCaptionResponse) String() string + type UpdateCaptionResponseMultiError []error + func (m UpdateCaptionResponseMultiError) AllErrors() []error + func (m UpdateCaptionResponseMultiError) Error() string + type UpdateCaptionResponseValidationError struct + func (e UpdateCaptionResponseValidationError) Cause() error + func (e UpdateCaptionResponseValidationError) Error() string + func (e UpdateCaptionResponseValidationError) ErrorName() string + func (e UpdateCaptionResponseValidationError) Field() string + func (e UpdateCaptionResponseValidationError) Key() bool + func (e UpdateCaptionResponseValidationError) Reason() string + type UpdateCommentRequest struct + CommentId int64 + NewText string + UserId int64 + func (*UpdateCommentRequest) Descriptor() ([]byte, []int) + func (*UpdateCommentRequest) ProtoMessage() + func (m *UpdateCommentRequest) Validate() error + func (m *UpdateCommentRequest) ValidateAll() error + func (x *UpdateCommentRequest) GetCommentId() int64 + func (x *UpdateCommentRequest) GetNewText() string + func (x *UpdateCommentRequest) GetUserId() int64 + func (x *UpdateCommentRequest) ProtoReflect() protoreflect.Message + func (x *UpdateCommentRequest) Reset() + func (x *UpdateCommentRequest) String() string + type UpdateCommentRequestMultiError []error + func (m UpdateCommentRequestMultiError) AllErrors() []error + func (m UpdateCommentRequestMultiError) Error() string + type UpdateCommentRequestValidationError struct + func (e UpdateCommentRequestValidationError) Cause() error + func (e UpdateCommentRequestValidationError) Error() string + func (e UpdateCommentRequestValidationError) ErrorName() string + func (e UpdateCommentRequestValidationError) Field() string + func (e UpdateCommentRequestValidationError) Key() bool + func (e UpdateCommentRequestValidationError) Reason() string + type UpdateCommentResponse struct + func (*UpdateCommentResponse) Descriptor() ([]byte, []int) + func (*UpdateCommentResponse) ProtoMessage() + func (m *UpdateCommentResponse) Validate() error + func (m *UpdateCommentResponse) ValidateAll() error + func (x *UpdateCommentResponse) ProtoReflect() protoreflect.Message + func (x *UpdateCommentResponse) Reset() + func (x *UpdateCommentResponse) String() string + type UpdateCommentResponseMultiError []error + func (m UpdateCommentResponseMultiError) AllErrors() []error + func (m UpdateCommentResponseMultiError) Error() string + type UpdateCommentResponseValidationError struct + func (e UpdateCommentResponseValidationError) Cause() error + func (e UpdateCommentResponseValidationError) Error() string + func (e UpdateCommentResponseValidationError) ErrorName() string + func (e UpdateCommentResponseValidationError) Field() string + func (e UpdateCommentResponseValidationError) Key() bool + func (e UpdateCommentResponseValidationError) Reason() string + type UpdateTweetRequest struct + NewText string + TweetId int64 + UserId int64 + func (*UpdateTweetRequest) Descriptor() ([]byte, []int) + func (*UpdateTweetRequest) ProtoMessage() + func (m *UpdateTweetRequest) Validate() error + func (m *UpdateTweetRequest) ValidateAll() error + func (x *UpdateTweetRequest) GetNewText() string + func (x *UpdateTweetRequest) GetTweetId() int64 + func (x *UpdateTweetRequest) GetUserId() int64 + func (x *UpdateTweetRequest) ProtoReflect() protoreflect.Message + func (x *UpdateTweetRequest) Reset() + func (x *UpdateTweetRequest) String() string + type UpdateTweetRequestMultiError []error + func (m UpdateTweetRequestMultiError) AllErrors() []error + func (m UpdateTweetRequestMultiError) Error() string + type UpdateTweetRequestValidationError struct + func (e UpdateTweetRequestValidationError) Cause() error + func (e UpdateTweetRequestValidationError) Error() string + func (e UpdateTweetRequestValidationError) ErrorName() string + func (e UpdateTweetRequestValidationError) Field() string + func (e UpdateTweetRequestValidationError) Key() bool + func (e UpdateTweetRequestValidationError) Reason() string + type UpdateTweetResponse struct + func (*UpdateTweetResponse) Descriptor() ([]byte, []int) + func (*UpdateTweetResponse) ProtoMessage() + func (m *UpdateTweetResponse) Validate() error + func (m *UpdateTweetResponse) ValidateAll() error + func (x *UpdateTweetResponse) ProtoReflect() protoreflect.Message + func (x *UpdateTweetResponse) Reset() + func (x *UpdateTweetResponse) String() string + type UpdateTweetResponseMultiError []error + func (m UpdateTweetResponseMultiError) AllErrors() []error + func (m UpdateTweetResponseMultiError) Error() string + type UpdateTweetResponseValidationError struct + func (e UpdateTweetResponseValidationError) Cause() error + func (e UpdateTweetResponseValidationError) Error() string + func (e UpdateTweetResponseValidationError) ErrorName() string + func (e UpdateTweetResponseValidationError) Field() string + func (e UpdateTweetResponseValidationError) Key() bool + func (e UpdateTweetResponseValidationError) Reason() string + type UserProfile struct + Caption string + DateOfBirth *timestamppb.Timestamp + Email string + FullName string + func (*UserProfile) Descriptor() ([]byte, []int) + func (*UserProfile) ProtoMessage() + func (m *UserProfile) Validate() error + func (m *UserProfile) ValidateAll() error + func (x *UserProfile) GetCaption() string + func (x *UserProfile) GetDateOfBirth() *timestamppb.Timestamp + func (x *UserProfile) GetEmail() string + func (x *UserProfile) GetFullName() string + func (x *UserProfile) ProtoReflect() protoreflect.Message + func (x *UserProfile) Reset() + func (x *UserProfile) String() string + type UserProfileMultiError []error + func (m UserProfileMultiError) AllErrors() []error + func (m UserProfileMultiError) Error() string + type UserProfileValidationError struct + func (e UserProfileValidationError) Cause() error + func (e UserProfileValidationError) Error() string + func (e UserProfileValidationError) ErrorName() string + func (e UserProfileValidationError) Field() string + func (e UserProfileValidationError) Key() bool + func (e UserProfileValidationError) Reason() string