# Packages
No description provided by the author
# Functions
ListenAndServe listens on 443 and 80 ports of all addresses, and serve Keybase Pages based on config and kbfsConfig.
NewFileBasedActivityStatsStorer creates an ActivityStatsStorer that stores activities on a local filesystem.
NewMultiStatReporter creates a StatsReporter that reports through all passed in reporters.
NewStathatReporter create a new StatsReporter that reports stats to stathat.
ParseRoot parses a kbp= TXT record from a domain into a Root object.
# Constants
CtxKBPKey is the tag key for unique operation IDs within kbp and libpages.
CtxKBPOpID is the display name for unique operations in kbp and libpages.
GitRoot means the root is backed by a git repo stored in KBFS.
KBFSRoot means the root is backed by a KBFS path.
# Structs
ActivityStatsEnabler describes what backend storer a StatsReporter should use for activity-based stats, and how the stats should be generated.
CacheableFS is a wrapper around a *libfs.FS and a subdir.
DNSRootLoader is an implementation of RootLoader loads a root from DNS.
ErrDomainBlockedInBlacklist is returned when the server is configured with a domain blacklist, and we receive a HTTP request that was sent to a domain that's in the blacklist.
ErrDomainNotAllowedInWhitelist is returned when the server is configured with a domain whitelist, and we receive a HTTP request that was sent to a domain that's not in the whitelist.
ErrInvalidKeybasePagesRecord is returned when the kbp= DNS record for a domain is invalid.
ErrKeybasePagesRecordNotFound is returned when a domain requested doesn't have a kbp= record configured.
ErrKeybasePagesRecordTooMany is returned when a domain requested has more than one kbp= record configured.
NameableDuration is a wrapper around time.Duration that allows customized String() encoding.
Root defines the root of a static site hosted by Keybase Pages.
ServedRequestInfo holds information regarding to an incoming request that might be useful for stats.
Server handles incoming HTTP requests by creating a Root for each host and serving content from it.
ServerConfig holds configuration parameters for Server.
# Interfaces
ActivesGetter holds necessary data to generate number of active TLFs or hosts.
ActivityStatsStorer defines a set of methods to record activities based on TLF ID and host names.
RootLoader is the interface for loading a site root.
StatsReporter defines a collection of methods for stats reporting.
# Type aliases
CtxKBPTagKey is the type used for unique context tags within kbp and libpages.
RootType specifies the type of a root.