messages

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2019 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 ConsoleMessage

type ConsoleMessage struct {
	Logs []string `json:"logs"`
}

func (ConsoleMessage) Key

func (m ConsoleMessage) Key() string

type Message

type Message interface {
	Key() string
}

type StatMessage

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

func (StatMessage) Key

func (m StatMessage) 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