MCPcopy
hub / github.com/apache/casbin / Config

Struct Config

config/config.go:51–54  ·  view source on GitHub ↗

Config represents an implementation of the ConfigInterface.

Source from the content-addressed store, hash-verified

49
50// Config represents an implementation of the ConfigInterface.
51type Config struct {
52 // Section:key=value
53 data map[string]map[string]string
54}
55
56// NewConfig create an empty configuration representation from file.
57func NewConfig(confName string) (ConfigInterface, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected