api

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHMAC

func GetHMAC(r *http.Request) (string, bool)

func GetParameter

func GetParameter(r *http.Request, name string) (string, bool)

func ReportInvalid

func ReportInvalid(w http.ResponseWriter)

func ReportMissing

func ReportMissing(w http.ResponseWriter)

func Setup

func Setup()

func SetupDataset

func SetupDataset(r *mux.Router)

func SetupInfo

func SetupInfo(r *mux.Router)

Types

type Column

type Column struct {
	Key      string `json:"key"`
	Sortable bool   `json:"sortable"`
}

This is used by getPropertiesHandler to construct the fields object. The custom JSON fields are needed because go won't export struct members with a lowercase name. However, bootstrap vue requires the fields to be in dromedary case (first letter lowercase)

Jump to

Keyboard shortcuts

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