Versions in this module Expand all Collapse all v2 v2.5.2 Jul 9, 2021 v2.5.1 Jul 9, 2021 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 + UnannotatedEchoServiceApi *UnannotatedEchoServiceApiService + 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 ExamplepbNumericEnum string + const ONE_ExamplepbNumericEnum + const ZERO_ExamplepbNumericEnum + type ExamplepbUnannotatedEmbedded struct + Note string + Progress string + type ExamplepbUnannotatedSimpleMessage struct + Duration string + En string + Id string + Lang string + LineNum string + No *ExamplepbUnannotatedEmbedded + Num string + Status *ExamplepbUnannotatedEmbedded + 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 RpcStatus struct + Code int32 + Details []ProtobufAny + Message string + type UnannotatedEchoServiceApiService service + func (a *UnannotatedEchoServiceApiService) UnannotatedEchoServiceEcho(ctx context.Context, id string) (ExamplepbUnannotatedSimpleMessage, *http.Response, error) + func (a *UnannotatedEchoServiceApiService) UnannotatedEchoServiceEcho2(ctx context.Context, id string, num string, ...) (ExamplepbUnannotatedSimpleMessage, *http.Response, error) + func (a *UnannotatedEchoServiceApiService) UnannotatedEchoServiceEchoBody(ctx context.Context, body ExamplepbUnannotatedSimpleMessage) (ExamplepbUnannotatedSimpleMessage, *http.Response, error) + func (a *UnannotatedEchoServiceApiService) UnannotatedEchoServiceEchoDelete(ctx context.Context, num string, ...) (ExamplepbUnannotatedSimpleMessage, *http.Response, error) + type UnannotatedEchoServiceEcho2Opts struct + Duration optional.String + En optional.String + Lang optional.String + LineNum optional.String + NoNote optional.String + NoProgress optional.String + StatusNote optional.String + StatusProgress optional.String + type UnannotatedEchoServiceEchoDeleteOpts struct + Duration optional.String + En optional.String + Id optional.String + Lang optional.String + LineNum optional.String + NoNote optional.String + NoProgress optional.String + StatusNote optional.String + StatusProgress optional.String