Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultErrorAccumulator ¶
type DefaultErrorAccumulator struct {
Buffer errorBuffer
}
func (*DefaultErrorAccumulator) Bytes ¶
func (e *DefaultErrorAccumulator) Bytes() (errBytes []byte)
func (*DefaultErrorAccumulator) Write ¶
func (e *DefaultErrorAccumulator) Write(p []byte) error
type ErrorAccumulator ¶
func NewErrorAccumulator ¶
func NewErrorAccumulator() ErrorAccumulator
type HTTPRequestBuilder ¶
type HTTPRequestBuilder struct {
// contains filtered or unexported fields
}
func (*HTTPRequestBuilder) Marshal ¶ added in v1.0.2
func (b *HTTPRequestBuilder) Marshal() Marshaller
type JSONMarshaller ¶
type JSONMarshaller struct{}
type JSONUnmarshaler ¶
type JSONUnmarshaler struct{}
type Marshaller ¶
type RequestBuilder ¶
type RequestBuilder interface { Build(ctx context.Context, method, url string, body any, header http.Header) (*http.Request, error) Marshal() Marshaller }
func NewRequestBuilder ¶
func NewRequestBuilder() RequestBuilder
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.