Versions in this module Expand all Collapse all v0 v0.4.12 Nov 13, 2026 v0.4.11 Nov 10, 2026 Changes in this version + type Asker func(ctx context.Context, host, port string, covered func() bool, ...) (Decision, error) + type Decision int + const DecisionDeny + const DecisionOnce + const DecisionSession + type Owner struct + func (o *Owner) Close() + func (o *Owner) Refusals() []Refusal + func (o *Owner) Register(local netip.AddrPort) error + type Refusal struct + Host string + Port string + Reason string + type Server struct + func New(allow []string) (*Server, error) + func (s *Server) NewOwner(ask Asker) *Owner + func (s *Server) Refusals() []Refusal + func (s *Server) Start() (string, error) + func (s *Server) Stop()