Versions in this module Expand all Collapse all v1 v1.0.1 Dec 6, 2024 v1.0.0 Dec 4, 2024 Changes in this version + const HeartbeatServiceMethod + type Ping interface + Name func() string + PostAccept func(sess yrpc.PreSession) *yrpc.Status + PostDial func(sess yrpc.PreSession, isRedial bool) *yrpc.Status + PostNewPeer func(peer yrpc.EarlyPeer) error + PostReadCallHeader func(ctx yrpc.ReadCtx) *yrpc.Status + PostReadPushHeader func(ctx yrpc.ReadCtx) *yrpc.Status + PostWriteCall func(ctx yrpc.WriteCtx) *yrpc.Status + PostWritePush func(ctx yrpc.WriteCtx) *yrpc.Status + SetRate func(rateSecond int) + UseCall func() + UsePush func() + func NewPing(rateSecond int, useCall bool) Ping + type Pong interface + Name func() string + PostNewPeer func(peer yrpc.EarlyPeer) error + PostReadCallHeader func(ctx yrpc.ReadCtx) *yrpc.Status + PostReadPushHeader func(ctx yrpc.ReadCtx) *yrpc.Status + PostWriteCall func(ctx yrpc.WriteCtx) *yrpc.Status + PostWritePush func(ctx yrpc.WriteCtx) *yrpc.Status + func NewPong() Pong