awsexpvar

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

README

awsexpvar

Build Status GoDoc

awsexpvar exposes AWS instance information via expvar

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expvar

type Expvar struct {
	Log    Logger
	Client *http.Client
}

Expvar allows exposing ECS and EC2 metadata on expvar

func (*Expvar) Var

func (e *Expvar) Var() expvar.Var

Var creates the expvar you should expose

type Logger

type Logger interface {
	Log(keyvals ...interface{})
}

Logger is optional and allows logging errors closing local request bodies

Jump to

Keyboard shortcuts

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