Versions in this module Expand all Collapse all v0 v0.79.0 Feb 19, 2026 v0.78.3 Feb 19, 2026 Changes in this version + func ReadHosts(ctx context.Context, l *slog.Logger, paths []string) (strg hostsfile.Storage, err error) + type Config struct + HaltIPv6 bool + HostsFiles hostsfile.Storage + Logger *slog.Logger + MessageConstructor proxy.MessageConstructor + type Default struct + func New(conf *Config) (mw *Default) + func (mw *Default) Wrap(h proxy.Handler) (wrapped proxy.Handler)