Versions in this module Expand all Collapse all v1 v1.16.1 Apr 25, 2022 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) ABitOfEverythingServiceCheckExternalNestedPathEnum(ctx context.Context, value string) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceCheckGetQueryParams(ctx context.Context, singleNestedName string, floatValue float32, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceCheckNestedEnumGetQueryParams(ctx context.Context, singleNestedOk string, floatValue float32, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceCheckPostQueryParams(ctx context.Context, stringValue string, body ABitOfEverythingNested, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceCreate(ctx context.Context, floatValue float32, doubleValue float64, ...) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceCreateBody(ctx context.Context, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceCreateBook(ctx context.Context, parent string, body ExamplepbBook, ...) (ExamplepbBook, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceDeepPathEcho(ctx context.Context, singleNestedName string, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceDelete(ctx context.Context, uuid string) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceErrorWithDetails(ctx context.Context) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceGetMessageWithBody(ctx context.Context, id string, body ExamplepbBody) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceGetQuery(ctx context.Context, uuid string, floatValue float32, ...) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceGetRepeatedQuery(ctx context.Context, pathRepeatedFloatValue []float32, ...) (ExamplepbABitOfEverythingRepeated, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceLookup(ctx context.Context, uuid string) (ExamplepbABitOfEverything, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceOverwriteResponseContentType(ctx context.Context) (string, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServicePostWithEmptyBody(ctx context.Context, name string, body ExamplepbBody) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceTimeout(ctx context.Context) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceUpdate(ctx context.Context, uuid string, body ExamplepbABitOfEverything) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceUpdateV2(ctx context.Context, abeUuid string, body ExamplepbABitOfEverything, ...) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceUpdateV22(ctx context.Context, abeUuid string, body ExamplepbABitOfEverything, ...) (interface{}, *http.Response, error) + func (a *ABitOfEverythingServiceApiService) ABitOfEverythingServiceUpdateV23(ctx context.Context, abeUuid string, body ExamplepbUpdateV2Request) (interface{}, *http.Response, error) + type ABitOfEverythingServiceCheckGetQueryParamsOpts 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 ABitOfEverythingServiceCheckNestedEnumGetQueryParamsOpts 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 ABitOfEverythingServiceCheckPostQueryParamsOpts 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 + Sint32Value optional.Int32 + Sint64Value optional.String + TimestampValue optional.Time + Uint32Value optional.Int64 + Uint64Value optional.String + Uuid optional.String + type ABitOfEverythingServiceCreateBookOpts struct + BookId optional.String + type ABitOfEverythingServiceEcho3Opts struct + Value optional.String + type ABitOfEverythingServiceGetQueryOpts 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 ABitOfEverythingServiceUpdateV22Opts struct + UpdateMaskPaths optional.Interface + type ABitOfEverythingServiceUpdateV2Opts struct + UpdateMaskPaths optional.Interface + 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) CamelCaseServiceNameEmpty(ctx context.Context) (interface{}, *http.Response, error) + 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 EchoRpcApiService service + func (a *EchoRpcApiService) ABitOfEverythingServiceEcho(ctx context.Context, value string) (SubStringMessage, *http.Response, error) + func (a *EchoRpcApiService) ABitOfEverythingServiceEcho2(ctx context.Context, body string) (SubStringMessage, *http.Response, error) + func (a *EchoRpcApiService) ABitOfEverythingServiceEcho3(ctx context.Context, localVarOptionals *ABitOfEverythingServiceEcho3Opts) (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 ExamplepbBook struct + CreateTime time.Time + Id string + Name string + type ExamplepbErrorObject struct + Code int32 + Message string + type ExamplepbErrorResponse struct + CorrelationId string + Error_ *ExamplepbErrorObject + 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 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 Other modules containing this package github.com/Percona-Lab/grpc-gateway/v2