go 读取hbase数据
bin/hbase-daemon.sh start thrift2
CGO_ENABLED=1 go build -ldflags '-linkmode "external" -extldflags "-static"' main.go
打包
docker build . -t dounine/go-hbase
docker运行
docker run -e domain=server:9090 -e maxLength=100 -p 8000:8000 dounine/go-hbase
curl --location --request GET 'localhost:8000/user' \
--header 'Content-Type: application/json' \
--data-raw '{
"uid":"",
"uids":["1","2"]
}'