* clients: refactor

This commit is contained in:
Simon Zolin
2019-11-22 14:37:25 +03:00
parent 90ce70225f
commit e9cb8666ce
3 changed files with 22 additions and 21 deletions

View File

@@ -77,6 +77,8 @@ func (clients *clientsContainer) Init(objects []clientObject, dhcpServer *dhcpd.
clients.addFromConfig(objects)
go clients.periodicUpdate()
clients.registerWebHandlers()
}
type clientObject struct {