rpcmonitor

package
v7.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultRPCAddress is the default Linux socket for the RPC monitor
	DefaultRPCAddress = "/var/run/trireme.sock"

	// DefaultRootRPCAddress creates an RPC listener that requires root credentials
	DefaultRootRPCAddress = "/var/run/triremeroot.sock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener interface {
	Start() error
	Stop() error
}

Listener is an interface to allow us to listen to eventinfo.EventInfo over RPC channels

func New

func New(rpcAddress string, root bool) (Listener, registerer.Registerer, error)

New returns a base RPC listener. Processors must be registered externally

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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