MCPcopy Create free account
hub / github.com/cloudflare/pal / NewClientV2

Function NewClientV2

client_v2.go:27–33  ·  view source on GitHub ↗

NewClientV2 constructs a new Client that implements version 2 of the PAL protocol. r is a PAL YAML configuration, socketAddr is the file path to the pald socket, and appEnv is the environment from the config to use. If there is an error reading or parsing r, NewClientV2 will abort the process.

(r io.Reader, socketAddr, appEnv string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

loadConfigEntryFunction · 0.85
newClientV2Function · 0.85

Tested by

no test coverage detected