monitors.go
func (client *Client) CreateMonitor(monitor *Monitor) (*Monitor, error) {
	var out Monitor
	// TODO: is this more pretty of frowned upon?
	if err := client.doJsonRequest("POST", "/v1/monitor", monitor, &out); err != nil {
		return nil, err
	}
	return &out, nil
}
func (client *Client) CreateMonitor(monitor *Monitor) (*Monitor, error) {
	var out Monitor
	// TODO: is this more pretty of frowned upon?
	if err := client.doJsonRequest("POST", "/v1/monitor", monitor, &out); err != nil {
		return nil, err
	}
	return &out, nil
}
func ( client * Client ) CreateMonitor ( monitor * Monitor ) ( * Monitor , error ) { var out Monitor // TODO: is this more pretty of frowned upon? if err := client . doJsonRequest ( " " , " " , monitor , & out ) ; err != nil { return nil , err } return & out , nil }
// CreateMonitor adds a new monitor to the system. This returns a pointer to a
// monitor so you can pass that to UpdateMonitor later if needed
CreateMonitor adds a new monitor to the system . This returns a pointer to a monitor so you can pass that to UpdateMonitor later if needed