MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GetPingEndpoint

Function GetPingEndpoint

pkg/wcloud/wcloud.go:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func GetPingEndpoint() string {
83 if !wavebase.IsDevMode() {
84 return WCloudPingEndpoint
85 }
86 endpoint := WCloudPingEndpoint_VarCache
87 return endpoint
88}
89
90func makeAnonPostReq(ctx context.Context, apiUrl string, data interface{}) (*http.Request, error) {
91 endpoint := GetEndpoint()

Callers 2

makePingPostReqFunction · 0.85
SendDiagnosticPingFunction · 0.85

Calls 1

IsDevModeFunction · 0.92

Tested by

no test coverage detected