Documentation ¶
Index ¶
Constants ¶
View Source
const NsqChannel = "channel"
View Source
const NsqServer = "localhost:4150"
View Source
const NsqTopic = "scraper_"
Variables ¶
This section is empty.
Functions ¶
func WriteLinksToFile ¶
Types ¶
type NSQDServer ¶
type NSQDServer struct {
// contains filtered or unexported fields
}
func NewNSQDServer ¶
func NewNSQDServer() (*NSQDServer, error)
func (*NSQDServer) Error ¶
func (s *NSQDServer) Error() <-chan error
func (*NSQDServer) Stop ¶
func (s *NSQDServer) Stop()
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) StopProducer ¶
func (store *Queue) StopProducer()
func (*Queue) StopSignal ¶
func (store *Queue) StopSignal()
Click to show internal directories.
Click to hide internal directories.