Documentation

Overview

    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

    View Source
    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.

      Variables

      This section is empty.

      Functions

      This section is empty.

      Types

      type Request

      type Request struct {
      	Req string
      	// contains filtered or unexported fields
      }

        Request holds the admin request parameters.

        func (Request) MarshalXrd

        func (o Request) MarshalXrd(w *xrdenc.WBuffer) error

          MarshalXrd implements xrdproto.Marshaler.

          func (*Request) ReqID

          func (req *Request) ReqID() uint16

            ReqID implements xrdproto.Request.ReqID.

            func (*Request) ShouldSign

            func (*Request) ShouldSign() bool

              ShouldSign implements xrdproto.Request.ShouldSign.

              func (*Request) UnmarshalXrd

              func (o *Request) UnmarshalXrd(r *xrdenc.RBuffer) error

                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

                  func (o Response) MarshalXrd(w *xrdenc.WBuffer) error

                    MarshalXrd implements xrdproto.Marshaler.

                    func (*Response) RespID

                    func (*Response) RespID() uint16

                      RespID implements xrdproto.Response.RespID.

                      func (*Response) UnmarshalXrd

                      func (o *Response) UnmarshalXrd(r *xrdenc.RBuffer) error

                        UnmarshalXrd implements xrdproto.Unmarshaler.

                        Source Files