Documentation
¶
Index ¶
- Variables
- type BoltStore
- func (b *BoltStore) AllowedSites() (res []*crawler.Site, e error)
- func (b *BoltStore) Connect(filepath string) (e error)
- func (b *BoltStore) CountLink() (count int)
- func (b *BoltStore) CountSite() (count int)
- func (b *BoltStore) GetBlob(key string) ([]byte, error)
- func (b *BoltStore) GetLink(rawurl string) (*crawler.Link, bool)
- func (b *BoltStore) GetSite(host string) (*crawler.Site, bool)
- func (b *BoltStore) NotVisited() (res []*crawler.Link, e error)
- func (b *BoltStore) SaveBlob(key string, in []byte) (e error)
- func (b *BoltStore) SaveLink(l *crawler.Link) error
- func (b *BoltStore) SaveSite(s *crawler.Site) error
- func (b *BoltStore) Visited() (res []*crawler.Link, e error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.