Documentation ¶
Index ¶
Constants ¶
View Source
const ( URL_EXTERNAL_IP = "http://cip.cc" URL_IP_LINE = "<pre>IP" URL_SHIFU_TELEMETRY = "https://telemetry.shifu.dev/shifu-telemetry/" URL_DEFAULT_PUBLIC_IP = "0.0.0.0" TASK_RUN_DEMO_KIND = "run_shifu_release" DEFAULT_SOURCE = "default" HTTP_CONTENT_TYPE_JSON = "application/json" )
Variables ¶
View Source
var TelemetryIntervalInSecond int
Functions ¶
func GetPublicIPAddr ¶
func SendUserMetrics ¶
func SendUserMetrics(telemetry types.UserMetricsResponse) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.