generator

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const TIME_LAYOUT = "20060102150405"

yyyyMMddHHmmSS

View Source
const ZERO_BYTE = byte('0')

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderGenerator

type OrderGenerator struct {
	ClusterId   *string
	MachineId   *string
	Concurrency int
	// contains filtered or unexported fields
}

func New

func New(clusterId *string, concurrency int) *OrderGenerator

func (*OrderGenerator) GenerateIndex

func (g *OrderGenerator) GenerateIndex() string

func (*OrderGenerator) GenerateOrderId

func (g *OrderGenerator) GenerateOrderId() string

Jump to

Keyboard shortcuts

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