Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCloudHost = "main-grpc.selefra.io:1234"
View Source
const DefaultSelefraCloudHttpHost = "https://www.selefra.io"
View Source
const SelefraCloudFlag = "SELEFRA_CLOUD_FLAG"
View Source
const SelefraCloudHttpHost = "SELEFRA_CLOUD_HTTP_HOST"
View Source
const SelefraCloudToken = "SELEFRA_CLOUD_TOKEN"
View Source
const SelefraServerHost = "SELEFRA_CLOUD_HOST"
View Source
const SelefraTelemetryEnable = "SELEFRA_TELEMETRY_ENABLE"
View Source
const SelefraTelemetryTokenEnvName = "SELEFRA_TELEMETRY_TOKEN"
Variables ¶
View Source
var SelefraTelemetryToken = ""
SelefraTelemetryToken Compile-time injection
Functions ¶
func GetCloudToken ¶
func GetCloudToken() string
func GetSelefraCloudHttpHost ¶ added in v0.0.11
func GetSelefraCloudHttpHost() string
func GetSelefraTelemetryEnable ¶ added in v0.0.11
func GetSelefraTelemetryEnable() string
func GetSelefraTelemetryToken ¶ added in v0.0.11
func GetSelefraTelemetryToken() string
func IsCloudEnv ¶
func IsCloudEnv() bool
IsCloudEnv Check whether the system is running in the cloud environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.