exchanges

package
v0.0.0-...-eba6480 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	DB        *db.Client
	Discord   *discordgo.Session
	Exchanges map[string]Exchanger
}

func New

func New() *Client

func (*Client) Close

func (p *Client) Close() error

Close パッケージ変数(ファイル)のクローズ

type Exchanger

type Exchanger interface {
	Connect()
	Check()
	OrderGroup()

	// Discord command
	Interactive()
}

Exchanger 以下exchangeを共通な処理で汎用化する

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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