model

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package model defines object structure

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Client   agent.AgentClient
	Conn     *grpc.ClientConn
	IP       string
	Name     string
	CPU      float64
	Mem      float64
	HostIP   string
	HostName string
	HostCPU  float64
	HostMem  float64
}

type Agents

type Agents []Agent

func (Agents) Len

func (a Agents) Len() int

func (Agents) Less

func (a Agents) Less(i, j int) bool

func (Agents) Swap

func (a Agents) Swap(i, j int)

Jump to

Keyboard shortcuts

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