Documentation ¶
Overview ¶
Package handshake contains the structures describing request and response for handshake request (see XRootD specification).
Index ¶
Constants ¶
View Source
const RequestLength = 20
RequestLength is the length of the Request in bytes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request [5]int32
Request holds the handshake request parameters.
func NewRequest ¶
func NewRequest() Request
NewRequest forms a Request that complies with the XRootD protocol v3.1.0.
func (Request) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler
type Response ¶
type Response struct { ProtocolVersion int32 ServerType xrdproto.ServerType }
Response is a response for the handshake request, which contains protocol version and server type.
func (Response) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler
Click to show internal directories.
Click to hide internal directories.