MCPcopy Create free account
hub / github.com/codegangsta/gin / Config

Struct Config

lib/config.go:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type Config struct {
10 Laddr string `json:"laddr"`
11 Port int `json:"port"`
12 ProxyTo string `json:"proxy_to"`
13 KeyFile string `json:"key_file"`
14 CertFile string `json:"cert_file"`
15}
16
17func LoadConfig(path string) (*Config, error) {
18 configFile, err := os.Open(path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected