Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
RequestConfigProvider RequestConfigProvider
InvokerPool *middleware.InvokerPool
BufferPool sync.Pool
ClientPool sync.Pool
}
type RequestConfig ¶ added in v1.4.0
type RequestConfigProvider ¶ added in v1.4.0
type RequestConfigProvider interface {
GetRequestConfig(ctx context.Context) RequestConfig
}
type RequestInterface ¶ added in v1.5.0
type StaticRequestConfigProvider ¶ added in v1.4.0
type StaticRequestConfigProvider struct {
// contains filtered or unexported fields
}
func NewStaticRequestConfigProvider ¶ added in v1.5.0
func NewStaticRequestConfigProvider(config RequestConfig) *StaticRequestConfigProvider
func (*StaticRequestConfigProvider) GetRequestConfig ¶ added in v1.4.0
func (s *StaticRequestConfigProvider) GetRequestConfig(ctx context.Context) RequestConfig
Click to show internal directories.
Click to hide internal directories.