Versions in this module Expand all Collapse all v0 v0.2.1 Sep 3, 2026 v0.2.0 Aug 28, 2026 Changes in this version type Config + Assets map[string][]byte + Worker []byte v0.1.1 Aug 28, 2026 Changes in this version + func ServiceWorkerJS() []byte v0.1.0 Aug 28, 2026 Changes in this version + const IDLen + var ErrNoAppOrigin = errors.New("realorigin: AppOrigin is required") + var ErrNoSuffix = errors.New("realorigin: Suffix is required") + func BootstrapHTML() []byte + func Handler(cfg Config) (http.Handler, error) + func Host(canonical, suffix string) string + func ID(canonical string) string + func IDFromHost(host, suffix string) (string, bool) + func ResponderJS() []byte + type Config struct + Addr string + AppOrigin string + SWPath string + Shell []byte + Suffix string + func (cfg Config) ListenAndServe(ctx context.Context) error