Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeConcatEndpoint ¶
func MakeConcatEndpoint(s addservice.Service) endpoint.Endpoint
func MakeSumEndpoint ¶
func MakeSumEndpoint(s addservice.Service) endpoint.Endpoint
Types ¶
type ConcatRequest ¶
type ConcatRequest struct {
A, B string
}
type ConcatResponse ¶
func (ConcatResponse) Failed ¶
func (r ConcatResponse) Failed() error
type SumRequest ¶
type SumRequest struct {
A, B int
}
type SumResponse ¶
func (SumResponse) Failed ¶
func (r SumResponse) Failed() error
Click to show internal directories.
Click to hide internal directories.