Documentation ¶
Overview ¶
Package server implements the gRPC server for the authentication service.
Index ¶
- type Server
- func (s *Server) CreateClient(ctx context.Context, req *pb.CreateClientRequest) (*pb.CreateClientResponse, error)
- func (s *Server) DeleteClient(ctx context.Context, req *pb.DeleteClientRequest) (*pb.DeleteClientResponse, error)
- func (s *Server) GetClient(ctx context.Context, req *pb.GetClientRequest) (*pb.GetClientResponse, error)
- func (s *Server) ListClients(ctx context.Context, req *pb.ListClientsRequest) (*pb.ListClientsResponse, error)
- func (s *Server) UpdateClient(ctx context.Context, req *pb.UpdateClientRequest) (*pb.UpdateClientResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server represents the gRPC server for authentication.
func (*Server) CreateClient ¶
func (s *Server) CreateClient(ctx context.Context, req *pb.CreateClientRequest) (*pb.CreateClientResponse, error)
func (*Server) DeleteClient ¶
func (s *Server) DeleteClient(ctx context.Context, req *pb.DeleteClientRequest) (*pb.DeleteClientResponse, error)
func (*Server) GetClient ¶
func (s *Server) GetClient(ctx context.Context, req *pb.GetClientRequest) (*pb.GetClientResponse, error)
func (*Server) ListClients ¶
func (s *Server) ListClients(ctx context.Context, req *pb.ListClientsRequest) (*pb.ListClientsResponse, error)
func (*Server) UpdateClient ¶
func (s *Server) UpdateClient(ctx context.Context, req *pb.UpdateClientRequest) (*pb.UpdateClientResponse, error)
Click to show internal directories.
Click to hide internal directories.