main - adding WireGuard stats to JSON objects

- Adding WireGuard stats through to IPC calls so that they can be used
by the API
This commit is contained in:
Tim Beatham
2023-12-11 09:55:25 +00:00
parent 1789d203f6
commit 3222d7e388
5 changed files with 82 additions and 24 deletions

View File

@ -89,6 +89,7 @@ func NewCtrlServer(params *NewCtrlServerParams) (*MeshCtrlServer, error) {
return ctrlServer, nil
}
func (s *MeshCtrlServer) GetConfiguration() *conf.DaemonConfiguration {
return s.Conf
}