jobs

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2022 License: BSD-2-Clause Imports: 2 Imported by: 1

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL