GO-Grpc微服務開發五 服務調用優化

GO-Grpc微服務開發五 服務調用優化 使用鏈接池 使用鏈接池 func init() { so := sync.Once{} so.Do(func() { //初始化client var err error base := &fr_common.Base{} if base.GetEnv() == "prod" { consul_addr = fr_common.CO
相關文章
相關標籤/搜索