Documentation
¶
Index ¶
- func Add(node *[]nodeModel.Base) int
- func CloseNodePool() error
- func DeleteBySubId(subID uint16)
- func ForEach(fn func(node []byte))
- func GetAll() []nodeModel.Data
- func GetByFilter(filter nodeModel.Filter) *[]nodeModel.Data
- func GetBySubId(subId []uint16) *[]nodeModel.Data
- func GetBySubIdExclude(subId []uint16) []uint16
- func GetCountryInfo(country string) nodeModel.SimpleInfo
- func GetSubInfo(subID uint16) nodeModel.SimpleInfo
- func InitNodePool(size int)
- func NewExist(size int) *exist
- func RefreshInfo()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseNodePool ¶ added in v1.0.2
func CloseNodePool() error
func DeleteBySubId ¶ added in v1.5.2
func DeleteBySubId(subID uint16)
func GetBySubId ¶
func GetBySubIdExclude ¶ added in v1.4.2
func GetCountryInfo ¶
func GetCountryInfo(country string) nodeModel.SimpleInfo
func GetSubInfo ¶
func GetSubInfo(subID uint16) nodeModel.SimpleInfo
func InitNodePool ¶
func InitNodePool(size int)
func RefreshInfo ¶
func RefreshInfo()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.