Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeJob ¶
func EncodeJob(job SnapshotJob) ([]byte, error)
Types ¶
type SnapshotJob ¶
type SnapshotJob struct { ID string `json:"id"` Errored bool `json:"errored"` Finished bool `json:"finished"` SnapshotPath string `json:"snapshotpath"` IP string `json:"ip"` User string `json:"user"` Password string `json:"password"` Port int `json:"port"` StreamPath string `json:"streampath"` Sender int `json:"sender"` }
func DecodeJob ¶
func DecodeJob(encoded []byte) (SnapshotJob, error)
Click to show internal directories.
Click to hide internal directories.