listener

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: 2 Imported by: 0

README

package listener

import "github.com/zeebo/rothko/listener"

package listener provides types for adding data to rothko.

Usage

type Listener
type Listener interface {
	// Run should Add values into the Writer until the context is canceled.
	Run(ctx context.Context, w *data.Writer) (err error)
}

Listener is a type that writes from some data source to the privided Writer.

Documentation

Overview

package listener provides types for adding data to rothko.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener interface {
	// Run should Add values into the Writer until the context is canceled.
	Run(ctx context.Context, w *data.Writer) (err error)
}

Listener is a type that writes from some data source to the privided Writer.

Directories

Path Synopsis
package graphite provides a listener for the graphite wire protocol.
package graphite provides a listener for the graphite wire protocol.

Jump to

Keyboard shortcuts

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