package
Version:
v0.0.0-...-df3f4e6
Opens a new window with list of versions in this module.
Published: Aug 8, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package config provides tools to store and retrieve varda configuration state.
func DefaultConfigDir() string
type Client struct {
User string `json:"user"`
Pass string `json:"pass"`
Addr string `json:"addr"`
TLS struct {
Cert string `json:"cert"`
} `json:"tls"`
}
type Config struct {
Server Server `json:"server,omitempty"`
Client Client `json:"client,omitempty"`
}
type Server struct {
Root string `json:"root"`
Addr string `json:"addr"`
Pass string `json:"pass"`
TLS struct {
Cert string `json:"cert"`
Priv string `json:"priv"`
} `json:"tls"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.