Documentation ¶
Index ¶
- type GetBuilder
- type PostBuilder
- func (builder *PostBuilder) AddBodyParameter(name string, value interface{})
- func (builder *PostBuilder) AddHeader(name string, value interface{})
- func (builder *PostBuilder) AddUrlParameter(name string, value string)
- func (builder *PostBuilder) Exec(v interface{}) error
- func (builder *PostBuilder) SetBody(v interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetBuilder ¶
type GetBuilder struct {
// contains filtered or unexported fields
}
func CreateGetBuilder ¶
func CreateGetBuilder(reqUrl string) *GetBuilder
func (*GetBuilder) AddUrlParameter ¶
type PostBuilder ¶
type PostBuilder struct {
// contains filtered or unexported fields
}
func CreatePostBuilder ¶
func CreatePostBuilder(requestUrl string) PostBuilder
func (*PostBuilder) AddBodyParameter ¶
func (builder *PostBuilder) AddBodyParameter(name string, value interface{})
func (*PostBuilder) AddHeader ¶
func (builder *PostBuilder) AddHeader(name string, value interface{})
func (*PostBuilder) AddUrlParameter ¶
func (*PostBuilder) SetBody ¶
func (builder *PostBuilder) SetBody(v interface{})
Click to show internal directories.
Click to hide internal directories.