Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceProcessor ¶
type DeviceProcessor struct {
// contains filtered or unexported fields
}
func NewDeviceProcessor ¶
func NewDeviceProcessor(device *devices.Device, authProviders *auth.ProviderPool, backupDir string) *DeviceProcessor
NewDeviceProcessor: Initializes a new DeviceProcessor object
func (*DeviceProcessor) Process ¶
func (t *DeviceProcessor) Process(reciever *TFTPReceiver) error
func (*DeviceProcessor) ProcessTarget ¶
func (t *DeviceProcessor) ProcessTarget(target_name string, reciever *TFTPReceiver) error
type ReceivedFile ¶
type TFTPReceiver ¶
type TFTPReceiver struct { PublicAddr string // contains filtered or unexported fields }
func NewTFTPReceiver ¶
func NewTFTPReceiver(publicAddr string) *TFTPReceiver
func (*TFTPReceiver) ExpectFile ¶
func (r *TFTPReceiver) ExpectFile(name string, ch chan ReceivedFile)
func (*TFTPReceiver) GetErrorChannel ¶
func (r *TFTPReceiver) GetErrorChannel() chan error
func (*TFTPReceiver) Run ¶
func (r *TFTPReceiver) Run()
func (*TFTPReceiver) Stop ¶
func (r *TFTPReceiver) Stop()
Click to show internal directories.
Click to hide internal directories.