Documentation ¶
Index ¶
- func RegisterServer(gRPC *grpc.Server, log *slog.Logger, repository *repository.Repository)
- type ServerAPI
- func (s *ServerAPI) AddHall(ctx context.Context, req *proto.AddHallRequest) (*proto.AddHallResponse, error)
- func (s *ServerAPI) AddSection(ctx context.Context, req *proto.AddSectionRequest) (*proto.AddSectionResponse, error)
- func (s *ServerAPI) DepartmentStore(ctx context.Context, req *proto.DepartmentStoreRequest) (*proto.DepartmentStoreResponse, error)
- func (s *ServerAPI) List(ctx context.Context, req *proto.ListRequest) (*proto.ListResponse, error)
- func (s *ServerAPI) Register(ctx context.Context, req *proto.RegisterRequest) (*proto.RegisterResponse, error)
- func (s *ServerAPI) TradingPoint(ctx context.Context, req *proto.TradingPointRequest) (*proto.TradingPointResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterServer ¶
func RegisterServer(gRPC *grpc.Server, log *slog.Logger, repository *repository.Repository)
Types ¶
type ServerAPI ¶
type ServerAPI struct { proto.UnimplementedTradingPointServiceServer // contains filtered or unexported fields }
func (*ServerAPI) AddHall ¶
func (s *ServerAPI) AddHall(ctx context.Context, req *proto.AddHallRequest) (*proto.AddHallResponse, error)
func (*ServerAPI) AddSection ¶
func (s *ServerAPI) AddSection(ctx context.Context, req *proto.AddSectionRequest) (*proto.AddSectionResponse, error)
func (*ServerAPI) DepartmentStore ¶
func (s *ServerAPI) DepartmentStore(ctx context.Context, req *proto.DepartmentStoreRequest) (*proto.DepartmentStoreResponse, error)
func (*ServerAPI) List ¶
func (s *ServerAPI) List(ctx context.Context, req *proto.ListRequest) (*proto.ListResponse, error)
func (*ServerAPI) Register ¶
func (s *ServerAPI) Register(ctx context.Context, req *proto.RegisterRequest) (*proto.RegisterResponse, error)
func (*ServerAPI) TradingPoint ¶
func (s *ServerAPI) TradingPoint(ctx context.Context, req *proto.TradingPointRequest) (*proto.TradingPointResponse, error)
Click to show internal directories.
Click to hide internal directories.