Documentation
¶
Index ¶
- type HttpBinApi
- func (c *HttpBinApi) Delete() (res *MethodsResponse, err error)
- func (c *HttpBinApi) Get(limit int, offset int) (res *MethodsResponse, err error)
- func (c *HttpBinApi) Patch(key, value string) (res *MethodsResponse, err error)
- func (c *HttpBinApi) Post(address string, comment string) (res *MethodsResponse, err error)
- func (c *HttpBinApi) Put(form url.Values) (res *MethodsResponse, err error)
- type MethodsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpBinApi ¶
type HttpBinApi struct {
// contains filtered or unexported fields
}
func New ¶
func New() *HttpBinApi
func (*HttpBinApi) Delete ¶
func (c *HttpBinApi) Delete() (res *MethodsResponse, err error)
func (*HttpBinApi) Get ¶
func (c *HttpBinApi) Get(limit int, offset int) (res *MethodsResponse, err error)
func (*HttpBinApi) Patch ¶
func (c *HttpBinApi) Patch(key, value string) (res *MethodsResponse, err error)
func (*HttpBinApi) Post ¶
func (c *HttpBinApi) Post(address string, comment string) (res *MethodsResponse, err error)
func (*HttpBinApi) Put ¶
func (c *HttpBinApi) Put(form url.Values) (res *MethodsResponse, err error)
type MethodsResponse ¶
Click to show internal directories.
Click to hide internal directories.