Documentation ¶
Index ¶
- type DB
- type Tx
- func (tx *Tx) Commit() error
- func (tx *Tx) InsertMessageID(ctx context.Context, account string, msg message.ID) error
- func (tx *Tx) LatestHistoryID(ctx context.Context) (uint64, error)
- func (tx *Tx) ListUpdated(ctx context.Context, account string, limit int, handler func(message.ID) error) error
- func (tx *Tx) Rollback() error
- func (tx *Tx) UpdateHeader(ctx context.Context, account string, hdr *message.Header) error
- func (tx *Tx) WriteHistoryID(ctx context.Context, account string, history_id uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
func (*Tx) InsertMessageID ¶
func (*Tx) ListUpdated ¶
func (*Tx) UpdateHeader ¶
Click to show internal directories.
Click to hide internal directories.