Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BiDirectionalCache ¶
type BiDirectionalCache struct {
// contains filtered or unexported fields
}
func NewBiDirectionalCache ¶
func NewBiDirectionalCache(size int) (*BiDirectionalCache, error)
func (*BiDirectionalCache) GetBigIntFromIP ¶
func (*BiDirectionalCache) GetIPFromBigInt ¶
func (c *BiDirectionalCache) GetIPFromBigInt(bigIntKey string) (netip.Addr, bool)
func (*BiDirectionalCache) PutIPAndBigInt ¶
func (c *BiDirectionalCache) PutIPAndBigInt(ip netip.Addr, bigInt *big.Int)
Click to show internal directories.
Click to hide internal directories.