server

package
v0.0.0-...-39b5b32 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Name         string
	Host         string
	Port         string
	User         string
	Pass         string
	FailureCount uint
	StatusDown   bool
	// contains filtered or unexported fields
}

func (*Server) Check

func (s *Server) Check() error

func (*Server) Close

func (s *Server) Close() error

func (*Server) GetStatus

func (s *Server) GetStatus() (map[string]int64, error)

func (*Server) Open

func (s *Server) Open() error

func (*Server) Ping

func (s *Server) Ping() error

type Servers

type Servers []*Server

Jump to

Keyboard shortcuts

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