receiver

package
v0.0.0-...-f7c54c4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2015 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receiver

type Receiver struct {
	Wg sync.WaitGroup
	// contains filtered or unexported fields
}

Receiver implements a simple TCP service to receive Oopses

func NewReceiver

func NewReceiver(quit chan struct{}, path string) Receiver

NewReceiver is a Receiver factory

func (*Receiver) ReceiveOops

func (r *Receiver) ReceiveOops(c net.Conn)

ReceiverOops is the TPC connection handler that handles the reception of oopses

func (*Receiver) Run

func (r *Receiver) Run(laddr *net.TCPAddr)

Run start the Receiver service

func (*Receiver) Stop

func (r *Receiver) Stop() error

Stop stops the receptions of oops

Jump to

Keyboard shortcuts

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