Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExecutor ¶
func CreateExecutor(client *tftp.Client, validator ResponseValidator) bender.RequestExecutor
CreateExecutor creates a new TFTP RequestExecutor.
Types ¶
type Request ¶
type Request struct { Filename string Mode RequestMode }
Request represents a tftp receive request
type RequestMode ¶
type RequestMode string
RequestMode represents a mode of the tftp request
const ( ModeOctet RequestMode = "octet" ModeNetascii = "netascii" )
Available request modes
Click to show internal directories.
Click to hide internal directories.