Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLite ¶
type SQLite struct {
// contains filtered or unexported fields
}
SQLite defines a generic structure for persisting data to an sqlite3 database
type Writer ¶
type Writer interface { // Init performs any initialization before the data can be written. This is always be called first // If the storage has any links that have not been visted, add those back to the queue Init() ([]string, error) // Write writes a single data.Parser object Write(obj data.Parser) error GetQueue() []string // Close performs and shutdown tasks. This must always be called last Close() }
Writer is an interface to save data to a specific location Provides a flexibile interface to save in variable formats
Click to show internal directories.
Click to hide internal directories.