Documentation
¶
Index ¶
Constants ¶
View Source
const (
ApplicationName = "gopher-town"
)
Variables ¶
This section is empty.
Functions ¶
func LoadRemote ¶
Types ¶
type Config ¶
type Config struct { Source string `toml:"-"` Version int `toml:"version" default:"1"` Includes []string `toml:"include,omitempty"` System System `toml:"system,omitempty"` Web Web `toml:"web,omitempty"` Routes Routes `toml:"routes,omitempty"` Definitions map[string]Module `toml:"module,omitempty"` }
type IncludedConfig ¶
type Log ¶
type Module ¶
type Module struct { Path string `toml:"path"` Name string `toml:"name"` VCS string `toml:"vcs" default:"git"` Repo string `toml:"repo"` Description string `toml:"description, omitempty"` }
func (Module) SourceViewText ¶
func (Module) SourceViewURL ¶
type RemoteConfig ¶
type RemoteConfig struct {
Repo string
}
type Routes ¶
type Routes struct { RoutesDebugDisabled bool `toml:"routes-debug-disabled,omitempty"` RoutesDebug string `toml:"routes-debug" default:"/.well-known/routes"` HealthCheckDisabled bool `toml:"healthcheck-disabled,omitempty"` HealthCheck string `toml:"healthcheck" default:"/.well-known/ruok"` MetricsDisabled bool `toml:"metrics-disabled,omitempty"` Metrics string `toml:"metrics" default:"/.well-known/metrics"` ReadyDisabled bool `toml:"ready-disabled,omitempty"` Ready string `toml:"ready" default:"/.well-known/ready"` Reserved []string `toml:"reserved" default:"[\"/internal\"]"` }
Click to show internal directories.
Click to hide internal directories.