Versions in this module Expand all Collapse all v1 v1.0.48 May 8, 2018 Changes in this version type CacheableFS + func (fs CacheableFS) IsObsolete() bool v1.0.44 Feb 21, 2018 Changes in this version + const CtxKBPOpID + func ListenAndServe(ctx context.Context, config *ServerConfig, kbfsConfig libkbfs.Config) (err error) + type ActivesGetter interface + GetActives func(dur time.Duration) (activeTlfs int, activeHosts int, err error) + type ActivityStatsEnabler struct + Durations []NameableDuration + Interval time.Duration + Storer ActivityStatsStorer + type ActivityStatsStorer interface + GetActivesGetter func() (ActivesGetter, error) + RecordActives func(tlfID tlf.ID, host string) + func NewFileBasedActivityStatsStorer(rootPath string, logger *zap.Logger) (ActivityStatsStorer, error) + type CacheableFS struct + func (fs CacheableFS) Use() (*libfs.FS, error) + type CtxKBPTagKey int + const CtxKBPKey + type DNSRootLoader struct + func (l DNSRootLoader) LoadRoot(domain string) (root Root, err error) + type ErrDomainBlockedInBlacklist struct + func (ErrDomainBlockedInBlacklist) Error() string + type ErrDomainNotAllowedInWhitelist struct + func (ErrDomainNotAllowedInWhitelist) Error() string + type ErrInvalidKeybasePagesRecord struct + func (ErrInvalidKeybasePagesRecord) Error() string + type ErrKeybasePagesRecordNotFound struct + func (ErrKeybasePagesRecordNotFound) Error() string + type ErrKeybasePagesRecordTooMany struct + func (ErrKeybasePagesRecordTooMany) Error() string + type NameableDuration struct + Duration time.Duration + Name string + func (d NameableDuration) String() string + type Root struct + PathUnparsed string + TlfNameUnparsed string + TlfType tlf.Type + Type RootType + func ParseRoot(str string) (Root, error) + func (r *Root) MakeFS(ctx context.Context, log *zap.Logger, kbfsConfig libkbfs.Config) (fs CacheableFS, tlfID tlf.ID, shutdown func(), err error) + type RootLoader interface + LoadRoot func(domain string) (root Root, err error) + type RootType int + const GitRoot + const KBFSRoot + func (t RootType) String() string + type ServedRequestInfo struct + Authenticated bool + CloningShown bool + HTTPStatus int + Host string + InvalidConfig bool + Proto string + RootType RootType + TlfID tlf.ID + TlfType tlf.Type + type Server struct + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServerConfig struct + DomainBlacklist []string + DomainWhitelist []string + Logger *zap.Logger + StatsReporter StatsReporter + UseDiskCertCache bool + UseStaging bool + type StatsReporter interface + ReportServedRequest func(r *ServedRequestInfo) + func NewMultiStatReporter(reporters ...StatsReporter) StatsReporter + func NewStathatReporter(logger *zap.Logger, prefix string, ezKey string, ...) StatsReporter Incompatible versions in this module v2.11.0+incompatible Nov 30, 2018