Work in progress in rule generation

This commit is contained in:
Juan Font 2021-07-03 17:31:32 +02:00
parent bbd6a67c46
commit 136aab9dc8
4 changed files with 169 additions and 38 deletions

2
app.go
View file

@ -49,6 +49,8 @@ type Headscale struct {
publicKey *wgkey.Key
privateKey *wgkey.Private
aclPolicy *ACLPolicy
pollMu sync.Mutex
clientsPolling map[uint64]chan []byte // this is by all means a hackity hack
}