GRPC通讯支持gzip压缩

This commit is contained in:
刘祥超
2022-03-20 11:28:45 +08:00
parent 5859f5df91
commit 7c84794ac4

View File

@@ -37,6 +37,9 @@ import (
"strconv"
"sync"
"time"
// grpc decompression
_ "google.golang.org/grpc/encoding/gzip"
)
var sharedAPIConfig *configs.APIConfig = nil