openvpn_status_log

package
v0.56.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogPath      string             `yaml:"log_path"`
	PerUserStats matcher.SimpleExpr `yaml:"per_user_stats"`
}

type OpenVPNStatusLog

type OpenVPNStatusLog struct {
	module.Base

	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *OpenVPNStatusLog

func (OpenVPNStatusLog) Charts

func (o OpenVPNStatusLog) Charts() *module.Charts

func (*OpenVPNStatusLog) Check

func (o *OpenVPNStatusLog) Check() bool

func (*OpenVPNStatusLog) Cleanup

func (o *OpenVPNStatusLog) Cleanup()

func (*OpenVPNStatusLog) Collect

func (o *OpenVPNStatusLog) Collect() map[string]int64

func (*OpenVPNStatusLog) Init

func (o *OpenVPNStatusLog) Init() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL