Documentation
¶
Index ¶
- type ProviderInfo
- type Store
- func (s *Store) AddRanges(provider string, cidrs []string) error
- func (s *Store) Build() (*trie.Trie, error)
- func (s *Store) Init() error
- func (s *Store) ListProviders() ([]ProviderInfo, error)
- func (s *Store) LoadOrBuildTrie(seedFS fs.FS) (*trie.Trie, error)
- func (s *Store) LoadTrie() (*trie.Trie, error)
- func (s *Store) OverwriteRanges(provider string, cidrs []string) error
- func (s *Store) ProviderExists(provider string) bool
- func (s *Store) ReadProviderRanges(provider string) ([]string, error)
- func (s *Store) RemoveProvider(provider string) error
- func (s *Store) SeedFromFS(seedFS fs.FS) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderInfo ¶
type Store ¶
func DefaultStore ¶
func (*Store) ListProviders ¶
func (s *Store) ListProviders() ([]ProviderInfo, error)
func (*Store) OverwriteRanges ¶
func (*Store) ProviderExists ¶
func (*Store) ReadProviderRanges ¶
func (*Store) RemoveProvider ¶
Click to show internal directories.
Click to hide internal directories.