telemetry

package
v0.11.12 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Segment      *analytics.Client
	Logger       logrus.FieldLogger
	ID           string
	InstanceID   string
	BuildVersion string
	BuildHash    string
	BuildTime    string
	Middleware   *Middleware
}

func (*Manager) Identify

func (m *Manager) Identify()

func (*Manager) Submit

func (m *Manager) Submit()

type Middleware

type Middleware struct {
	Requests int64
	sync.Mutex
}

func (*Middleware) ServeHTTP

func (m *Middleware) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Jump to

Keyboard shortcuts

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