code: func createGrpcClient(cfg *ConnectionConfig, tlsEnabled bool) (*comm.GRPCClient, error) {
  	clientConfig := comm.ClientConfig{Timeout: time.Second}
  
  	if tlsEnabled {
  		if cfg.TlsRootCertFile == "" {
  			return nil, errors.New("missing TlsRootCertFile in client config")
  		}
  		caPEM, err := ioutil.ReadFile(cfg.TlsRootCertFile)
  		if err != nil {
  			return nil, errors.WithMessage(err, fmt.Sprintf("unable to load TLS cert from %s", cfg.TlsRootCertFile))
  		}
  		secOpts := &comm.SecureOptions{
  			UseTLS:            true,
  			ServerRootCAs:     [][]byte{caPEM},
  			RequireClientCert: false,
  		}
  		clientConfig.SecOpts = secOpts
  	}
  
  	return comm.NewGRPCClient(clientConfig)
  }
docs: // createGrpcClient returns a comm.GRPCClient based on toke client config