parser

package
v0.0.0-...-3f26e22 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChannel

func GetChannel() chan []*Record

GetChannel the channel used to notify updates

func ParseFile

func ParseFile(filename string) error

ParseFile read the content to map

func WatchFile

func WatchFile(filename string)

WatchFile watch for changes

Types

type Record

type Record struct {
	IP        string
	Name      string
	RemoteIP  string
	Connected time.Time
}

Record of OpenVPN log

Jump to

Keyboard shortcuts

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