Versions in this module Expand all Collapse all v1 v1.5.0 Mar 2, 2018 Changes in this version + func Client(s bandmaster.Service) *sql.DB + func New(conf *Config) bandmaster.Service + type Config struct + Addr string + ConnMaxLifetime time.Duration + Driver string + MaxIdleConns int + MaxOpenConns int + type Env struct + Addr string + ConnMaxLifetime time.Duration + Driver string + MaxIdleConns int + MaxOpenConns int + func NewEnv(prefix string) (*Env, error) + func (e *Env) Config() *Config + type Service struct + func (s *Service) Start(ctx context.Context, _ map[string]bandmaster.Service) error + func (s *Service) Stop(context.Context) error