mock

package
Version: v0.0.0-...-56c67ce Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CandleStickService

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

func (*CandleStickService) Create

func (service *CandleStickService) Create(cs *candlestick.List) error

func (*CandleStickService) Delete

func (service *CandleStickService) Delete(cs *candlestick.List) error

func (*CandleStickService) Read

func (service *CandleStickService) Read(cs *candlestick.List, start, end timestamp.Timestamp) error

func (*CandleStickService) Update

func (service *CandleStickService) Update(cs *candlestick.List) error

type DB

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

func New

func New() *DB

func (*DB) CandleSticks

func (db *DB) CandleSticks() influxdb.CandleStickService

func (*DB) Disconnect

func (db *DB) Disconnect() error

func (*DB) Drop

func (db *DB) Drop() error

func (*DB) Init

func (db *DB) Init() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL