Documentation
¶
Overview ¶
Code generated by tools/gen-keys. DO NOT EDIT.
Last updated at Fri, 26 Jul 2019 18:09:14 BST
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuiltinKeyData = PublicKeysData{ Keys: []string{ `-----BEGIN PUBLIC KEY----- MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBFiE1Y7Go1RcZL4iA2zPIlWy/gMqw 9FHC+jbpdv24x+EONqwh1YF6wxcXWNFxxTip/6b7Ch3LD1hDM7Q6JxD7A9EAftfP H347+8MKNzBhektOJka/vfTYlg8OF9MuFORet/FXpp24xHTdT3JARRy/SQHYRwCF D6U+KRSFP9c/TXSQw2c= -----END PUBLIC KEY----- `, }, }
Functions ¶
This section is empty.
Types ¶
type LicenseMetadata ¶
type LicenseParser ¶
type LicenseParser struct {
// contains filtered or unexported fields
}
func NewLicenseParser ¶
func NewLicenseParser(pub PublicKeysData) *LicenseParser
type LoadedKeyData ¶
func LoadPublicKeys ¶
func LoadPublicKeys(pub PublicKeysData) LoadedKeyData
LoadPublicKeys loads our keys and returns map with checksums
type PublicKeysData ¶
type PublicKeysData struct {
Keys []string `json:"keys"`
}
PublicKeysData is our license public keys helper
Click to show internal directories.
Click to hide internal directories.