staging

package
v1.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitAllChanges

func CommitAllChanges(databaseContext database.DB, stagingArea *model.StagingArea) error

CommitAllChanges creates a transaction in `databaseContext`, and commits all changes in `stagingArea` through it.

func GenerateShardingID

func GenerateShardingID() model.StagingShardID

GenerateShardingID generates a unique staging sharding ID.

func UseLogger

func UseLogger(logger l.Logger)

UseLogger uses a specified Logger to output package logging info.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL