1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00
ctrl/central_auth.go

19 lines
307 B
Go
Raw Normal View History

package steward
type signatureBase32 string
type argsString string
type centralAuth struct {
schema map[Node]map[argsString]signatureBase32
2022-02-11 06:27:51 +00:00
configuration *Configuration
}
func newCentralAuth() *centralAuth {
a := centralAuth{
schema: make(map[Node]map[argsString]signatureBase32),
}
return &a
}