Documentation ¶
Index ¶
- Variables
- type Brokers
- func (cc *Brokers) AddTasks(opt controllers.AddTasks) (err error)
- func (cc *Brokers) Create(opt *core.IBrokersCallback) (err error)
- func (cc *Brokers) CreateAccounts(opt controllers.CreateAccounts) error
- func (cc *Brokers) DeleteAccount(opt controllers.DeleteAccount) error
- func (cc *Brokers) DeleteTasks(opt controllers.DeleteTasks) (err error)
- func (cc *Brokers) DeleteTestTasks(opt tasks.TestTasks) (err error)
- func (cc *Brokers) EditAccounts(opt controllers.CreateAccounts) error
- func (cc *Brokers) EditTasks(opt controllers.EditTasks) (err error)
- func (cc *Brokers) GetAccounts(id string) (data []accounts.Accounts, err error)
- func (cc *Brokers) GetStatsTasksTransactions(opt controllers.GetTasksTransactions) (data tasks.StatsTask, err error)
- func (cc *Brokers) GetTasks() (data []tasks.Tasks, err error)
- func (cc *Brokers) GetTasksTest(opt controllers.GetTasksTestOption) (data []tasks.TestTasks, err error)
- func (cc *Brokers) GetTasksTransactions(opt controllers.GetTasksTransactions) (data []brokers.Transactions, err error)
- func (cc *Brokers) Name() string
- func (cc *Brokers) RegisterOnSignal() func(strategy.SendingSignal)
- func (cc *Brokers) ResetTasks(opt controllers.ResetTasks) (err error)
- func (cc *Brokers) ResetTestTasks(opt tasks.TestTasks) (err error)
- func (cc *Brokers) Run() bool
- func (cc *Brokers) RunTestTasks(opt tasks.TestTasks) (err error)
- func (cc *Brokers) SetAccountActive(opt controllers.SetAccountActive) error
- func (cc *Brokers) TestTasks(opt tasks.TestTasks) (err error)
- func (cc *Brokers) Validator(opt interface{}, ignores map[string]bool) (err error)
- func (cc *Brokers) Version() string
- type Database
- func (cc *Database) Del(bucket, key string) (err error)
- func (cc *Database) Get(bucket, key string, autocreateBucket bool) (value []byte, err error)
- func (cc *Database) GetAll(bucket string) (res interface{})
- func (cc *Database) Init() (err error)
- func (cc *Database) Set(bucket, key string, value []byte, autocreateBucket bool) (err error)
- func (cc *Database) Sync()
- type Stores
Constants ¶
This section is empty.
Variables ¶
View Source
var Validate *validator.Validate
Validate -
Functions ¶
This section is empty.
Types ¶
type Brokers ¶
type Brokers struct { Brokers *core.IBrokersCallback Config *database.BrokersProviderConfig Database *Database Apps core.Apps sync.Mutex }
Brokers -
func (*Brokers) AddTasks ¶
func (cc *Brokers) AddTasks(opt controllers.AddTasks) (err error)
AddTasks -
func (*Brokers) CreateAccounts ¶
func (cc *Brokers) CreateAccounts(opt controllers.CreateAccounts) error
CreateAccounts -
func (*Brokers) DeleteAccount ¶
func (cc *Brokers) DeleteAccount(opt controllers.DeleteAccount) error
DeleteAccount -
func (*Brokers) DeleteTasks ¶
func (cc *Brokers) DeleteTasks(opt controllers.DeleteTasks) (err error)
DeleteTasks -
func (*Brokers) DeleteTestTasks ¶
DeleteTestTasks -
func (*Brokers) EditAccounts ¶
func (cc *Brokers) EditAccounts(opt controllers.CreateAccounts) error
EditAccounts -
func (*Brokers) EditTasks ¶
func (cc *Brokers) EditTasks(opt controllers.EditTasks) (err error)
EditTasks -
func (*Brokers) GetAccounts ¶
GetAccounts -
func (*Brokers) GetStatsTasksTransactions ¶
func (cc *Brokers) GetStatsTasksTransactions(opt controllers.GetTasksTransactions) (data tasks.StatsTask, err error)
GetStatsTasksTransactions -
func (*Brokers) GetTasksTest ¶
func (cc *Brokers) GetTasksTest(opt controllers.GetTasksTestOption) (data []tasks.TestTasks, err error)
GetTasksTest -
func (*Brokers) GetTasksTransactions ¶
func (cc *Brokers) GetTasksTransactions(opt controllers.GetTasksTransactions) (data []brokers.Transactions, err error)
GetTasksTransactions -
func (*Brokers) RegisterOnSignal ¶
func (cc *Brokers) RegisterOnSignal() func(strategy.SendingSignal)
RegisterOnSignal -
func (*Brokers) ResetTasks ¶
func (cc *Brokers) ResetTasks(opt controllers.ResetTasks) (err error)
ResetTasks -
func (*Brokers) ResetTestTasks ¶
ResetTestTasks -
func (*Brokers) RunTestTasks ¶
RunTestTasks -
func (*Brokers) SetAccountActive ¶
func (cc *Brokers) SetAccountActive(opt controllers.SetAccountActive) error
SetAccountActive -
func (*Brokers) TestTasks ¶
TestTasks -
func (*Brokers) Validator ¶
Validator -
Source Files ¶
Click to show internal directories.
Click to hide internal directories.