MCPcopy
hub / github.com/spf13/viper

github.com/spf13/viper @v1.21.0 sqlite

441 symbols 1,802 edges 32 files 170 documented

Extension points exported contracts — how you extend this code

Encoder (Interface)
Encoder encodes Viper's internal data structures into a byte representation. It's primarily used for encoding a map[stri [5 implem
encoding.go
Finder (Interface)
Finder looks for files and directories in an [afero.Fs] filesystem. [2 implementers]
finder.go
RemoteProvider (Interface)
RemoteProvider stores the configuration necessary to connect to a remote key/value store. Optional secretKeyring to unen [1 implem
remote.go
FlagValueSet (Interface)
FlagValueSet is an interface that users can implement to bind a set of flags to viper. [1 implementers]
flags.go
DecoderConfigOption (FuncType)
A DecoderConfigOption can be passed to viper.Unmarshal to configure mapstructure.DecoderConfig options.
viper.go
Decoder (Interface)
Decoder decodes the contents of a byte slice into Viper's internal data structures. It's primarily used for decoding con [5 implem
encoding.go
FlagValue (Interface)
FlagValue is an interface that users can implement to bind different flags to viper. [1 implementers]
flags.go
Option (Interface)
Option configures Viper using the functional options paradigm popularized by Rob Pike and Dave Cheney. If you're unfamil
viper.go

Core symbols highest fan-in

Get
called by 99
remote.go
New
called by 92
viper.go
SetConfigType
called by 46
viper.go
AbsFilePath
called by 43
internal/testutil/filepath.go
GetString
called by 41
viper.go
Get
called by 32
viper.go

Shape

Function 227
Method 165
Struct 28
Interface 13
TypeAlias 6
FuncType 2

Dependencies from manifests, versioned

cloud.google.com/gov0.116.0 · 1×
cloud.google.com/go/authv0.15.0 · 1×
cloud.google.com/go/auth/oauth2adaptv0.2.7 · 1×
cloud.google.com/go/compute/metadatav0.6.0 · 1×
cloud.google.com/go/firestorev1.17.0 · 1×
cloud.google.com/go/longrunningv0.6.2 · 1×
github.com/armon/go-metricsv0.4.1 · 1×
github.com/coreos/go-semverv0.3.0 · 1×
github.com/coreos/go-systemd/v22v22.3.2 · 1×
github.com/davecgh/go-spewv1.1.1 · 1×
github.com/fatih/colorv1.16.0 · 1×
github.com/felixge/httpsnoopv1.0.4 · 1×

For agents

$ claude mcp add viper \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact