Files
Ocean/NumGen/Variables.go
T

15 lines
661 B
Go
Raw Normal View History

2014-04-26 11:18:56 +02:00
package NumGen
2014-10-19 19:19:11 +02:00
import (
LM "github.com/SommerEngineering/Ocean/Log/Meta"
"sync"
2015-06-18 17:13:41 +02:00
"time"
2014-10-19 19:19:11 +02:00
)
2014-04-26 11:18:56 +02:00
var (
2015-06-18 17:13:41 +02:00
senderName LM.Sender = `System::NumGen` // This is the name for logging event from this package
genLock sync.Mutex = sync.Mutex{} // The mutex for the generator
genCurrentTime time.Time = time.Now().UTC() // The time for the last generated number
genCurrentMillisecond int = 0 // The millisecond for the last generated number
genCurrentMillisecondCounter int = 0 // The counter of how many numbers are generated at the same time
2014-04-26 11:18:56 +02:00
)