storage

package
v0.0.0-...-14fe6e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayIntersection

type ArrayIntersection struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*ArrayIntersection) Insert

func (s *ArrayIntersection) Insert(id int64, ipv4 int32) bool

func (*ArrayIntersection) Intersected

func (s *ArrayIntersection) Intersected(id1, id2 int64) bool

type MapIntersection

type MapIntersection struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*MapIntersection) Insert

func (s *MapIntersection) Insert(id int64, ipv4 int32) bool

func (*MapIntersection) Intersected

func (s *MapIntersection) Intersected(id1, id2 int64) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL