go-selvpcclient: github.com/selectel/go-selvpcclient/selvpcclient/resell/v2/servers Index | Files

package servers

import "github.com/selectel/go-selvpcclient/selvpcclient/resell/v2/servers"

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


Package Files

doc.go schemas.go

type Server Uses

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.

Package servers imports 1 packages (graph) and is imported by 8 packages. Updated 2018-04-22. Refresh now. Tools for package owners.