Documentation ¶
Index ¶
- Variables
- type NewConnector
- type NewDialer
- type NewHandler
- type NewListener
- type Registry
- func AdmissionRegistry() Registry[admission.Admission]
- func AutherRegistry() Registry[auth.Authenticator]
- func BypassRegistry() Registry[bypass.Bypass]
- func ChainRegistry() Registry[chain.Chainer]
- func ConnectorRegistry() Registry[NewConnector]
- func DialerRegistry() Registry[NewDialer]
- func HandlerRegistry() Registry[NewHandler]
- func HostsRegistry() Registry[hosts.HostMapper]
- func ListenerRegistry() Registry[NewListener]
- func RecorderRegistry() Registry[recorder.Recorder]
- func ResolverRegistry() Registry[resolver.Resolver]
- func ServiceRegistry() Registry[service.Service]
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDup = errors.New("registry: duplicate object")
)
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry[T any] interface { Register(name string, v T) error Unregister(name string) IsRegistered(name string) bool Get(name string) T }
func AdmissionRegistry ¶
func AutherRegistry ¶
func AutherRegistry() Registry[auth.Authenticator]
func BypassRegistry ¶
func ChainRegistry ¶
func ConnectorRegistry ¶
func ConnectorRegistry() Registry[NewConnector]
func DialerRegistry ¶
func HandlerRegistry ¶
func HandlerRegistry() Registry[NewHandler]
func HostsRegistry ¶
func HostsRegistry() Registry[hosts.HostMapper]
func ListenerRegistry ¶
func ListenerRegistry() Registry[NewListener]
func RecorderRegistry ¶
func ResolverRegistry ¶
func ServiceRegistry ¶
Click to show internal directories.
Click to hide internal directories.