hep: go-hep.org/x/hep/xrootd/xrdproto/admin Index | Files

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

Package Files

admin.go

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.

type Request Uses

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

Request holds the admin request parameters.

func (Request) MarshalXrd Uses

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

MarshalXrd implements xrdproto.Marshaler.

func (*Request) ReqID Uses

func (req *Request) ReqID() uint16

ReqID implements xrdproto.Request.ReqID.

func (*Request) ShouldSign Uses

func (*Request) ShouldSign() bool

ShouldSign implements xrdproto.Request.ShouldSign.

func (*Request) UnmarshalXrd Uses

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

UnmarshalXrd implements xrdproto.Unmarshaler.

type Response Uses

type Response struct {
    Data []byte
}

Response is the response issued by the server to an admin request.

func (Response) MarshalXrd Uses

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

MarshalXrd implements xrdproto.Marshaler.

func (*Response) RespID Uses

func (*Response) RespID() uint16

RespID implements xrdproto.Response.RespID.

func (*Response) UnmarshalXrd Uses

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

UnmarshalXrd implements xrdproto.Unmarshaler.

Package admin imports 1 packages (graph). Updated 2019-02-21. Refresh now. Tools for package owners.