Documentation
¶
Index ¶
- type Network
- func (n *Network) ForwardDNS(ctx context.Context, h string) (found []net.Addr, e error)
- func (n *Network) GetPublicPrivateAddrs(reverse, forward string) (string, string)
- func (n *Network) Listen(network, addr string) (net.Listener, error)
- func (n *Network) PublicAddr(ctx context.Context, l net.Listener) (string, error)
- func (n *Network) ReverseDNS(ctx context.Context, a string) ([]string, error)
- func (n *Network) Setup() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
func NewLokiNetwork ¶
func (*Network) ForwardDNS ¶
func (*Network) GetPublicPrivateAddrs ¶
func (*Network) PublicAddr ¶
func (*Network) ReverseDNS ¶
Click to show internal directories.
Click to hide internal directories.