proto

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package proto holds the structures that return the json to the client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListMachine

type ListMachine struct {
	Machine string `json:"machine"` // Machine as set in config file.
	Actual  string `json:"actual"`  // Actual machine responding (i.e. -h flag might be used)
}

type ListMachines

type ListMachines struct {
	ListMachines []ListMachine `json:"machines"`
}

type ListService

type ListService struct {
	Service     string `json:"service"`
	Hash        string `json:"hash"`
	State       string `json:"state"`
	StateInfo   string `json:"stateinfo"`
	StateChange string `json:"change"`
}

type ListServices

type ListServices struct {
	ListServices []ListService `json:"services"`
}

Jump to

Keyboard shortcuts

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