counter

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "counter"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count struct {
	SequenceName string `bson:"_id"`
	Value        uint64 `bson:"value"`
}

Count todo

func NewCount

func NewCount() *Count

NewCount todo

type Service

type Service interface {
	GetNextSequenceValue(sequenceName string) (*Count, error)
}

Service todo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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