mapping_voucher

package
v0.0.0-...-393e050 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signal

type Signal struct {
	SignalId     int     `json:"signal_id"`
	Indicator    string  `json:"indicator"`
	Source       string  `json:"source"`
	SignalStatus string  `json:"signal_status"`
	IsUpdate     bool    `json:"is_update"`
	Symbol       string  `json:"symbol"`
	TimeFrame    string  `json:"time_frame"`
	Signal       string  `json:"signal"`
	CloseTime    int64   `json:"close_time"`
	ClosePrice   float32 `json:"close_price"`
	Type         string  `json:"type"` // close / realtime
	SourceDown   string  `json:"source_down"`
	IsTest       bool    `json:"isTest"`
}

type Worker

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

func NewWorker

func NewWorker(nc nats.JetStreamContext, topic string, userVoucherRepo biz.UserVoucherRepo, campaignRepo biz.CampaignRepo, voucherCampaignRepo biz.VoucherCampaignRepo) *Worker

func (*Worker) Run

func (w *Worker) Run()

Jump to

Keyboard shortcuts

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