Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveFile ¶
type ArchiveFile struct { // The source filename. SourcePathAbs string `toml:"source_path_abs"` // Relative target path, including the name of the file. TargetPath string `toml:"target_path"` }
func (*ArchiveFile) Init ¶
func (a *ArchiveFile) Init() error
type Request ¶
type Request struct { // Heartbeat is a string that is echoed back to the caller, // used to test that plugin servers are up and running. Heartbeat string `toml:"heartbeat"` // Settings for the archive. Settings config.ArchiveSettings `toml:"settings"` Files []ArchiveFile `toml:"files"` // Filename with extension. OutFilename string `toml:"out_filename"` }
Request is what is sent to an external archive tool.
func (Request) HeartbeatResponse ¶
HeartbeatResponse returns a Response that, if the second return value is true, will be returned to the caller.
type Response ¶
type Response struct { // Heartbeat is a string that is echoed back to the caller, // used to test that plugin servers are up and running. Heartbeat string `toml:"heartbeat"` Error *model.BasicError `toml:"err"` }
Response is what is sent back from an external archive tool.
Click to show internal directories.
Click to hide internal directories.