binancemodel

package
v0.0.0-...-8acc922 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKline

func CreateKline(e *binance.WsKlineEvent) error

Types

type WsKlineModel

type WsKlineModel struct {
	ID     uint            `gorm:"primaryKey"`
	Event  string          `json:"e"`
	Time   int64           `json:"E"`
	Symbol string          `json:"s"`
	Kline  binance.WsKline `gorm:"embedded" json:"k"`
}

func (WsKlineModel) TableName

func (WsKlineModel) TableName() string

Jump to

Keyboard shortcuts

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