Documentation ¶
Overview ¶
Package generator implements all supported generators
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChicagoCredentials ¶ added in v0.4.0
type ChicagoCredentials struct { Site string // Password can also be used for providing the 4 beginning bits Password string Build string }
ChicagoCredentials is exactly what it says on the tin
func (*ChicagoCredentials) Generate ¶ added in v0.4.0
func (c *ChicagoCredentials) Generate() error
Generate generates credentials for the build specified in c.Build
func (ChicagoCredentials) String ¶ added in v0.4.0
func (c ChicagoCredentials) String() string
type KeyGenerator ¶ added in v0.1.0
KeyGenerator is exactly what it says on the tin.
type Mod7CD ¶
Mod7CD is an 10-digit mod7 CD key
type Mod7ElevenCD ¶
Mod7ElevenCD is an 11-digit mod7 CD key
func (*Mod7ElevenCD) Generate ¶
func (c *Mod7ElevenCD) Generate() error
Generate generates an 11-digit mod7 CD key.
func (Mod7ElevenCD) String ¶ added in v0.1.0
func (c Mod7ElevenCD) String() string
type Mod7OEM ¶
type Mod7OEM struct { First string // This is a string instead of int to maintain generator simplicity and performance Second string Third int // you must prepend 0 if using this field directly Fourth int }
Mod7OEM is a mod7 OEM key
Source Files ¶
Click to show internal directories.
Click to hide internal directories.