servers

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Overview

Package servers contains reusable structures for other go-selvpcclient packages. It doesn't provide any methods to work with actual VPC servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// ID is a unique id of the server.
	ID string `json:"id"`

	// Name is a human-readable name of the server.
	Name string `json:"name"`

	// Status represents a current status of the server.
	Status string `json:"status"`

	// Updated contains the ISO-8601 timestamp of when the state of the server
	// last changed.
	Updated time.Time `json:"updated"`
}

Server represents a simple server entity that is used by some other packages of the go-selvpcclient.

Jump to

Keyboard shortcuts

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