entities

package
v0.0.0-...-7d5b20a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	ClientID  string `json:"client_id,omitempty"`
	Command   string `json:"command,omitempty"`
	Parameter string `json:"parameter,omitempty"`
	Response  []byte `json:"response,omitempty"`
	HasError  bool   `json:"has_error,omitempty"`
}

type Device

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

type File

type File struct {
	Filename string    `json:"filename"`
	ModTime  time.Time `json:"mod_time"`
}

type FileExplorer

type FileExplorer struct {
	Path        string   `json:"path"`
	Files       []File   `json:"files"`
	Directories []string `json:"directories"`
}

Jump to

Keyboard shortcuts

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