// NewSDK returns new mainflux SDK instance.
NewSDK returns new mainflux SDK instance.
// NewSDK returns new mainflux SDK instance .
func NewSDK(conf Config) SDK {
	return &mfSDK{
		authURL:        conf.AuthURL,
		bootstrapURL:   conf.BootstrapURL,
		certsURL:       conf.CertsURL,
		httpAdapterURL: conf.HTTPAdapterURL,
		readerURL:      conf.ReaderURL,
		thingsURL:      conf.ThingsURL,
		usersURL:       conf.UsersURL,
		msgContentType: conf.MsgContentType,
		client: &http.Client{
			Transport: &http.Transport{
				TLSClientConfig: &tls.Config{
					InsecureSkipVerify: !conf.TLSVerification,
				},
			},
		},
	}
}
func NewSDK ( conf Config ) SDK { return & mfSDK { authURL : conf . AuthURL , bootstrapURL : conf . BootstrapURL , certsURL : conf . CertsURL , httpAdapterURL : conf . HTTPAdapterURL , readerURL : conf . ReaderURL , thingsURL : conf . ThingsURL , usersURL : conf . UsersURL , msgContentType : conf . MsgContentType , client : & http . Client { Transport : & http . Transport { TLSClientConfig : & tls . Config { InsecureSkipVerify : ! conf . TLSVerification , } , } , } , } }
NewSDK returns new mainflux SDK instance.
NewSDK returns new mainflux SDK instance .