Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetRPCConn = wire.NewSet( NewPalaceConn, )
ProviderSetRPCConn wire set
Functions ¶
This section is empty.
Types ¶
type PalaceConn ¶
type PalaceConn struct {
// contains filtered or unexported fields
}
PalaceConn Palace服务连接
func NewPalaceConn ¶
func NewPalaceConn(c *rabbitconf.Bootstrap) (*PalaceConn, func(), error)
NewPalaceConn 创建一个palace rpc连接
func (*PalaceConn) Heartbeat ¶
func (l *PalaceConn) Heartbeat(ctx context.Context, in *api.HeartbeatRequest, opts ...microserver.Option) (*api.HeartbeatReply, error)
Heartbeat 向palace发送心跳
Click to show internal directories.
Click to hide internal directories.