...

Package auditor

import "github.com/sassoftware/relic/cmdline/auditor"
Overview
Index

Overview ▾

Variables

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

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