Versions in this module Expand all Collapse all v0 v0.1.0 Aug 29, 2021 Changes in this version + const EPSILON + var TimeProfileEnabled bool + func EnvOrDefault(env string, defaultVal string) string + func ExtractFile(fs afero.Fs, absPath string, targetFs afero.Fs, targetPath string, ...) (string, error) + func FloatEquals(a, b float64) bool + func FormatDuration(d time.Duration) string + func GetExchPairLogger(ex common.Exchange, pair common.Pair) zerolog.Logger + func GogoProtoTsToTime(ts *types.Timestamp) time.Time + func GogoProtoTsToTimePtr(ts *types.Timestamp) *time.Time + func GunzipWrite(w io.Writer, r io.Reader) error + func JoinErrs(errs ...error) error + func JoinErrsS(errs ...string) error + func MakeExitChan() chan os.Signal + func ProtoTsToTime(ts *timestamp.Timestamp) time.Time + func ProtoTsToTimePtr(ts *timestamp.Timestamp) *time.Time + func TimeProfile(name string, fn func()) + func TimePtrToProtoTsPtr(t *time.Time) *timestamp.Timestamp + func TimeToGogoProtoTs(ts *time.Time) types.Timestamp + func TimeToGogoProtoTsPtr(ts *time.Time) *types.Timestamp + func TimeToProtoTsPtr(t time.Time) *timestamp.Timestamp + func UnmarshalResponse(resp *http.Response, out interface{}) error + type TimeRange struct + End time.Time + Start time.Time + func NewTimeRange(start time.Time, end time.Time) TimeRange