Versions in this module Expand all Collapse all v1 v1.0.31 Dec 1, 2021 Changes in this version + 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 struct + From string + Interval int + To string + type PriceQuery struct + From string + To string