checkpoint

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadCheckpoint

func ReadCheckpoint(db *gorm.DB) int64

func RecordCheckpoint

func RecordCheckpoint(db *gorm.DB, newStartOffset int64) error

Types

type Checkpoint

type Checkpoint struct {
	model.Model
	StartOffset int64
}

Source Files

Jump to

Keyboard shortcuts

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