github.com/netdata/go.d.plugin@v0.58.1/modules/openvpn/client/types.go (about)

     1  // SPDX-License-Identifier: GPL-3.0-or-later
     2  
     3  package client
     4  
     5  type LoadStats struct {
     6  	NumOfClients int64
     7  	BytesIn      int64
     8  	BytesOut     int64
     9  }
    10  
    11  type Version struct {
    12  	Major      int64
    13  	Minor      int64
    14  	Patch      int64
    15  	Management int64
    16  }
    17  
    18  type Users []User
    19  
    20  type User struct {
    21  	CommonName     string
    22  	RealAddress    string
    23  	VirtualAddress string
    24  	BytesReceived  int64
    25  	BytesSent      int64
    26  	ConnectedSince int64
    27  	Username       string
    28  }