Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CrawlerNotFound = errors.New("Crawler Not Found")
)
View Source
var (
EmptyError = errors.New("No node have been added")
)
Functions ¶
This section is empty.
Types ¶
type ConsistentHash ¶
func NewConsistentHash ¶
func NewConsistentHash() *ConsistentHash
func (*ConsistentHash) Add ¶
func (c *ConsistentHash) Add(token string)
func (*ConsistentHash) Remove ¶
func (c *ConsistentHash) Remove(token string)
type Crawler ¶
type Crawler struct {
// contains filtered or unexported fields
}
func NewCrawler ¶
func (*Crawler) GetExchangeId ¶
func (c *Crawler) GetExchangeId() exchangeid
Click to show internal directories.
Click to hide internal directories.