node

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(node *[]nodeModel.Base) int

func CloseNodePool added in v1.0.2

func CloseNodePool() error

func DeleteBySubId added in v1.5.2

func DeleteBySubId(subID uint16)

func ForEach

func ForEach(fn func(node []byte))

func GetAll

func GetAll() []nodeModel.Data

func GetByFilter

func GetByFilter(filter nodeModel.Filter) *[]nodeModel.Data

func GetBySubId

func GetBySubId(subId []uint16) *[]nodeModel.Data

func GetBySubIdExclude added in v1.4.2

func GetBySubIdExclude(subId []uint16) []uint16

func GetCountryInfo

func GetCountryInfo(country string) nodeModel.SimpleInfo

func GetSubInfo

func GetSubInfo(subID uint16) nodeModel.SimpleInfo

func InitNodePool

func InitNodePool(size int)

func NewExist

func NewExist(size int) *exist

func RefreshInfo

func RefreshInfo()

Types

This section is empty.

Jump to

Keyboard shortcuts

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