Documentation ¶
Index ¶
- func DeleteRequest(url string, token string) (int, error)
- func GetRequest(url string, token string) ([]byte, error)
- func PostRequest(url string, token string) (int, error)
- func PutRequest(url string, token string) (int, error)
- func PutRequestWithBody(url string, token string, body string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRequest ¶
DeleteRequest : request to endpoint with DELETE method
func GetRequest ¶
GetRequest : receives the endpoint and returns the result of the request
func PostRequest ¶
PostRequest : request to endpoint with POST method
func PutRequest ¶
PutRequest : request to endpoint with PUT method
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.