dep

package
v0.3.58 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOptions

func NewOptions(opts ...Option) *options

Types

type IIDGenerate

type IIDGenerate interface {
	NewIDX(ctx context.Context, key string) uint64
	NewID(ctx context.Context, key string) (uint64, error)
	NewIDIterate(ctx context.Context, iterate func(uint64), key string, opts ...Option) error
}

type Option

type Option func(*options)

func WithNum

func WithNum(num uint64) Option

Jump to

Keyboard shortcuts

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