Documentation ¶
Index ¶
- type Core
- func (c *Core) HttpDeleteJson(path string, request interface{}, headers ...map[string]string) (body string, err error)
- func (c *Core) HttpGetJson(path string, params url.Values, headers ...map[string]string) (body string, err error)
- func (c *Core) HttpPatchJson(path string, request interface{}, headers ...map[string]string) (body string, err error)
- func (c *Core) HttpPostJson(path string, request interface{}, headers ...map[string]string) (body string, err error)
- func (c *Core) HttpPutJson(path string, request interface{}, headers ...map[string]string) (body string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
func (*Core) HttpDeleteJson ¶
func (c *Core) HttpDeleteJson(path string, request interface{}, headers ...map[string]string) (body string, err error)
DELETE
func (*Core) HttpGetJson ¶
func (c *Core) HttpGetJson(path string, params url.Values, headers ...map[string]string) (body string, err error)
GET
func (*Core) HttpPatchJson ¶
func (c *Core) HttpPatchJson(path string, request interface{}, headers ...map[string]string) (body string, err error)
PATCH
Click to show internal directories.
Click to hide internal directories.