Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDefaultClient ¶
Types ¶
type Client ¶
type MissServiceClient ¶
type MissServiceClient struct {
// contains filtered or unexported fields
}
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
Configuration of client
func WithHeader ¶
WithHeader is used to add the default header, which is carried by every request
func WithHertzClient ¶
WithHertzClient is used to register a custom hertz client
func WithHertzClientMiddleware ¶
func WithHertzClientMiddleware(mws ...hertz_client.Middleware) Option
WithHertzClientMiddleware is used to register the middleware for the hertz client
func WithHertzClientOption ¶
func WithHertzClientOption(opt ...config.ClientOption) Option
WithHertzClientOption is used to pass configuration for the hertz client
func WithResponseResultDecider ¶
func WithResponseResultDecider(decider ResponseResultDecider) Option
WithResponseResultDecider configure custom deserialization of http response to response struct
Click to show internal directories.
Click to hide internal directories.