Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Accept()
- func (h *Handler) Close()
- func (h *Handler) Download(source string, destination string)
- func (h *Handler) Execute(name string, args []string)
- func (h *Handler) NeedsTLS() bool
- func (h *Handler) ReceiveData(data []byte)
- func (h *Handler) SetDelegate(delegate protocol.Delegate)
- func (h *Handler) Upload(source string, destination string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a Yort protocol handler.
func (*Handler) Accept ¶
func (h *Handler) Accept()
Accept gives the Handler a chance to do something as soon as an agent connects.
func (*Handler) ReceiveData ¶
ReceiveData just logs information about data received.
func (*Handler) SetDelegate ¶
SetDelegate saves the delegate for later use.
Click to show internal directories.
Click to hide internal directories.