auditor

package
v7.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuditCmd = &cobra.Command{
	Use:   "audit",
	Short: "Receive audit data from relic servers",
	RunE:  auditCmd,
}

Functions

This section is empty.

Types

type AuditConfig

type AuditConfig struct {
	ConfigDir   string
	DatabaseURI string
	LogFile     string
	GraylogURL  string
}

type Listener

type Listener struct {
	// contains filtered or unexported fields
}

func NewListener

func NewListener(aconf *config.AmqpConfig) (*Listener, error)

func (*Listener) Close

func (l *Listener) Close() error

func (*Listener) Loop

func (l *Listener) Loop(db *sql.DB) error

Jump to

Keyboard shortcuts

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