mirror of
https://github.com/postmannen/ctrl.git
synced 2025-01-05 20:09:16 +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
|
|
}
|