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
Click to show internal directories.
Click to hide internal directories.