code: func newTJSONConfig(url string, timeoutms int, config *RealisConfig) (*RealisConfig, error) {
  	trans, err := defaultTTransport(url, timeoutms, config)
  	if err != nil {
  		return &RealisConfig{}, errors.Wrap(err, "Error creating realis config")
  	}
  
  	httpTrans := (trans).(*thrift.THttpClient)
  	httpTrans.SetHeader("Content-Type", "application/x-thrift")
  	httpTrans.SetHeader("User-Agent", "gorealis v"+VERSION)
  
  	return &RealisConfig{transport: trans, protoFactory: thrift.NewTJSONProtocolFactory()}, nil
  }
docs: // Creates a realis config object using HTTP Post and Thrift JSON protocol to communicate with Aurora.