Documentation ¶
Index ¶
- func New(ctx context.Context, dataSourceName string, tlsInfo tls.Config, ...) (server.Backend, error)
- type Tx
- func (t *Tx) Commit() error
- func (t *Tx) Compact(ctx context.Context, revision int64) (int64, error)
- func (t *Tx) CurrentRevision(ctx context.Context) (int64, error)
- func (t *Tx) DeleteRevision(ctx context.Context, revision int64) error
- func (t *Tx) GetCompactRevision(ctx context.Context) (int64, error)
- func (t *Tx) GetRevision(ctx context.Context, revision int64) (*sql.Rows, error)
- func (t *Tx) MustCommit()
- func (t *Tx) MustRollback()
- func (t *Tx) Rollback() error
- func (t *Tx) SetCompactRevision(ctx context.Context, revision int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
func (*Tx) GetRevision ¶
func (*Tx) MustCommit ¶
func (t *Tx) MustCommit()
func (*Tx) MustRollback ¶
func (t *Tx) MustRollback()
Click to show internal directories.
Click to hide internal directories.