cache

package
v0.0.0-...-95b083d Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Basic

type Basic interface {
	Set(key string, value interface{})
	Get(key string) interface{}
	Exs(key string) bool
	SetEX(key string, value interface{}) (interface{}, bool)
}

type Exchange

type Exchange interface {
	Set(symbols []*exchange.Symbol)
	Get(symbol string) (*exchange.Symbol, error)
	Symbols() []string
}

type Market

type Market interface {
	CandleSummary(symbol string) (*market.CandleSummary, error)
	CreateSummary(symbol string) *market.CandleSummary
	UpdateSummary(symbol string) *market.CandleSummary
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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