func New(conf *Config) bandmaster.Service {
	conf.Opts = append(conf.Opts, elastic.SetURL(conf.Addr))
	return &Service{
		ServiceBase: bandmaster.NewServiceBase(),  
		conf:        conf,
	}
}
New creates a new ElasticSearch (v2) service using the provided configuration.
You may use the helpers for environment-based configuration to get a
pre-configured `Config` with sane defaults.

It doesn't open any connection nor does it do any kind of I/O; i.e. it
cannot fail.
package es
import (
	"context"
	elastic "gopkg.in/olivere/elastic.v5"
	"github.com/znly/bandmaster"
)
type Service struct {
	*bandmaster.ServiceBase  
	conf *Config
	c *elastic.Client
}
type Config struct {
	Addr string
	Opts []elastic.ClientOptionFunc
}