Documentation ¶
Index ¶
- type AfterCall
- type BeforeCall
- type CustomerUnmarshalData
- type CustomerUnmarshalError
- type DynamicCredentials
- type DynamicCredentialsIncludeError
- type ExtendHttpRequest
- type ExtendHttpRequestWithMeta
- type ExtraHttpJsonBody
- type ExtraHttpParameters
- type ExtraHttpParametersWithMeta
- type ForceJsonNumberDecode
- type LogAccount
- type RequestInfo
- type RequestMetadata
- type SdkInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterCall ¶
type AfterCall func(RequestInfo, interface{})
type BeforeCall ¶
type BeforeCall func(RequestInfo) interface{}
type CustomerUnmarshalData ¶
type CustomerUnmarshalData func(ctx context.Context, info RequestInfo, resp response.VolcengineResponse) interface{}
type CustomerUnmarshalError ¶
type CustomerUnmarshalError func(ctx context.Context, meta RequestMetadata, resp response.VolcengineResponse) error
type DynamicCredentials ¶
type DynamicCredentials func(ctx context.Context) (*credentials.Credentials, *string)
type DynamicCredentialsIncludeError ¶
type DynamicCredentialsIncludeError func(ctx context.Context) (*credentials.Credentials, *string, error)
DynamicCredentialsIncludeError func return Credentials info and error info when error appear
type ExtendHttpRequestWithMeta ¶
type ExtendHttpRequestWithMeta func(ctx context.Context, request *http.Request, meta RequestMetadata)
type ExtraHttpJsonBody ¶
type ExtraHttpJsonBody func(ctx context.Context, input *map[string]interface{}, meta RequestMetadata)
type ExtraHttpParametersWithMeta ¶
type ExtraHttpParametersWithMeta func(ctx context.Context, meta RequestMetadata) map[string]string
type ForceJsonNumberDecode ¶
type ForceJsonNumberDecode func(ctx context.Context, info RequestInfo) bool
type LogAccount ¶
type RequestInfo ¶
type RequestMetadata ¶
type SdkInterceptor ¶
type SdkInterceptor struct { Before BeforeCall After AfterCall }
Click to show internal directories.
Click to hide internal directories.