Documentation ¶
Index ¶
- type Server
- func (s *Server) Authenticate(ctx context.Context, in *userspb.AuthenticateRequest) (*userspb.AuthenticateResponse, error)
- func (s *Server) CreateUser(ctx context.Context, in *userspb.CreateUserRequest) (*userspb.CreateUserResponse, error)
- func (s *Server) FollowUser(ctx context.Context, in *userspb.FollowUserRequest) (*userspb.EmptyData, error)
- func (s *Server) GetProfile(ctx context.Context, in *userspb.EmptyData) (*userspb.GetProfileResponse, error)
- func (s *Server) GetUser(ctx context.Context, in *userspb.GetUserRequest) (*userspb.GetUserResponse, error)
- func (s *Server) GetUserByID(ctx context.Context, in *userspb.GetUserByIDRequest) (*userspb.GetUserResponse, error)
- func (s *Server) GetUserFollowing(ctx context.Context, in *userspb.GetUserFollowingRequest) (*userspb.GetUserFollowingResponse, error)
- func (s *Server) GetUserProfile(ctx context.Context, in *userspb.GetProfileRequest) (*userspb.GetProfileResponse, error)
- func (s *Server) GetUsers(ctx context.Context, in *userspb.EmptyData) (*userspb.GetUsersResponse, error)
- func (s *Server) SayHello(ctx context.Context, in *userspb.PingMessage) (*userspb.PingMessage, error)
- func (s *Server) SetProfile(ctx context.Context, in *userspb.SetProfileRequest) (*userspb.GetProfileResponse, error)
- func (s *Server) UnFollowUser(ctx context.Context, in *userspb.FollowUserRequest) (*userspb.EmptyData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { userspb.UnimplementedUsersServiceServer Log *zlog.ZwitLogger }
func (*Server) Authenticate ¶
func (s *Server) Authenticate(ctx context.Context, in *userspb.AuthenticateRequest) (*userspb.AuthenticateResponse, error)
func (*Server) CreateUser ¶
func (s *Server) CreateUser(ctx context.Context, in *userspb.CreateUserRequest) (*userspb.CreateUserResponse, error)
func (*Server) FollowUser ¶
func (*Server) GetProfile ¶
func (*Server) GetUser ¶
func (s *Server) GetUser(ctx context.Context, in *userspb.GetUserRequest) (*userspb.GetUserResponse, error)
func (*Server) GetUserByID ¶
func (s *Server) GetUserByID(ctx context.Context, in *userspb.GetUserByIDRequest) (*userspb.GetUserResponse, error)
func (*Server) GetUserFollowing ¶
func (s *Server) GetUserFollowing(ctx context.Context, in *userspb.GetUserFollowingRequest) (*userspb.GetUserFollowingResponse, error)
func (*Server) GetUserProfile ¶
func (s *Server) GetUserProfile(ctx context.Context, in *userspb.GetProfileRequest) (*userspb.GetProfileResponse, error)
func (*Server) SayHello ¶
func (s *Server) SayHello(ctx context.Context, in *userspb.PingMessage) (*userspb.PingMessage, error)
func (*Server) SetProfile ¶
func (s *Server) SetProfile(ctx context.Context, in *userspb.SetProfileRequest) (*userspb.GetProfileResponse, error)
func (*Server) UnFollowUser ¶
Click to show internal directories.
Click to hide internal directories.