Documentation ¶
Index ¶
- func StartGrpc() error
- type Server
- func (v *Server) Authenticate(_ context.Context, in *proto.AuthRequest) (*proto.AuthReply, error)
- func (v *Server) GetFriendship(ctx context.Context, request *proto.FriendshipTwoSideLookupRequest) (*proto.FriendshipResponse, error)
- func (v *Server) ListFriendship(_ context.Context, request *proto.FriendshipLookupRequest) (*proto.ListFriendshipResponse, error)
- func (v *Server) NotifyUser(_ context.Context, in *proto.NotifyRequest) (*proto.NotifyReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { proto.UnimplementedAuthServer proto.UnimplementedNotifyServer proto.UnimplementedFriendshipsServer }
func (*Server) Authenticate ¶
func (*Server) GetFriendship ¶
func (v *Server) GetFriendship(ctx context.Context, request *proto.FriendshipTwoSideLookupRequest) (*proto.FriendshipResponse, error)
func (*Server) ListFriendship ¶
func (v *Server) ListFriendship(_ context.Context, request *proto.FriendshipLookupRequest) (*proto.ListFriendshipResponse, error)
func (*Server) NotifyUser ¶
func (v *Server) NotifyUser(_ context.Context, in *proto.NotifyRequest) (*proto.NotifyReply, error)
Click to show internal directories.
Click to hide internal directories.