MCPcopy Create free account
hub / github.com/celzero/firestack / MakeUapiConfig

Method MakeUapiConfig

intra/ipn/rpn/regional.go:136–214  ·  view source on GitHub ↗

MakeUapiConfig builds an on-the-fly UAPI config string that overlays the credentials from a permanent config (private key, address, DNS, preshared key, allowed IPs) onto this regional config's server endpoints. rwg.UapiWgConf is NOT modified; the generated string is returned directly. Returns ("", f

(creds *WsWgCreds, port string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ConfMethod · 0.80

Calls 5

EFunction · 0.92
VFunction · 0.92
changeportFunction · 0.85
toHexFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected