Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Whois ¶
type Whois interface { // send !! EnableMultiCommand() error // send !t<timeout> SetIdleTimout(d time.Duration) error // send !v GetVersion() (string, error) // send query !i<set-name> or !i<set-name>,1 depending on bool GetSetMembers(set string, recursive bool) ([]string, error) // send query !i<set-name>,1 GetAsSetMembersRecrusive(set string) ([]uint32, error) // send query !gAS<asn> or !6AS<asn> depending on p GetRoutesByOrigin(p IPProto, asn uint32) ([]netip.Prefix, error) // send query !a<as-set-name> !a4<as-set-name> or !a6<as-set-name> depending on p GetRoutesBySet(p IPProto, set string) ([]netip.Prefix, error) io.Closer }
func NewFromBufferedConn ¶
func NewFromBufferedConn(c conn.BufferedConn) Whois
func NewFromNetConn ¶
type WhoisCache ¶
func NewCache ¶
func NewCache() WhoisCache
Click to show internal directories.
Click to hide internal directories.