func Get(channelID string) (*HTTPServiceImpl, error) {
	return newHTTPService(channelID)
}
Get will return httpService to caller
package httpsnapservice
import (
	"bytes"
	"crypto"
	"crypto/ecdsa"
	"crypto/rsa"
	"crypto/sha256"
	"crypto/tls"
	"crypto/x509"
	"encoding/base64"
	"encoding/pem"
	"io"
	"io/ioutil"
	"net"
	"net/http"
	"net/url"
	"strings"
	"sync"
	"time"
	"github.com/hyperledger/fabric-sdk-go/pkg/client/common/verifier"
	"github.com/hyperledger/fabric-sdk-go/pkg/common/logging"
	"github.com/hyperledger/fabric-sdk-go/pkg/common/providers/fab"
	commtls "github.com/hyperledger/fabric-sdk-go/pkg/core/config/comm/tls"
	"github.com/hyperledger/fabric/bccsp"
	"github.com/hyperledger/fabric/bccsp/factory"
	httpsnapApi "github.com/securekey/fabric-snaps/httpsnap/api"
	httpsnapconfig "github.com/securekey/fabric-snaps/httpsnap/cmd/config"
	metricsutil "github.com/securekey/fabric-snaps/metrics/pkg/util"
	"github.com/securekey/fabric-snaps/util/errors"
	"github.com/xeipuuv/gojsonschema"
)
var logger = logging.NewLogger("httpsnap")
var PeerConfigPath = ""
var once sync.Once
var instance *HTTPServiceImpl
type HTTPServiceImpl struct {
	sync.RWMutex
	config   httpsnapApi.Config
	certPool fab.CertPool
	metrics  *Metrics
}
type HTTPServiceInvokeRequest struct {
	RequestURL     string
	RequestHeaders map[string]string
	RequestBody    string
	NamedClient    string
	PinSet         []string
	TxID string
}
type Invoker interface {
	Invoke() ([]byte, errors.Error)
	InvokeAsync() (chan []byte, chan errors.Error)
}
const (
	contentType   = "content-type"
	blockTypeCert = "CERTIFICATE"
)
type Dialer func(network, addr string) (net.Conn, error)