Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiToken ¶
The access key for API operations. You can retrieve this from the Twingate Admin Console ([documentation](https://docs.twingate.com/docs/api-overview)). Alternatively, this can be specified using the TWINGATE_API_TOKEN environment variable.
func GetHttpMaxRetry ¶
Specifies a retry limit for the http requests made. The default value is 10. Alternatively, this can be specified using the TWINGATE_HTTP_MAX_RETRY environment variable
func GetHttpTimeout ¶
Specifies a time limit in seconds for the http requests made. The default value is 35 seconds. Alternatively, this can be specified using the TWINGATE_HTTP_TIMEOUT environment variable
func GetNetwork ¶
Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example: `autoco.twingate.com`, where `autoco` is your network ID Alternatively, this can be specified using the TWINGATE_NETWORK environment variable.
Types ¶
This section is empty.