Documentation
¶
Index ¶
- type FormulaStatus
- type Logic
- func (l *Logic) Alter(s string) error
- func (l *Logic) Begin(s Sender, str string) error
- func (l *Logic) Buy(s Sender) error
- func (l *Logic) Draw(str string, f formula.Formula) ([]byte, error)
- func (l *Logic) End(s Sender) error
- func (l *Logic) Fstat(str string) *FormulaStatus
- func (l *Logic) SafeTestModeSwitch() bool
- func (l *Logic) Sell(s Sender) error
- func (l *Logic) SetScale(scale string)
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormulaStatus ¶
type Logic ¶
type Logic struct {
// contains filtered or unexported fields
}
func (*Logic) Fstat ¶
func (l *Logic) Fstat(str string) *FormulaStatus
Если trigger активен, то показывает формулу из него Если trigger не активен, то парсит из строки (если строки нет, то пытается взять то что осталось в триггере)
func (*Logic) SafeTestModeSwitch ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.