Versions in this module Expand all Collapse all v1 v1.16.2 Jun 14, 2023 v1.16.1 Jun 14, 2023 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + EchoServiceApi *EchoServiceApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type BasicAuth struct + Password string + UserName string + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type EchoServiceApiService service + func (a *EchoServiceApiService) EchoServiceEcho(ctx context.Context, id string) (ExamplepbSimpleMessage, *http.Response, error) + func (a *EchoServiceApiService) EchoServiceEcho2(ctx context.Context, id string, num string, ...) (ExamplepbSimpleMessage, *http.Response, error) + func (a *EchoServiceApiService) EchoServiceEcho3(ctx context.Context, id string, num string, lang string, ...) (ExamplepbSimpleMessage, *http.Response, error) + func (a *EchoServiceApiService) EchoServiceEcho4(ctx context.Context, id string, lineNum string, statusNote string, ...) (ExamplepbSimpleMessage, *http.Response, error) + func (a *EchoServiceApiService) EchoServiceEcho5(ctx context.Context, noNote string, localVarOptionals *EchoServiceEcho5Opts) (ExamplepbSimpleMessage, *http.Response, error) + func (a *EchoServiceApiService) EchoServiceEchoBody(ctx context.Context, body ExamplepbSimpleMessage) (ExamplepbSimpleMessage, *http.Response, error) + func (a *EchoServiceApiService) EchoServiceEchoDelete(ctx context.Context, localVarOptionals *EchoServiceEchoDeleteOpts) (ExamplepbSimpleMessage, *http.Response, error) + type EchoServiceEcho2Opts struct + En optional.String + Lang optional.String + LineNum optional.String + NoNote optional.String + NoProgress optional.String + StatusNote optional.String + StatusProgress optional.String + type EchoServiceEcho3Opts struct + En optional.String + LineNum optional.String + NoNote optional.String + NoProgress optional.String + StatusNote optional.String + StatusProgress optional.String + type EchoServiceEcho4Opts struct + En optional.String + Lang optional.String + NoProgress optional.String + Num optional.String + StatusProgress optional.String + type EchoServiceEcho5Opts struct + En optional.String + Id optional.String + Lang optional.String + LineNum optional.String + NoProgress optional.String + Num optional.String + StatusProgress optional.String + type EchoServiceEchoDeleteOpts struct + En optional.String + Id optional.String + Lang optional.String + LineNum optional.String + NoNote optional.String + NoProgress optional.String + Num optional.String + StatusNote optional.String + StatusProgress optional.String + type ExamplepbEmbedded struct + Note string + Progress string + type ExamplepbSimpleMessage struct + En string + Id string + Lang string + LineNum string + No *ExamplepbEmbedded + Num string + Status *ExamplepbEmbedded + type GenericSwaggerError struct + func (e GenericSwaggerError) Body() []byte + func (e GenericSwaggerError) Error() string + func (e GenericSwaggerError) Model() interface{} + type ProtobufAny struct + TypeUrl string + Value string + type RuntimeError struct + Code int32 + Details []ProtobufAny + Error_ string + Message string