summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/openvpn/client/types.go
blob: a0a2830285b561fda771d35d0fd8b43cad597b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}