exporter

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	Name    string
	LogInfo *log.Logger
	LogWarn *log.Logger
	LogCrit *log.Logger
	// contains filtered or unexported fields
}

func New

func New(name string) *Exporter

func (*Exporter) ListenAndServeHTTP

func (e *Exporter) ListenAndServeHTTP(addr string) error

func (*Exporter) ListenAndServeHTTPS

func (e *Exporter) ListenAndServeHTTPS(addr string, certFile string, keyFile string) error

func (*Exporter) NewEndpointHTTP

func (e *Exporter) NewEndpointHTTP(path string, description string, handlerFunc http.HandlerFunc) error

Jump to

Keyboard shortcuts

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