Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CouchDBUp ¶
func CouchDBUp(CouchdbURL string, client *CouchDBHttpClient) bool
Types ¶
type CouchDBHttpClient ¶
type CouchDBHttpClient struct {
// contains filtered or unexported fields
}
func (CouchDBHttpClient) CouchDBClient ¶
func (cdb CouchDBHttpClient) CouchDBClient(action string, url string, user string, pswd string, headers map[string]string, data []byte) ([]byte, error)
CouchDBClient will only handle the byte level for the input and output data. Marshalling will be left to the higher level callers.
func (CouchDBHttpClient) CouchDBClientValid ¶
func (cdb CouchDBHttpClient) CouchDBClientValid() bool
type CouchDBResponse ¶
func UnmarshallCouchDbResponse ¶
func UnmarshallCouchDbResponse(body []byte) (*CouchDBResponse, error)
type CouchDBSeeds ¶
type CouchDBSeeds struct {
Seed []string
}
type CouchDBStatus ¶
type CouchDBStatus struct { Status string Seeds CouchDBSeeds }
Click to show internal directories.
Click to hide internal directories.