Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (31 sloc) 1.22 KB
// Copyright 2018 The go-hep Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package ping contains the structures describing ping request.
// See xrootd protocol specification (, p. 67) for details.
package ping // import ""
import (
// RequestID is the id of the request, it is sent as part of message.
// See xrootd protocol specification for details:, 2.3 Client Request Format.
const RequestID uint16 = 3011
// Request holds ping request parameters.
type Request struct {
_ [16]byte
_ int32
// MarshalXrd implements xrdproto.Marshaler.
func (o Request) MarshalXrd(wBuffer *xrdenc.WBuffer) error {
return nil
// UnmarshalXrd implements xrdproto.Unmarshaler.
func (o *Request) UnmarshalXrd(rBuffer *xrdenc.RBuffer) error {
return nil
// ReqID implements xrdproto.Request.ReqID.
func (req *Request) ReqID() uint16 { return RequestID }
// ShouldSign implements xrdproto.Request.ShouldSign.
func (req *Request) ShouldSign() bool { return false }
You can’t perform that action at this time.