Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAlreadyCrawledRecently = errors.New("error: already crawled recently")
)
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Get ¶
func (s *Store) Get(url string) (*crawled_url.CrawledUrl, io.Closer, error)
type StoringFetchable ¶
type StoringFetchable struct {
// contains filtered or unexported fields
}
func NewStoringFetchable ¶
func NewStoringFetchable(urlStr string, store *Store, minInterval time.Duration) *StoringFetchable
func (*StoringFetchable) HandleResponse ¶
func (s *StoringFetchable) HandleResponse(resp *http.Response) error
func (*StoringFetchable) Id ¶
func (s *StoringFetchable) Id() string
func (*StoringFetchable) Validate ¶
func (s *StoringFetchable) Validate() error
Click to show internal directories.
Click to hide internal directories.