Documentation ¶
Index ¶
- func BuildConcatbytesPayload(textConcatbytesA string, textConcatbytesB string) (*text.ConcatbytesPayload, error)
- func BuildConcatbytesfieldPayload(textConcatbytesfieldA string, textConcatbytesfieldB string) (*text.ConcatbytesfieldPayload, error)
- func BuildConcatstringfieldPayload(textConcatstringfieldA string, textConcatstringfieldB string) (*text.ConcatstringfieldPayload, error)
- func BuildConcatstringsPayload(textConcatstringsA string, textConcatstringsB string) (*text.ConcatstringsPayload, error)
- func ConcatbytesTextPath(a string, b string) string
- func ConcatbytesfieldTextPath(a string, b string) string
- func ConcatstringfieldTextPath(a string, b string) string
- func ConcatstringsTextPath(a string, b string) string
- func DecodeConcatbytesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeConcatbytesfieldResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeConcatstringfieldResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeConcatstringsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func NewConcatbytesfieldMyConcatenationOK(body []byte) *text.MyConcatenation
- func NewConcatstringfieldMyConcatenationOK(body string) *text.MyConcatenation
- type Client
- func (c *Client) BuildConcatbytesRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildConcatbytesfieldRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildConcatstringfieldRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildConcatstringsRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) Concatbytes() goa.Endpoint
- func (c *Client) Concatbytesfield() goa.Endpoint
- func (c *Client) Concatstringfield() goa.Endpoint
- func (c *Client) Concatstrings() goa.Endpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConcatbytesPayload ¶
func BuildConcatbytesPayload(textConcatbytesA string, textConcatbytesB string) (*text.ConcatbytesPayload, error)
BuildConcatbytesPayload builds the payload for the text concatbytes endpoint from CLI flags.
func BuildConcatbytesfieldPayload ¶
func BuildConcatbytesfieldPayload(textConcatbytesfieldA string, textConcatbytesfieldB string) (*text.ConcatbytesfieldPayload, error)
BuildConcatbytesfieldPayload builds the payload for the text concatbytesfield endpoint from CLI flags.
func BuildConcatstringfieldPayload ¶
func BuildConcatstringfieldPayload(textConcatstringfieldA string, textConcatstringfieldB string) (*text.ConcatstringfieldPayload, error)
BuildConcatstringfieldPayload builds the payload for the text concatstringfield endpoint from CLI flags.
func BuildConcatstringsPayload ¶
func BuildConcatstringsPayload(textConcatstringsA string, textConcatstringsB string) (*text.ConcatstringsPayload, error)
BuildConcatstringsPayload builds the payload for the text concatstrings endpoint from CLI flags.
func ConcatbytesTextPath ¶
ConcatbytesTextPath returns the URL path to the text service concatbytes HTTP endpoint.
func ConcatbytesfieldTextPath ¶
ConcatbytesfieldTextPath returns the URL path to the text service concatbytesfield HTTP endpoint.
func ConcatstringfieldTextPath ¶
ConcatstringfieldTextPath returns the URL path to the text service concatstringfield HTTP endpoint.
func ConcatstringsTextPath ¶
ConcatstringsTextPath returns the URL path to the text service concatstrings HTTP endpoint.
func DecodeConcatbytesResponse ¶
func DecodeConcatbytesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeConcatbytesResponse returns a decoder for responses returned by the text concatbytes endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeConcatbytesfieldResponse ¶
func DecodeConcatbytesfieldResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeConcatbytesfieldResponse returns a decoder for responses returned by the text concatbytesfield endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeConcatstringfieldResponse ¶
func DecodeConcatstringfieldResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeConcatstringfieldResponse returns a decoder for responses returned by the text concatstringfield endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeConcatstringsResponse ¶
func DecodeConcatstringsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeConcatstringsResponse returns a decoder for responses returned by the text concatstrings endpoint. restoreBody controls whether the response body should be restored after having been read.
func NewConcatbytesfieldMyConcatenationOK ¶
func NewConcatbytesfieldMyConcatenationOK(body []byte) *text.MyConcatenation
NewConcatbytesfieldMyConcatenationOK builds a "text" service "concatbytesfield" endpoint result from a HTTP "OK" response.
func NewConcatstringfieldMyConcatenationOK ¶
func NewConcatstringfieldMyConcatenationOK(body string) *text.MyConcatenation
NewConcatstringfieldMyConcatenationOK builds a "text" service "concatstringfield" endpoint result from a HTTP "OK" response.
Types ¶
type Client ¶
type Client struct { // Concatstrings Doer is the HTTP client used to make requests to the // concatstrings endpoint. ConcatstringsDoer goahttp.Doer // Concatbytes Doer is the HTTP client used to make requests to the concatbytes // endpoint. ConcatbytesDoer goahttp.Doer // Concatstringfield Doer is the HTTP client used to make requests to the // concatstringfield endpoint. ConcatstringfieldDoer goahttp.Doer // Concatbytesfield Doer is the HTTP client used to make requests to the // concatbytesfield endpoint. ConcatbytesfieldDoer goahttp.Doer // RestoreResponseBody controls whether the response bodies are reset after // decoding so they can be read again. RestoreResponseBody bool // contains filtered or unexported fields }
Client lists the text service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the text service servers.
func (*Client) BuildConcatbytesRequest ¶
BuildConcatbytesRequest instantiates a HTTP request object with method and path set to call the "text" service "concatbytes" endpoint
func (*Client) BuildConcatbytesfieldRequest ¶
func (c *Client) BuildConcatbytesfieldRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildConcatbytesfieldRequest instantiates a HTTP request object with method and path set to call the "text" service "concatbytesfield" endpoint
func (*Client) BuildConcatstringfieldRequest ¶
func (c *Client) BuildConcatstringfieldRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildConcatstringfieldRequest instantiates a HTTP request object with method and path set to call the "text" service "concatstringfield" endpoint
func (*Client) BuildConcatstringsRequest ¶
func (c *Client) BuildConcatstringsRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildConcatstringsRequest instantiates a HTTP request object with method and path set to call the "text" service "concatstrings" endpoint
func (*Client) Concatbytes ¶
Concatbytes returns an endpoint that makes HTTP requests to the text service concatbytes server.
func (*Client) Concatbytesfield ¶
Concatbytesfield returns an endpoint that makes HTTP requests to the text service concatbytesfield server.
func (*Client) Concatstringfield ¶
Concatstringfield returns an endpoint that makes HTTP requests to the text service concatstringfield server.
func (*Client) Concatstrings ¶
Concatstrings returns an endpoint that makes HTTP requests to the text service concatstrings server.