events

package
v0.0.0-...-4402e7d Latest Latest
Warning

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

Go to latest
Published: May 27, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	ServiceName  string
	Protocol     string
	InstanceName string
	InstanceAddr netutil.IPPort
	Inbound      *net.TCPAddr
}

type DiscardOthers

type DiscardOthers struct{}

func (DiscardOthers) Connection

func (DiscardOthers) Connection(*Connection)

func (DiscardOthers) HttpExchange

func (DiscardOthers) HttpExchange(*HttpExchange)

type Handler

type Handler interface {
	Connection(*Connection)
	HttpExchange(*HttpExchange)
}

type HttpExchange

type HttpExchange struct {
	*Connection
	Request   *http.Request
	Response  *http.Response
	RoundTrip time.Duration
	TotalTime time.Duration
}

type NullHandler

type NullHandler struct{ DiscardOthers }

func (NullHandler) Stop

func (NullHandler) Stop()

Jump to

Keyboard shortcuts

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