Documentation
¶
Overview ¶
Package config parses the optional deployment settings.
Index ¶
Constants ¶
View Source
const EnvPrefix = "JMAP_MCP_"
EnvPrefix prefixes the environment variable form of every flag.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Command string
DataDir string
Listen string
PublicURL string
LogLevel slog.Level
EnableSend bool
Net netguard.Options
Args []string
ClientID string
ClientSecret string
ClientAuth string
// Development and test only.
DevToken string
DevSessionURL string
}
Config holds deployment settings; every field has a working default.
Click to show internal directories.
Click to hide internal directories.