Documentation ¶
Index ¶
- type Connector
- func (c *Connector) FORM(keyValue, additionalHeader map[string]string) (string, error)
- func (c *Connector) HTML(html string, additionalHeader map[string]string) (string, error)
- func (c *Connector) JSON(jsonString string, additionalHeader map[string]string) (string, error)
- func (c *Connector) MULTIPART(filePath string, keyValue, additionalHeader map[string]string) (string, error)
- func (c *Connector) TEXT(text string, additionalHeader map[string]string) (string, error)
- type MethodType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func NewConnector ¶
func NewConnector(method MethodType, uri string) *Connector
type MethodType ¶
type MethodType string
const ( GET MethodType = "GET" POST MethodType = "POST" DELETE MethodType = "DELETE" )
Click to show internal directories.
Click to hide internal directories.