MCPcopy Create free account
hub / github.com/Hidden-Node/GooseRelayVPN-AndroidClient / redactSecretString

Function redactSecretString

cmd/client/diagnostics.go:314–319  ·  view source on GitHub ↗
(s, label string)

Source from the content-addressed store, hash-verified

312}
313
314func redactSecretString(s, label string) string {
315 if s == "" {
316 return ""
317 }
318 return fmt.Sprintf("<redacted %s len=%d>", label, len(s))
319}
320
321func redactEndpoint(s string) string {
322 if s == "" {

Callers 2

redactJSONValueFunction · 0.85
redactScriptKeyEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected