mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	GRPC通讯支持gzip压缩
This commit is contained in:
		@@ -37,6 +37,9 @@ import (
 | 
			
		||||
	"strconv"
 | 
			
		||||
	"sync"
 | 
			
		||||
	"time"
 | 
			
		||||
 | 
			
		||||
	// grpc decompression
 | 
			
		||||
	_ "google.golang.org/grpc/encoding/gzip"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var sharedAPIConfig *configs.APIConfig = nil
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user