Documentation ¶
Overview ¶
Package bq contains helpers for uploading rows to BigQuery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogToken ¶
LogToken emits a PubSub task to record the token to the BigQuery log.
If `dryRun` is true, will just log the token to the local text log.
func RegisterTokenKind ¶
RegisterTokenKind registers a TQ class to log a particular token kind into a particular BigQuery table.
Types ¶
type Inserter ¶
type Inserter struct {
// contains filtered or unexported fields
}
Inserter receives PubSub push messages and converts them to BQ inserts.
func NewInserter ¶
NewInserter constructs an instance of Inserter.
Click to show internal directories.
Click to hide internal directories.