Documentation ¶
Index ¶
- func MakeAddSprintEndpoint(svc pb.SprintServiceServer) endpoint.Endpoint
- func MakeCloseSprintEndpoint(svc pb.SprintServiceServer) endpoint.Endpoint
- func MakeGetSprintEndpoint(svc pb.SprintServiceServer) endpoint.Endpoint
- type Endpoints
- func (e *Endpoints) AddSprint(ctx context.Context, in *pb.AddSprintRequest) (*pb.AddSprintResponse, error)
- func (e *Endpoints) CloseSprint(ctx context.Context, in *pb.CloseSprintRequest) (*pb.CloseSprintResponse, error)
- func (e *Endpoints) GetSprint(ctx context.Context, in *pb.GetSprintRequest) (*pb.GetSprintResponse, error)
- type StreamEndpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAddSprintEndpoint ¶
func MakeAddSprintEndpoint(svc pb.SprintServiceServer) endpoint.Endpoint
func MakeCloseSprintEndpoint ¶
func MakeCloseSprintEndpoint(svc pb.SprintServiceServer) endpoint.Endpoint
func MakeGetSprintEndpoint ¶
func MakeGetSprintEndpoint(svc pb.SprintServiceServer) endpoint.Endpoint
Types ¶
type Endpoints ¶
type Endpoints struct { AddSprintEndpoint endpoint.Endpoint CloseSprintEndpoint endpoint.Endpoint GetSprintEndpoint endpoint.Endpoint }
func MakeEndpoints ¶
func MakeEndpoints(svc pb.SprintServiceServer) Endpoints
func (*Endpoints) AddSprint ¶
func (e *Endpoints) AddSprint(ctx context.Context, in *pb.AddSprintRequest) (*pb.AddSprintResponse, error)
func (*Endpoints) CloseSprint ¶
func (e *Endpoints) CloseSprint(ctx context.Context, in *pb.CloseSprintRequest) (*pb.CloseSprintResponse, error)
func (*Endpoints) GetSprint ¶
func (e *Endpoints) GetSprint(ctx context.Context, in *pb.GetSprintRequest) (*pb.GetSprintResponse, error)
type StreamEndpoint ¶
type StreamEndpoint func(server interface{}, req interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.