~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
20 lines · 220 B Raw History
package relay

import (
	"context"
	"net/http"
)

type Crawler interface {
	Crawl(hostname string)

	Forget(hostname string)
}

type Relay interface {
	Crawler

	Handler() http.Handler

	Run(ctx context.Context) error
}