datasource

package
v0.0.0-...-7c2d819 Latest Latest
Warning

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

Go to latest
Published: May 4, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package datasource provides a common interface for different datasources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer interface {
	// Start a new consumer and returns a channel for returning data
	Start() (chan string, error)
	// Stop the consumer
	Stop() error
}

Consumer is interface defining how to consume data from a datasource

Directories

Path Synopsis
package asaka provides consumer facility to read monitor data from Asaka
package asaka provides consumer facility to read monitor data from Asaka

Jump to

Keyboard shortcuts

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