Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sequencer ¶
type Sequencer interface { NextVal(appCtx appcontext.AppContext) (int64, error) SetVal(appCtx appcontext.AppContext, val int64) error }
Sequencer provides an interface for generating sequence numbers.
func NewDatabaseSequencer ¶
NewDatabaseSequencer is a factory for creating a new database-backed sequencer
Click to show internal directories.
Click to hide internal directories.