Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Port string pb.UnimplementedAuthServiceServer // contains filtered or unexported fields }
func NewGRPCServer ¶
func NewGRPCServer(config config.GRPC, authSvc app.AuthService) *Server
func (*Server) Auth ¶
func (srv *Server) Auth(ctx context.Context, req *pb.AuthPayload) (*pb.AuthResponse, error)
func (*Server) GracefulStop ¶
func (srv *Server) GracefulStop()
Click to show internal directories.
Click to hide internal directories.