corridgen

package
v0.0.0-...-2da2eef Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator - generate unique uint64 ids

func New

func New(id uint8) *Generator

New - constructor

func (*Generator) GetID

func (gen *Generator) GetID() uint64

GetID - return unique uint64 id

Jump to

Keyboard shortcuts

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