command

package
v0.0.202 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const APP_REPO = "svanas/nefertiti"

Variables

This section is empty.

Functions

This section is empty.

Types

type AboutCommand

type AboutCommand struct {
	*CommandMeta
}

func (*AboutCommand) Help

func (c *AboutCommand) Help() string

func (*AboutCommand) Run

func (c *AboutCommand) Run(args []string) int

func (*AboutCommand) Synopsis

func (c *AboutCommand) Synopsis() string

type AggCommand

type AggCommand struct {
	*CommandMeta
}

func (*AggCommand) Help

func (c *AggCommand) Help() string

func (*AggCommand) Run

func (c *AggCommand) Run(args []string) int

func (*AggCommand) Synopsis

func (c *AggCommand) Synopsis() string

type BaseCommand

type BaseCommand struct {
	*CommandMeta
}

func (*BaseCommand) Help

func (c *BaseCommand) Help() string

func (*BaseCommand) Run

func (c *BaseCommand) Run(args []string) int

func (*BaseCommand) Synopsis

func (c *BaseCommand) Synopsis() string

type BookCommand

type BookCommand struct {
	*CommandMeta
}

func (*BookCommand) Help

func (c *BookCommand) Help() string

func (*BookCommand) Run

func (c *BookCommand) Run(args []string) int

func (*BookCommand) Synopsis

func (c *BookCommand) Synopsis() string

type BuyCommand

type BuyCommand struct {
	*CommandMeta
}

func (*BuyCommand) Help

func (c *BuyCommand) Help() string

func (*BuyCommand) Run

func (c *BuyCommand) Run(args []string) int

func (*BuyCommand) Synopsis

func (c *BuyCommand) Synopsis() string

type CancelCommand

type CancelCommand struct {
	*CommandMeta
}

func (*CancelCommand) Help

func (c *CancelCommand) Help() string

func (*CancelCommand) Run

func (c *CancelCommand) Run(args []string) int

func (*CancelCommand) Synopsis

func (c *CancelCommand) Synopsis() string

type CoalesceCommand added in v0.0.202

type CoalesceCommand struct {
	*CommandMeta
}

func (*CoalesceCommand) Help added in v0.0.202

func (c *CoalesceCommand) Help() string

func (*CoalesceCommand) Run added in v0.0.202

func (c *CoalesceCommand) Run(args []string) int

func (*CoalesceCommand) Synopsis added in v0.0.202

func (c *CoalesceCommand) Synopsis() string

type CommandCallBack

type CommandCallBack func(pc uintptr, file string, line int, err error)

type CommandMeta

type CommandMeta struct {
	Port       *int64
	AppName    string
	AppVersion string
	CallBack   *CommandCallBack
}

func (*CommandMeta) ReturnError

func (cm *CommandMeta) ReturnError(err error) int

func (*CommandMeta) ReturnSuccess

func (cm *CommandMeta) ReturnSuccess() error

type ExchangesCommand

type ExchangesCommand struct {
	*CommandMeta
}

func (*ExchangesCommand) Help

func (c *ExchangesCommand) Help() string

func (*ExchangesCommand) Run

func (c *ExchangesCommand) Run(args []string) int

func (*ExchangesCommand) Synopsis

func (c *ExchangesCommand) Synopsis() string

type ExitCommand

type ExitCommand struct {
	*CommandMeta
}

func (*ExitCommand) Help

func (c *ExitCommand) Help() string

func (*ExitCommand) Run

func (c *ExitCommand) Run(args []string) int

func (*ExitCommand) Synopsis

func (c *ExitCommand) Synopsis() string

type ListenCommand

type ListenCommand struct {
	*CommandMeta
}

func (*ListenCommand) Help

func (c *ListenCommand) Help() string

func (*ListenCommand) Run

func (c *ListenCommand) Run(args []string) int

func (*ListenCommand) Synopsis

func (c *ListenCommand) Synopsis() string

type MarketsCommand

type MarketsCommand struct {
	*CommandMeta
}

func (*MarketsCommand) Help

func (c *MarketsCommand) Help() string

func (*MarketsCommand) Run

func (c *MarketsCommand) Run(args []string) int

func (*MarketsCommand) Synopsis

func (c *MarketsCommand) Synopsis() string

type NotifyCommand

type NotifyCommand struct {
	*CommandMeta
}

func (*NotifyCommand) Help

func (c *NotifyCommand) Help() string

func (*NotifyCommand) Run

func (c *NotifyCommand) Run(args []string) int

func (*NotifyCommand) Synopsis

func (c *NotifyCommand) Synopsis() string

type OrderCommand

type OrderCommand struct {
	*CommandMeta
}

func (*OrderCommand) Help

func (c *OrderCommand) Help() string

func (*OrderCommand) Run

func (c *OrderCommand) Run(args []string) int

func (*OrderCommand) Synopsis

func (c *OrderCommand) Synopsis() string

type Pong

type Pong struct {
	Port    int64    `json:"port"`
	Command string   `json:"command"`
	Args    []string `json:"args"`
}

type Pongs

type Pongs []Pong

type QuoteCommand

type QuoteCommand struct {
	*CommandMeta
}

func (*QuoteCommand) Help

func (c *QuoteCommand) Help() string

func (*QuoteCommand) Run

func (c *QuoteCommand) Run(args []string) int

func (*QuoteCommand) Synopsis

func (c *QuoteCommand) Synopsis() string

type SellCommand

type SellCommand struct {
	*CommandMeta
}

func (*SellCommand) Help

func (c *SellCommand) Help() string

func (*SellCommand) Run

func (c *SellCommand) Run(args []string) int

func (*SellCommand) Synopsis

func (c *SellCommand) Synopsis() string

type StopLossCommand

type StopLossCommand struct {
	*CommandMeta
}

func (*StopLossCommand) Help

func (c *StopLossCommand) Help() string

func (*StopLossCommand) Run

func (c *StopLossCommand) Run(args []string) int

func (*StopLossCommand) Synopsis

func (c *StopLossCommand) Synopsis() string

type UpdateCommand

type UpdateCommand struct {
	*CommandMeta
}

func (*UpdateCommand) Help

func (c *UpdateCommand) Help() string

func (*UpdateCommand) Run

func (c *UpdateCommand) Run(args []string) int

func (*UpdateCommand) Synopsis

func (c *UpdateCommand) Synopsis() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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