MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / NewExampleConfig

Function NewExampleConfig

pkg/api/example_usage.go:20–28  ·  view source on GitHub ↗
(addr, user, password, realm string, insecure bool)

Source from the content-addressed store, hash-verified

18}
19
20func NewExampleConfig(addr, user, password, realm string, insecure bool) *ExampleConfig {
21 return &ExampleConfig{
22 addr: addr,
23 user: user,
24 password: password,
25 realm: realm,
26 insecure: insecure,
27 }
28}
29
30func (c *ExampleConfig) GetAddr() string { return c.addr }
31func (c *ExampleConfig) GetUser() string { return c.user }

Callers 1

ExampleUsageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected