storj

package
v0.0.0-...-d30abd5 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	// contains filtered or unexported fields
}

Listener implements the listener.Listener for the graphite wire protocol.

func New

func New(address string) *Listener

New returns a Listener that when Run will listen on the provided address.

func (*Listener) Run

func (l *Listener) Run(ctx context.Context, w *data.Writer) (err error)

Run listens on the address and writes all of the metrics to the writer.

Jump to

Keyboard shortcuts

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