wifictld-analyzer/database/main.go

14 lines
229 B
Go
Raw Normal View History

2018-06-03 20:37:52 +02:00
package database
type DB struct {
Clients map[string]*Client `json:"client"`
APs map[string]*AP `json:"ap"`
}
func NewDB() *DB {
return &DB{
Clients: make(map[string]*Client),
APs: make(map[string]*AP),
}
}