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

Struct ExampleConfig

pkg/api/example_usage.go:10–18  ·  view source on GitHub ↗

ExampleConfig demonstrates how to implement the Config interface.

Source from the content-addressed store, hash-verified

8
9// ExampleConfig demonstrates how to implement the Config interface.
10type ExampleConfig struct {
11 addr string
12 user string
13 password string
14 realm string
15 tokenID string
16 tokenSecret string
17 insecure bool
18}
19
20func NewExampleConfig(addr, user, password, realm string, insecure bool) *ExampleConfig {
21 return &ExampleConfig{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected