Documentation ¶
Index ¶
- type DefaultErrorAccumulator
- type DefaultFormBuilder
- func (fb *DefaultFormBuilder) Close() error
- func (fb *DefaultFormBuilder) CreateFormFile(fieldname string, file *os.File) error
- func (fb *DefaultFormBuilder) CreateFormFileReader(fieldname string, r io.Reader, filename string) error
- func (fb *DefaultFormBuilder) FormDataContentType() string
- func (fb *DefaultFormBuilder) WriteField(fieldname, value string) error
- type ErrorAccumulator
- type FormBuilder
- type HTTPRequestBuilder
- type JSONMarshaller
- type JSONUnmarshaler
- type Marshaller
- type RequestBuilder
- type Unmarshaler
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 DefaultFormBuilder ¶
type DefaultFormBuilder struct {
// contains filtered or unexported fields
}
func NewFormBuilder ¶
func NewFormBuilder(body io.Writer) *DefaultFormBuilder
func (*DefaultFormBuilder) Close ¶
func (fb *DefaultFormBuilder) Close() error
func (*DefaultFormBuilder) CreateFormFile ¶
func (fb *DefaultFormBuilder) CreateFormFile(fieldname string, file *os.File) error
func (*DefaultFormBuilder) CreateFormFileReader ¶
func (*DefaultFormBuilder) FormDataContentType ¶
func (fb *DefaultFormBuilder) FormDataContentType() string
func (*DefaultFormBuilder) WriteField ¶
func (fb *DefaultFormBuilder) WriteField(fieldname, value string) error
type ErrorAccumulator ¶
func NewErrorAccumulator ¶
func NewErrorAccumulator() ErrorAccumulator
type FormBuilder ¶
type HTTPRequestBuilder ¶
type HTTPRequestBuilder struct {
// contains filtered or unexported fields
}
func NewRequestBuilder ¶
func NewRequestBuilder() *HTTPRequestBuilder
type JSONMarshaller ¶
type JSONMarshaller struct{}
type JSONUnmarshaler ¶
type JSONUnmarshaler struct{}
type Marshaller ¶
type RequestBuilder ¶
type Unmarshaler ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.