MCPcopy Create free account
hub / github.com/ByteYellow/AgentProvenance / NewClient

Function NewClient

internal/daemon/client.go:31–33  ·  view source on GitHub ↗
(baseURL string)

Source from the content-addressed store, hash-verified

29}
30
31func NewClient(baseURL string) Client {
32 return Client{BaseURL: strings.TrimRight(baseURL, "/"), HTTP: http.DefaultClient, Token: os.Getenv("AGENTPROV_DAEMON_TOKEN")}
33}
34
35func (c Client) CreateLease(task string) (string, error) {
36 var resp struct {

Callers 1

daemonClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected