package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Dec 21, 2021
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
-
func BasicGet(...) (string, string, string, error)
-
func BasicRequestWithBody(httpURL, method, contentType, reqBody, authType, baererToken, ... string, ...) (string, string, string, error)
func BasicGet(
httpURL,
method,
authType,
bearerToken,
basicAuthUsername,
basicAuthPassword string,
isCommand bool,
) (string, string, string, error)
BasicGet sends a simple GET request to the url with any potential parameters like `Tokens` or `Basic Auth`
func BasicRequestWithBody(
httpURL,
method,
contentType,
reqBody,
authType,
baererToken,
basicAuthUsername,
basicAuthPassword string,
isCommand bool,
) (string, string, string, error)
BasicRequestWithBody sends put|patch|post|delete requests
Source Files
¶
Click to show internal directories.
Click to hide internal directories.