Documentation ¶
Index ¶
- func AddWorker(wc *dataproviders.Workers) handlers.HandlerFuncResError
- func GetLastPrice(wc *dataproviders.Workers, db *dbconnectors.Db, query *PriceQuery) (data *dataproviders.Data, err error)
- func GetPrice(wc *dataproviders.Workers, db *dbconnectors.Db) handlers.HandlerFuncResError
- func Ping(_ *gin.Context) (res handlers.Result, err error)
- func RemoveWorker(wc *dataproviders.Workers) handlers.HandlerFuncResError
- func UpdateWorker(wc *dataproviders.Workers) handlers.HandlerFuncResError
- func WorkersStatus(wc *dataproviders.Workers) handlers.HandlerFuncResError
- type CollectQuery
- type PriceQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWorker ¶
func AddWorker(wc *dataproviders.Workers) handlers.HandlerFuncResError
func GetLastPrice ¶
func GetLastPrice(wc *dataproviders.Workers, db *dbconnectors.Db, query *PriceQuery) (data *dataproviders.Data, err error)
func GetPrice ¶
func GetPrice(wc *dataproviders.Workers, db *dbconnectors.Db) handlers.HandlerFuncResError
func RemoveWorker ¶
func RemoveWorker(wc *dataproviders.Workers) handlers.HandlerFuncResError
func UpdateWorker ¶
func UpdateWorker(wc *dataproviders.Workers) handlers.HandlerFuncResError
func WorkersStatus ¶
func WorkersStatus(wc *dataproviders.Workers) handlers.HandlerFuncResError
Types ¶
type CollectQuery ¶
type PriceQuery ¶
Click to show internal directories.
Click to hide internal directories.