Documentation
¶
Index ¶
Constants ¶
View Source
const ( APIHostKey = "api_host" ServerHostKey = "server_host" ServerPortKey = "server_port" HTTPTimeoutKey = "http_timeout" HTTPSRedirectKey = "https_redirect" AuthKey = "auth_key" DBPathKey = "db.path" DBTimeoutKey = "db.timeout" DownloadEndpointKey = "endpoint.download" ListEndpointKey = "endpoint.list" RSSEndpointKey = "endpoint.rss" PkgEndpointKey = "endpoint.pkg" GithubTokenKey = "github.token" GithubWatchIntervalKey = "github.watch_interval" RSSNameKey = "rss.name" RSSDescriptionKey = "rss.description" RSSAuthorKey = "rss.author" RSSCopyrightKey = "rss.copyright" RSSCreationTSKey = "rss.creation_ts" RSSLinkKey = "rss.link" RSSTitleKey = "rss.title" RSSContentKey = "rss.content" RSSHistoryLengthKey = "rss.history_length" DefaultServerHost = "127.0.0.1" DefaultServerPort = "8080" DefaultHTTPTimeout = "3s" DefaultHTTPSRedirect = false DefaultDBPath = "bolt.db" DefaultDBTimeout = "1s" DefaultDLEndpointPath = "/download" DefaultListEndpointPath = "/list" DefaultRSSEndpointPath = "/rss/{arch}" DefaultPkgEndpointPath = "/pkg" DefaultGithubWatchInterval = "1m" DefaultRSSHistoryLength = 3 )
Config keys and default values
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.