Documentation ¶
Index ¶
Constants ¶
View Source
const ( TablesPath = "/tables" IndexesPath = "/indexes" EntryFieldsPath = "/entryFields" QueryPath = "/query" )
Variables ¶
This section is empty.
Functions ¶
func NewInspectCLI ¶
func NewInspectHandler ¶
func NewInspectHandler(inspect Inspect) http.HandlerFunc
Types ¶
type Inspect ¶
type Inspect interface { Tables() ([]string, error) Indexes(table string) ([]string, error) EntryFields(table string) (map[string]string, error) Query(ctx context.Context, table string, index string, indexSelector map[string]interface{}, filter map[string]interface{}, limit uint64, after map[string]interface{}) ([]map[string]interface{}, error) }
Click to show internal directories.
Click to hide internal directories.