models

package
v0.0.0-...-8c278e4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Hostname       string `json:"hostname"`
	Username       string `json:"username"`
	UserID         string `json:"user_id"`
	OSName         string `json:"os_name"`
	MacAddress     string `json:"mac_address"`
	LocalIPAddress string `json:"local_ip_address"`
	FetchedUnix    int64  `json:"fetched_unix"`
}

type Download

type Download struct {
	Filepath string
}

type Error

type Error struct {
	HasError bool
	Message  string
}

type Message

type Message struct {
	Command string
	Data    []byte
	Error   Error
}

type Persistence

type Persistence struct {
	Status bool
}

type Upload

type Upload struct {
	FilepathFrom string
	FilepathTo   string
	Data         []byte
}

Jump to

Keyboard shortcuts

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