messages

package
v3.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	Logs []byte `json:"logs"`
}

func (Console) Key

func (m Console) Key() string

type FileDesc

type FileDesc struct {
	Name      string `json:"name"`
	Modified  int64  `json:"modifyTime,omitempty"`
	Size      int64  `json:"size,omitempty"`
	File      bool   `json:"isFile"`
	Extension string `json:"extension,omitempty"`

} //@name FileDescription

type FileList

type FileList struct {
	CurrentPath string     `json:"path"`
	Error       string     `json:"error,omitempty"`
	Url         string     `json:"url,omitempty"`
	FileList    []FileDesc `json:"files,omitempty"`
	Contents    []byte     `json:"contents,omitempty"`
	Filename    string     `json:"name,omitempty"`
}

func (FileList) Key

func (m FileList) Key() string

type Message

type Message interface {
	Key() string
}

type Stat

type Stat struct {
	Memory float64 `json:"memory"`
	Cpu    float64 `json:"cpu"`
}

func (Stat) Key

func (m Stat) Key() string

type Status

type Status struct {
	Running    bool `json:"running"`
	Installing bool `json:"installing"`
}

func (Status) Key

func (m Status) Key() string

type Transmission

type Transmission struct {
	Message Message `json:"data"`
	Type    string  `json:"type"`
}

Jump to

Keyboard shortcuts

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