Documentation ¶
Index ¶
- Constants
- type MonitClient
- func (m *MonitClient) GetLogger(req *http.Request) lager.Logger
- func (m *MonitClient) GetStatus(req *http.Request) (string, error)
- func (m *MonitClient) StartServiceBootstrap(req *http.Request) (string, error)
- func (m *MonitClient) StartServiceJoin(req *http.Request) (string, error)
- func (m *MonitClient) StartServiceSingleNode(req *http.Request) (string, error)
- func (m *MonitClient) StopService(req *http.Request) (string, error)
- type MonitStatus
- type ServiceTag
Constants ¶
View Source
const (
CHARSET_ENCODING = "ISO-8859-1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitClient ¶
type MonitClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(monitConfig config.MonitConfig, logger lager.Logger) *MonitClient
func (*MonitClient) StartServiceBootstrap ¶
func (m *MonitClient) StartServiceBootstrap(req *http.Request) (string, error)
func (*MonitClient) StartServiceJoin ¶
func (m *MonitClient) StartServiceJoin(req *http.Request) (string, error)
func (*MonitClient) StartServiceSingleNode ¶
func (m *MonitClient) StartServiceSingleNode(req *http.Request) (string, error)
func (*MonitClient) StopService ¶
func (m *MonitClient) StopService(req *http.Request) (string, error)
type MonitStatus ¶
type MonitStatus struct { XMLName xml.Name `xml:"monit"` Services []ServiceTag `xml:"service"` }
Click to show internal directories.
Click to hide internal directories.