Versions in this module Expand all Collapse all v0 v0.0.3 Mar 23, 2021 v0.0.2 Mar 23, 2021 Changes in this version + var DbConn *sql.DB + var EsConn *elastic.Client + func ConnectES(ctx context.Context, foreverLoopDelay time.Duration) error + func ConnectSQL() error + func GetEsConn(ctx context.Context, foreverLoopDelay time.Duration) (*elastic.Client, error) + type Config struct + DbConn *sql.DB + DbHost string + DbName string + DbPassword string + DbUser string + type ConfigEs struct + URL string