Documentation ¶ Index ¶ type Server func (s *Server) Check() error func (s *Server) Close() error func (s *Server) GetStatus() (map[string]int64, error) func (s *Server) Open() error func (s *Server) Ping() error type Servers 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 Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.