package admin
import "go-hep.org/x/hep/xrootd/xrdproto/admin"
Package admin contains the types related to the admin request. See xrootd protocol specification (http://xrootd.org/doc/dev45/XRdv310.pdf, p. 37) for more details.
Index ¶
- Constants
- type Request
- func (o Request) MarshalXrd(w *xrdenc.WBuffer) error
- func (req *Request) ReqID() uint16
- func (*Request) ShouldSign() bool
- func (o *Request) UnmarshalXrd(r *xrdenc.RBuffer) error
- type Response
Constants ¶
const RequestID uint16 = 3020
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.
Types ¶
type Request ¶
type Request struct { Req string // contains filtered or unexported fields }
Request holds the admin request parameters.
func (Request) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Request) ReqID ¶
ReqID implements xrdproto.Request.ReqID.
func (*Request) ShouldSign ¶
ShouldSign implements xrdproto.Request.ShouldSign.
func (*Request) UnmarshalXrd ¶
UnmarshalXrd implements xrdproto.Unmarshaler.
type Response ¶
type Response struct { Data []byte }
Response is the response issued by the server to an admin request.
func (Response) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Response) RespID ¶
RespID implements xrdproto.Response.RespID.
func (*Response) UnmarshalXrd ¶
UnmarshalXrd implements xrdproto.Unmarshaler.
Source Files ¶
admin.go
- Version
- v0.37.0 (latest)
- Published
- May 20, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 14 hours ago –
Tools for package owners.