diff options
Diffstat (limited to '')
-rw-r--r-- | src/go/plugin/go.d/modules/openvpn/client/types.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/go/plugin/go.d/modules/openvpn/client/types.go b/src/go/plugin/go.d/modules/openvpn/client/types.go new file mode 100644 index 000000000..a0a283028 --- /dev/null +++ b/src/go/plugin/go.d/modules/openvpn/client/types.go @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +package client + +type LoadStats struct { + NumOfClients int64 + BytesIn int64 + BytesOut int64 +} + +type Version struct { + Major int64 + Minor int64 + Patch int64 + Management int64 +} + +type Users []User + +type User struct { + CommonName string + RealAddress string + VirtualAddress string + BytesReceived int64 + BytesSent int64 + ConnectedSince int64 + Username string +} |