Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndpointRequester ¶
type EndpointRequester interface {
SendRequest(ctx context.Context, method string, params interface{}, reply interface{}, options ...Option) error
}
func NewEndpointRequester ¶
func NewEndpointRequester(uri, base string) EndpointRequester
type Option ¶ added in v1.7.10
type Option func(*Options)
func WithHeader ¶ added in v1.7.10
func WithQueryParam ¶ added in v1.7.10
type Options ¶ added in v1.7.10
type Options struct {
// contains filtered or unexported fields
}
func NewOptions ¶ added in v1.7.10
func (*Options) QueryParams ¶ added in v1.7.10
Click to show internal directories.
Click to hide internal directories.