Documentation ¶
Index ¶
- Constants
- type ByteString
- type NodeStorage
- func (n *NodeStorage) Dump(out io.Writer) error
- func (n *NodeStorage) EachChildNode(callback func(idx int, node *html.Node))
- func (n *NodeStorage) EachNode(callback func(idx int, node *html.Node))
- func (n *NodeStorage) Key() bolt.Key
- func (n *NodeStorage) SetValue(val []byte) error
- func (n *NodeStorage) Value() ([]byte, error)
- type Request
- type Scrape
Constants ¶
View Source
const ( DbPath = "temp/scrape.db" Nodes bolt.Key = "nodes" )
View Source
const NewLine bolt.Key = "\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeStorage ¶
type NodeStorage struct {
// contains filtered or unexported fields
}
func (*NodeStorage) EachChildNode ¶
func (n *NodeStorage) EachChildNode(callback func(idx int, node *html.Node))
func (*NodeStorage) EachNode ¶
func (n *NodeStorage) EachNode(callback func(idx int, node *html.Node))
func (*NodeStorage) Key ¶
func (n *NodeStorage) Key() bolt.Key
func (*NodeStorage) SetValue ¶
func (n *NodeStorage) SetValue(val []byte) error
func (*NodeStorage) Value ¶
func (n *NodeStorage) Value() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.