tokyo

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

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

Import class

func New

func New(r io.Reader) *Import

New returns new Import instance

func NewWeb

func NewWeb(ctx context.Context, cli fetch.Client) (*Import, error)

NewWeb returns new Import instance

func (*Import) Close

func (i *Import) Close()

Close method close reader if it has io.Closer interface.

func (*Import) Data

func (i *Import) Data(opts ...filter.FiltersOptFunc) ([]*entity.TokyoData, error)

Data method returns entity.GlobalData list

func (*Import) Histogram

func (i *Import) Histogram(period values.Period, step int, opts ...filter.FiltersOptFunc) ([]*histogram.HistData, error)

Data method returns entity.GlobalData list

func (*Import) RawReader

func (i *Import) RawReader() io.Reader

RawReader method returns raw data stream

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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