GRPC通讯支持gzip压缩

This commit is contained in:
GoEdgeLab
2022-03-20 11:28:45 +08:00
parent 1f59c05567
commit bea88fa46a

View File

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