// Ping sends a ping from src to target.
Ping sends a ping from src to target.
// Ping sends a ping from src to target .
func Ping(src, target *tchannel.Channel) error {
	ctx, cancel := tchannel.NewContext(Timeout(100 * time.Millisecond))
	defer cancel()
	return src.Ping(ctx, target.PeerInfo().HostPort)
}
func Ping ( src , target * tchannel . Channel ) error { ctx , cancel := tchannel . NewContext ( Timeout ( 100 * time . Millisecond ) ) defer cancel ( ) return src . Ping ( ctx , target . PeerInfo ( ) . HostPort ) }
Ping sends a ping from src to target.
Ping sends a ping from src to target .