Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AGPLInserter ¶
type AGPLInserter struct{}
AGPLInserter is a no-op implementation of Inserter.
func (AGPLInserter) InsertDiscreteUsageEvent ¶
func (AGPLInserter) InsertDiscreteUsageEvent(_ context.Context, _ database.Store, _ usagetypes.DiscreteEvent) error
InsertDiscreteUsageEvent is a no-op implementation of InsertDiscreteUsageEvent.
type Inserter ¶
type Inserter interface { // InsertDiscreteUsageEvent writes a discrete usage event to the database // within the given transaction. // The caller context must be authorized to create usage events in the // database. InsertDiscreteUsageEvent(ctx context.Context, tx database.Store, event usagetypes.DiscreteEvent) error }
Inserter accepts usage events generated by the product.
func NewAGPLInserter ¶
func NewAGPLInserter() Inserter
Directories
¶
Path | Synopsis |
---|---|
Package usagetypes contains the types for usage events.
|
Package usagetypes contains the types for usage events. |
Click to show internal directories.
Click to hide internal directories.