# Functions
No description provided by the author
No description provided by the author
CustomResponseDecoder returns a ResponseOptions that specify custom decoding function of http.Response this options overwrite JsonBody and JsonErrorBody.
No description provided by the author
No description provided by the author
No description provided by the author
FxClientCustomizers takes providers of ClientCustomizer and wrap them with FxGroup.
No description provided by the author
No description provided by the author
No description provided by the author
JsonBody returns a ResponseOptions that specify interface{} to use for parsing response body as JSON.
JsonErrorBody returns a ResponseOptions that specify interface{} to use for parsing error response as JSON.
No description provided by the author
No description provided by the author
No description provided by the author
NewErrorWithResponse create a Error with ErrorResponse.
NewErrorWithStatusCode create a Error with ErrorResponse, and choose error code based on status code if given "e" is an ErrorResponseBody, it saved into ErrorResponse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSDTargetResolver creates a TargetResolver that work with discovery.Instancer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
ErrorSubTypeCodeDiscovery.
ErrorSubTypeCodeClientSide.
ErrorSubTypeCodeClientSide.
ErrorSubTypeCodeServerSide.
ErrorSubTypeCodeInternal.
ErrorSubTypeCodeMedia.
ErrorSubTypeCodeDiscovery.
ErrorSubTypeCodeMedia.
ErrorSubTypeCodeTimeout.
ErrorSubTypeCodeClientSide.
All "SubType" values are used as mask sub types of ErrorTypeCodeResponse.
All "SubType" values are used as mask sub types of ErrorTypeCodeInternal.
All "SubType" values are used as mask sub types of ErrorTypeCodeInternal.
All "SubType" values are used as mask sub types of ErrorTypeCodeResponse.
All "SubType" values are used as mask sub types of ErrorTypeCodeResponse.
All "SubType" values are used as mask sub types of ErrorTypeCodeTransport.
All "Type" values are used as mask.
All "Type" values are used as mask.
All "Type" values are used as mask.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Reserved http client reserved error range.
# Variables
ErrorTypes, can be used in errors.Is.
No description provided by the author
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
ErrorTypes, can be used in errors.Is.
No description provided by the author
# Structs
ClientConfig is used to change Client's config.
ClientOption carries initial configurations of Clients.
Error can optionally store *http.Response's status code, headers and body.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Request is wraps all information about the request.
No description provided by the author
No description provided by the author
SDTargetResolver implements TargetResolver interface that use the discovery.Instancer to resolve target's address.
# Interfaces
AfterHook is used for ClientConfig and ClientOptions, The implementing class could also implement order.Ordered interface.
BeforeHook is used for ClientConfig and ClientOptions, The implementing class could also implement order.Ordered interface.
No description provided by the author
No description provided by the author
ConfigurableAfterHook is an additional interface that AfterHook can implement.
ConfigurableBeforeHook is an additional interface that BeforeHook can implement.
No description provided by the author
Hook is used for intercepting is used for ClientConfig and ClientOptions,.
No description provided by the author
# Type aliases
AfterHookFunc implements Hook with only "after" operation.
BeforeHookFunc implements Hook with only "before" operation.
No description provided by the author
ClientOptions is used for creating Client and its customizers.
CreateRequestFunc is a function to create http.Request with given context, method and target URL.
No description provided by the author
EncodeRequestFunc is a function to modify http.Request for encoding given value.
No description provided by the author
RequestOptions used to configure Request in NewRequest.
No description provided by the author
No description provided by the author
RetryCallback retry control function.
SDOptions allows control of endpointCache behavior.
No description provided by the author