Versions in this module Expand all Collapse all v1 v1.0.0 Sep 11, 2026 Changes in this version + var ErrBlocked = errors.New("crawl: refused to dial a non-public address") + func Bind(vfs Store) + func BindMeter(m Meter) + func BindRenderer(r Renderer) + type Archive struct + func (a *Archive) Get(ctx context.Context, s Scope, url string) (*Page, bool) + func (a *Archive) Put(ctx context.Context, s Scope, requested string, p *Page) error + type Charge interface + Debit func() + Release func() + type Meter interface + Reserve func(ctx context.Context) (Charge, error) + type Page struct + Markdown string + Metadata map[string]any + Title string + URL string + func Fetch(ctx context.Context, raw string) (*Page, error) + func Read(ctx context.Context, s Scope, url string) (*Page, error) + type Renderer struct + Token string + URL string + type Scope struct + Org string + Project string + type Store interface + Get func(ctx context.Context, key string) ([]byte, error) + Put func(ctx context.Context, key string, payload []byte) error