Discover Packages
github.com/WikitTeam/ProjectWikit
internal
config
package
Version:
v0.9.0-rc.53
Opens a new window with list of versions in this module.
Published: Nov 23, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package config answers what a person wrote into pwikit.toml.
View Source
const (
EngineSMTP = "smtp"
EngineConsole = "console"
)
The file is edited as text rather than decoded and encoded again, so the
comments and the order a person gave it survive.
type Analytics struct {
GoogleTagID string `toml:"google_tag_id"`
}
type File struct {
Database string `toml:"database"`
Server Server `toml:"server"`
TLS TLS `toml:"tls"`
Mail Mail `toml:"mail"`
Analytics Analytics `toml:"analytics"`
Update Update `toml:"update"`
Wikidot Wikidot `toml:"wikidot"`
Mounts []Mount `toml:"mount"`
}
type Mail struct {
Engine string `toml:"engine"`
Host string `toml:"host"`
Port int `toml:"port"`
Username string `toml:"username"`
Password string `toml:"password"`
UseTLS *bool `toml:"use_tls"`
ImplicitTLS *bool `toml:"implicit_tls"`
From string `toml:"from"`
}
type Mount struct {
Path string `toml:"path"`
Upstream string `toml:"upstream"`
StripPrefix bool `toml:"strip_prefix"`
SecretFile string `toml:"secret_file"`
}
type Server struct {
Listen string `toml:"listen"`
TrustedProxies []string `toml:"trusted_proxies"`
UploadLimit string `toml:"upload_limit"`
StorageLimit string `toml:"storage_limit"`
}
type TLS struct {
Mode string `toml:"mode"`
Listen string `toml:"listen"`
Cert string `toml:"cert"`
Key string `toml:"key"`
ACMEEmail string `toml:"acme_email"`
ACMEDirectory string `toml:"acme_directory"`
}
type Update struct {
Auto *bool `toml:"auto"`
PublicBanner *bool `toml:"public_banner"`
Check *bool `toml:"check"`
Window string `toml:"window"`
TimeZone string `toml:"time_zone"`
MinAge string `toml:"min_age"`
Mirror string `toml:"mirror"`
}
type Wikidot struct {
Username string `toml:"username"`
Password string `toml:"password"`
MessageSubject string `toml:"message_subject"`
MessageBody string `toml:"message_body"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.