mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
18 lines
307 B
Go
18 lines
307 B
Go
package steward
|
|
|
|
type signatureBase32 string
|
|
type argsString string
|
|
|
|
type centralAuth struct {
|
|
schema map[Node]map[argsString]signatureBase32
|
|
|
|
configuration *Configuration
|
|
}
|
|
|
|
func newCentralAuth() *centralAuth {
|
|
a := centralAuth{
|
|
schema: make(map[Node]map[argsString]signatureBase32),
|
|
}
|
|
|
|
return &a
|
|
}
|