Documentation ¶ Index ¶ type Endpoint type EndpointResponseFunc type Status Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Endpoint ¶ type Endpoint struct { BackendName string Method string Path string Handler EndpointResponseFunc } type EndpointResponseFunc ¶ type EndpointResponseFunc func(*http.Request, map[string]string) (int, interface{}, error) type Status ¶ type Status struct { OK bool `json:"ok"` Application string `json:"application"` Version string `json:"version"` Backend string `json:"backend,omitempty"` Indexer string `json:"indexer,omitempty"` } Source Files ¶ View all Source files http.go types.go Click to show internal directories. Click to hide internal directories.