func isExported(name string) bool {
	r, _ := utf8.DecodeRuneInString(name)
	return unicode.IsUpper(r)
}
Is this an exported - upper case - name?
package server
import (
	"bufio"
	"context"
	"crypto/elliptic"
	crand "crypto/rand"
	"crypto/tls"
	"encoding/binary"
	"encoding/hex"
	"fmt"
	"io/ioutil"
	"math/rand"
	"net"
	"os"
	"reflect"
	"strings"
	"sync"
	"time"
	"unicode"
	"unicode/utf8"
	"github.com/Qitmeer/qitmeer/common/network"
	"github.com/Qitmeer/qitmeer/common/util"
	"github.com/Qitmeer/qitmeer/crypto/certgen"
	"github.com/Qitmeer/qitmeer/log"
)
var (
	subscriptionIDGenMu sync.Mutex
	subscriptionIDGen   = idGenerator()
)