flother

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

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

Go to latest
Published: May 31, 2016 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flother

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

func NewFlother

func NewFlother(epoch time.Time, node uint64) *Flother

epoch is the offset to use for the id generation and node is the unique node id for this node.

func (*Flother) GetID

func (f *Flother) GetID() uint64

Get an ID

Jump to

Keyboard shortcuts

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