add: anowflake email kafka, refa: redis connectg
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package snowflakex
|
||||
|
||||
import (
|
||||
"juwan-backend/app/snowflake/rpc/snowflake"
|
||||
|
||||
"github.com/zeromicro/go-zero/zrpc"
|
||||
)
|
||||
|
||||
func NewClient(conf zrpc.RpcClientConf) snowflake.SnowflakeServiceClient {
|
||||
return snowflake.NewSnowflakeServiceClient(zrpc.MustNewClient(conf).Conn())
|
||||
}
|
||||
Reference in New Issue
Block a user