Versions in this module Expand all Collapse all v1 v1.9.2 Oct 22, 2019 v1.9.1 Oct 22, 2019 Changes in this version + func GetSwagger() (*openapi3.Swagger, error) + func NewGetBothRequest(server string) (*http.Request, error) + func NewGetJsonRequest(server string) (*http.Request, error) + func NewGetOtherRequest(server string) (*http.Request, error) + func NewPostBothRequest(server string, body PostBothJSONRequestBody) (*http.Request, error) + func NewPostBothRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostJsonRequest(server string, body PostJsonJSONRequestBody) (*http.Request, error) + func NewPostJsonRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPostOtherRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func ParsegetBothResponse(rsp *http.Response) (*getBothResponse, error) + func ParsegetJsonResponse(rsp *http.Response) (*getJsonResponse, error) + func ParsegetOtherResponse(rsp *http.Response) (*getOtherResponse, error) + func ParsepostBothResponse(rsp *http.Response) (*postBothResponse, error) + func ParsepostJsonResponse(rsp *http.Response) (*postJsonResponse, error) + func ParsepostOtherResponse(rsp *http.Response) (*postOtherResponse, error) + func RegisterHandlers(router runtime.EchoRouter, si ServerInterface) + type Client struct + Client *http.Client + Interceptors []Interceptor + RequestCompletion RequestCompletionFn + RequestEditor RequestEditorFn + Server string + func NewClient(ctx context.Context, opts ...Option) (*Client, error) + func (c *Client) GetBoth(ctx context.Context) (*http.Response, error) + func (c *Client) GetJson(ctx context.Context) (*http.Response, error) + func (c *Client) GetOther(ctx context.Context) (*http.Response, error) + func (c *Client) Intercept(req *http.Request, ctx context.Context) error + func (c *Client) PostBoth(ctx context.Context, body PostBothJSONRequestBody) (*http.Response, error) + func (c *Client) PostBothWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) + func (c *Client) PostJson(ctx context.Context, body PostJsonJSONRequestBody) (*http.Response, error) + func (c *Client) PostJsonWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) + func (c *Client) PostOtherWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) + type ClientInterface interface + GetBoth func(ctx context.Context) (*http.Response, error) + GetJson func(ctx context.Context) (*http.Response, error) + GetOther func(ctx context.Context) (*http.Response, error) + Intercept func(req *http.Request, ctx context.Context) error + PostBoth func(ctx context.Context, body PostBothJSONRequestBody) (*http.Response, error) + PostBothWithBody func(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) + PostJson func(ctx context.Context, body PostJsonJSONRequestBody) (*http.Response, error) + PostJsonWithBody func(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) + PostOtherWithBody func(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) + type ClientWithResponses struct + func NewClientWithResponses(server string) *ClientWithResponses + func NewClientWithResponsesAndRequestEditorFunc(server string, reqEditorFn RequestEditorFn) *ClientWithResponses + func (c *ClientWithResponses) GetBothWithResponse(ctx context.Context) (*getBothResponse, error) + func (c *ClientWithResponses) GetJsonWithResponse(ctx context.Context) (*getJsonResponse, error) + func (c *ClientWithResponses) GetOtherWithResponse(ctx context.Context) (*getOtherResponse, error) + func (c *ClientWithResponses) PostBothWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*postBothResponse, error) + func (c *ClientWithResponses) PostBothWithResponse(ctx context.Context, body PostBothJSONRequestBody) (*postBothResponse, error) + func (c *ClientWithResponses) PostJsonWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*postJsonResponse, error) + func (c *ClientWithResponses) PostJsonWithResponse(ctx context.Context, body PostJsonJSONRequestBody) (*postJsonResponse, error) + func (c *ClientWithResponses) PostOtherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*postOtherResponse, error) + type Interceptor interface + Intercept func(req *http.Request, ctx context.Context) error + type InterceptorFn func(req *http.Request, ctx context.Context) error + func (f InterceptorFn) Intercept(req *http.Request, ctx context.Context) error + type Option func(*Client) error + func WithBaseURL(baseURL string) Option + func WithHTTPClient(httpClient *http.Client) Option + func WithIdleTimeout(timeout time.Duration) Option + func WithInterceptors(interceptors ...Interceptor) Option + func WithMaxIdleConnections(maxIdleConns uint) Option + func WithRequestCompletionFn(fn RequestCompletionFn) Option + func WithRequestEditorFn(fn RequestEditorFn) Option + func WithRequestTimeout(timeout time.Duration) Option + func WithUserAgent(userAgent string) Option + type PostBothJSONBody SchemaObject + type PostBothJSONRequestBody PostBothJSONBody + type PostJsonJSONBody SchemaObject + type PostJsonJSONRequestBody PostJsonJSONBody + type RequestCompletionFn func(req *http.Request, resp *http.Response) + type RequestEditorFn func(req *http.Request, ctx context.Context) error + type SchemaObject struct + FirstName string + Role string + type ServerInterface interface + GetBoth func(ctx echo.Context) error + GetJson func(ctx echo.Context) error + GetOther func(ctx echo.Context) error + PostBoth func(ctx echo.Context) error + PostJson func(ctx echo.Context) error + PostOther func(ctx echo.Context) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) GetBoth(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetJson(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetOther(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PostBoth(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PostJson(ctx echo.Context) error + func (w *ServerInterfaceWrapper) PostOther(ctx echo.Context) error