controllers

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(dbPath string) httprouter.Handle

func Delete

func Delete(dbPath string) httprouter.Handle

func Exec

func Exec(dbPath string) httprouter.Handle

func Get

func Get(dbPath string) httprouter.Handle

func GetAll

func GetAll(dbPath string) httprouter.Handle

func Update

func Update(dbPath string) httprouter.Handle

Types

type ExecBody

type ExecBody struct {
	Query string `json:"query"`
}

type Filter

type Filter struct {
	Column   string `json:"column"`
	Operator string `json:"operator"`
	Value    string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL