logic

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitKlineHandler

func InitKlineHandler(svcCtx *svc.ServiceContext)

Types

type GetKlineLogic

type GetKlineLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetKlineLogic

func NewGetKlineLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetKlineLogic

func (*GetKlineLogic) GetKline

func (l *GetKlineLogic) GetKline(in *pb.GetKlineReq) (*pb.GetKlineResp, error)

获取k线

type KlineHandler

type KlineHandler struct {
	//存储k线
	Klines []*model.Kline
	// contains filtered or unexported fields
}

KlineHandler 基于utc时间

func NewKlineHandler

func NewKlineHandler(svcCtx *svc.ServiceContext) *KlineHandler

Jump to

Keyboard shortcuts

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