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