Documentation ¶
Overview ¶
Package verifyw contains the structures describing verifyw request. See xrootd protocol specification (http://xrootd.org/doc/dev45/XRdv310.pdf, p. 124) for details.
Index ¶
Constants ¶
View Source
const RequestID uint16 = 3026
RequestID is the id of the request, it is sent as part of message. See xrootd protocol specification for details: http://xrootd.org/doc/dev45/XRdv310.pdf, 2.3 Client Request Format.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Handle xrdfs.FileHandle Offset int64 PathID uint8 Verification Type Data []uint8 // contains filtered or unexported fields }
Request holds verifyw request parameters.
func NewRequestCRC32 ¶
func NewRequestCRC32(handle xrdfs.FileHandle, offset int64, data []uint8) *Request
NewRequestCRC32 forms a Request with crc32 verification according to provided parameters.
func (Request) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Request) ShouldSign ¶
ShouldSign implements xrdproto.Request.ShouldSign.
Click to show internal directories.
Click to hide internal directories.