mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-06-23 01:18:39 +08:00
15 lines
305 B
Go
15 lines
305 B
Go
package rpcli
|
|
|
|
import (
|
|
pbredpacket "github.com/openimsdk/protocol/redpacket"
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
func NewRedPacketClient(cc grpc.ClientConnInterface) *RedPacketClient {
|
|
return &RedPacketClient{pbredpacket.NewRedPacketClient(cc)}
|
|
}
|
|
|
|
type RedPacketClient struct {
|
|
pbredpacket.RedPacketClient
|
|
}
|