schedule

package
v0.0.0-...-5951e82 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BOX_USDT = goex.CurrencyPair{CurrencyA: goex.Currency{"BOX", ""}, CurrencyB: goex.USDT, AmountTickSize: 4, PriceTickSize: 4}

ProviderSet is schedule providers.

Functions

This section is empty.

Types

type BoxPrice

type BoxPrice struct {
}

func NewBoxPrice

func NewBoxPrice(s *Server, m *util.EmailNotify) BoxPrice

type Logger

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

func (Logger) Error

func (l Logger) Error(err error, msg string, keysAndValues ...interface{})

Error logs an error condition.

func (Logger) Info

func (l Logger) Info(msg string, keysAndValues ...interface{})

type Router

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

func NewRouter

func NewRouter(price BoxPrice) *Router

type Server

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

func NewScheduleServer

func NewScheduleServer(logger log.Logger) *Server

func (Server) Start

func (s Server) Start(c context.Context) error

func (Server) Stop

func (s Server) Stop(c context.Context) error

Jump to

Keyboard shortcuts

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