Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxBase = 999 MaxActivationValue = 995 PaygDisableValue = 998 CounterSyncValue = 999 TokenValueOffset = 1000 )
View Source
const ( TokenTypeAddTime TokenType = 1 TokenTypeSetTime = 2 TokenTypeDisablePayg = 3 TokenTypeCounterSync = 4 TokenTypeInvalid = 10 TokenTypeAlreadyUsed = 11 )
Variables ¶
This section is empty.
Functions ¶
func ConvertTo4DigitsToken ¶
func GenerateNextToken ¶
func GenerateStartingCode ¶
func GetTokenBase ¶
func PutBaseInToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.