Versions in this module Expand all Collapse all v1 v1.14.1 Mar 12, 2020 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 ABitOfEverythingNested struct + Amount int64 + Name string + Ok *NestedDeepEnum + type ABitOfEverythingServiceApiService service + func (a *ABitOfEverythingServiceApiService) CheckGetQueryParams(ctx context.Context, singleNestedName string, floatValue float32, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) CheckNestedEnumGetQueryParams(ctx context.Context, singleNestedOk string, floatValue float32, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) CheckPostQueryParams(ctx context.Context, stringValue string, body ABitOfEverythingNested) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) Create(ctx context.Context, floatValue float32, doubleValue float64, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) CreateBody(ctx context.Context, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) DeepPathEcho(ctx context.Context, singleNestedName string, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) Delete(ctx context.Context, uuid string) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ErrorWithDetails(ctx context.Context) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) GetMessageWithBody(ctx context.Context, id string, body ExamplepbBody) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) GetQuery(ctx context.Context, uuid string, floatValue float32, ...) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) GetRepeatedQuery(ctx context.Context, pathRepeatedFloatValue []float32, ...) (ExamplepbABitOfEverythingRepeated, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) Lookup(ctx context.Context, uuid string) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) OverwriteResponseContentType(ctx context.Context) (string, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) PostWithEmptyBody(ctx context.Context, name string, body ExamplepbBody) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) Timeout(ctx context.Context) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) Update(ctx context.Context, uuid string, body ExamplepbABitOfEverything) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) UpdateV2(ctx context.Context, abeUuid string, body ExamplepbABitOfEverything) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) UpdateV22(ctx context.Context, abeUuid string, body ExamplepbABitOfEverything) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) UpdateV23(ctx context.Context, abeUuid string, body ExamplepbUpdateV2Request) (interface{}, *http.Response, error) + type APIClient struct + ABitOfEverythingServiceApi *ABitOfEverythingServiceApiService + CamelCaseServiceNameApi *CamelCaseServiceNameApiService + EchoRpcApi *EchoRpcApiService + 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 CamelCaseServiceNameApiService service + func (a *CamelCaseServiceNameApiService) Empty(ctx context.Context) (interface{}, *http.Response, error) + type CheckGetQueryParamsOpts struct + BoolValue optional.Bool + BytesValue optional.String + DoubleValue optional.Float64 + EnumValue optional.String + EnumValueAnnotation optional.String + Fixed32Value optional.Int64 + Fixed64Value optional.String + Int32Value optional.Int32 + Int64OverrideType optional.Int64 + Int64Value optional.String + NestedAnnotationAmount optional.Int64 + NestedAnnotationOk optional.String + NestedPathEnumValue optional.String + NonConventionalNameValue optional.String + OneofString optional.String + PathEnumValue optional.String + RepeatedEnumAnnotation optional.Interface + RepeatedEnumValue optional.Interface + RepeatedStringAnnotation optional.Interface + RepeatedStringValue optional.Interface + Sfixed32Value optional.Int32 + Sfixed64Value optional.String + SingleNestedAmount optional.Int64 + SingleNestedOk optional.String + Sint32Value optional.Int32 + Sint64Value optional.String + StringValue optional.String + TimestampValue optional.Time + Uint32Value optional.Int64 + Uint64Value optional.String + Uuid optional.String + type CheckNestedEnumGetQueryParamsOpts struct + BoolValue optional.Bool + BytesValue optional.String + DoubleValue optional.Float64 + EnumValue optional.String + EnumValueAnnotation optional.String + Fixed32Value optional.Int64 + Fixed64Value optional.String + Int32Value optional.Int32 + Int64OverrideType optional.Int64 + Int64Value optional.String + NestedAnnotationAmount optional.Int64 + NestedAnnotationName optional.String + NestedPathEnumValue optional.String + NonConventionalNameValue optional.String + OneofString optional.String + PathEnumValue optional.String + RepeatedEnumAnnotation optional.Interface + RepeatedEnumValue optional.Interface + RepeatedStringAnnotation optional.Interface + RepeatedStringValue optional.Interface + Sfixed32Value optional.Int32 + Sfixed64Value optional.String + SingleNestedAmount optional.Int64 + SingleNestedName optional.String + Sint32Value optional.Int32 + Sint64Value optional.String + StringValue optional.String + TimestampValue optional.Time + Uint32Value optional.Int64 + Uint64Value optional.String + Uuid optional.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 Echo3Opts struct + Value optional.String + type EchoRpcApiService service + func (a *EchoRpcApiService) Echo(ctx context.Context, value string) (SubStringMessage, *http.Response, error) + func (a *EchoRpcApiService) Echo2(ctx context.Context, body string) (SubStringMessage, *http.Response, error) + func (a *EchoRpcApiService) Echo3(ctx context.Context, localVarOptionals *Echo3Opts) (SubStringMessage, *http.Response, error) + type ExamplepbABitOfEverything struct + BoolValue bool + BytesValue string + DoubleValue float64 + EnumValue *ExamplepbNumericEnum + EnumValueAnnotation *ExamplepbNumericEnum + Fixed32Value int64 + Fixed64Value string + FloatValue float32 + Int32Value int32 + Int64OverrideType int64 + Int64Value string + MapValue map[string]ExamplepbNumericEnum + MappedNestedValue map[string]ABitOfEverythingNested + MappedStringValue map[string]string + Nested []ABitOfEverythingNested + NestedAnnotation *ABitOfEverythingNested + NestedPathEnumValue *MessagePathEnumNestedPathEnum + NonConventionalNameValue string + OneofEmpty *interface{} + OneofString string + PathEnumValue *PathenumPathEnum + RepeatedEnumAnnotation []ExamplepbNumericEnum + RepeatedEnumValue []ExamplepbNumericEnum + RepeatedNestedAnnotation []ABitOfEverythingNested + RepeatedStringAnnotation []string + RepeatedStringValue []string + Sfixed32Value int32 + Sfixed64Value string + SingleNested *ABitOfEverythingNested + Sint32Value int32 + Sint64Value string + StringValue string + TimestampValue time.Time + Uint32Value int64 + Uint64Value string + Uuid string + type ExamplepbABitOfEverythingRepeated struct + PathRepeatedBoolValue []bool + PathRepeatedBytesValue []string + PathRepeatedDoubleValue []float64 + PathRepeatedEnumValue []ExamplepbNumericEnum + PathRepeatedFixed32Value []int64 + PathRepeatedFixed64Value []string + PathRepeatedFloatValue []float32 + PathRepeatedInt32Value []int32 + PathRepeatedInt64Value []string + PathRepeatedSfixed32Value []int32 + PathRepeatedSfixed64Value []string + PathRepeatedSint32Value []int32 + PathRepeatedSint64Value []string + PathRepeatedStringValue []string + PathRepeatedUint32Value []int64 + PathRepeatedUint64Value []string + type ExamplepbBody struct + Name string + type ExamplepbNumericEnum string + const ONE_ExamplepbNumericEnum + const ZERO_ExamplepbNumericEnum + func (e ExamplepbNumericEnum) String() string + func (e ExamplepbNumericEnum) UnmarshalJSON(b []byte) error + type ExamplepbUpdateV2Request struct + Abe *ExamplepbABitOfEverything + UpdateMask *ProtobufFieldMask + type GenericSwaggerError struct + func (e GenericSwaggerError) Body() []byte + func (e GenericSwaggerError) Error() string + func (e GenericSwaggerError) Model() interface{} + type GetQueryOpts struct + BoolValue optional.Bool + BytesValue optional.String + DoubleValue optional.Float64 + EnumValue optional.String + EnumValueAnnotation optional.String + Fixed32Value optional.Int64 + Fixed64Value optional.String + Int32Value optional.Int32 + Int64OverrideType optional.Int64 + Int64Value optional.String + NestedAnnotationAmount optional.Int64 + NestedAnnotationName optional.String + NestedAnnotationOk optional.String + NestedPathEnumValue optional.String + NonConventionalNameValue optional.String + OneofString optional.String + PathEnumValue optional.String + RepeatedEnumAnnotation optional.Interface + RepeatedEnumValue optional.Interface + RepeatedStringAnnotation optional.Interface + RepeatedStringValue optional.Interface + Sfixed32Value optional.Int32 + Sfixed64Value optional.String + SingleNestedAmount optional.Int64 + SingleNestedName optional.String + SingleNestedOk optional.String + Sint32Value optional.Int32 + Sint64Value optional.String + StringValue optional.String + TimestampValue optional.Time + Uint32Value optional.Int64 + Uint64Value optional.String + type MessagePathEnumNestedPathEnum string + const GHI_MessagePathEnumNestedPathEnum + const JKL_MessagePathEnumNestedPathEnum + func (e MessagePathEnumNestedPathEnum) String() string + func (e MessagePathEnumNestedPathEnum) UnmarshalJSON(b []byte) error + type NestedDeepEnum string + const FALSE_NestedDeepEnum + const TRUE_NestedDeepEnum + type PathenumPathEnum string + const ABC_PathenumPathEnum + const DEF_PathenumPathEnum + func (e PathenumPathEnum) String() string + func (e PathenumPathEnum) UnmarshalJSON(b []byte) error + type ProtobufAny struct + TypeUrl string + Value string + type ProtobufFieldMask struct + Paths []string + type RuntimeError struct + Code int32 + Details []ProtobufAny + Error_ string + Message string + type SubStringMessage struct + Value string