methods

package
v0.0.0-...-613a5ee Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToolCreate

func GetToolCreate(c echo.Context) error

GetToolCreate creates a single tool

func GetToolDelete

func GetToolDelete(c echo.Context) error

GetToolDelete deletes a single tool

func GetToolIndex

func GetToolIndex(c echo.Context) error

GetToolIndex returns all available tools

func GetToolShow

func GetToolShow(c echo.Context) error

GetToolShow returns a single tool

func GetToolUpdate

func GetToolUpdate(c echo.Context) error

GetToolUpdate updates a single tool

Types

type Tools

type Tools struct {
	ID           bson.ObjectId `bson:"_id,omitempty"`
	LowBand      bool          `json:"low_band" form:"low_band" query:"low_band"`
	LowPeak      string        `json:"low_peak" form:"low_peak" query:"low_peak"`
	LowFreqHZ    float32       `json:"low_freq_hz" form:"low_freq_hz" query:"low_freq_hz"`
	LowGain      string        `json:"low_gain" form:"low_gain" query:"low_gain"`
	LowMidBand   bool          `json:"low_mid_band" form:"low_mid_band" query:"low_mid_band"`
	LowMidHiLowQ string        `json:"low_mid_hi_low_q" form:"low_mid_hi_low_q" query:"low_mid_hi_low_q"`
	LowMidFreqHZ int           `json:"low_mid_freq_hz" form:"low_mid_freq_hz" query:"low_mid_freq_hz"`
	LowMidGain   int           `json:"low_mid_gain" form:"low_mid_gain" query:"low_mid_gain"`
	HiMidBand    bool          `json:"hi_mid_band" form:"hi_mid_band" query:"hi_mid_band"`
	HiMidFreqKHZ float32       `json:"hi_mid_freq_KHZ" form:"hi_mid_freq_KHZ" query:"hi_mid_freq_KHZ"`
	HiMidGain    int           `json:"hi_mid_gain" form:"hi_mid_gain" query:"hi_mid_gain"`
	HiBand       int           `json:"hi_band" form:"hi_band" query:"hi_band"`
	HiPeakShelf  string        `json:"hi_peak_shelf" form:"hi_peak_shelf" query:"hi_peak_shelf"`
	HiFreqKHZ    float32       `json:"hi_freq_KHZ" form:"hi_freq_KHZ" query:"hi_freq_KHZ"`
	HiGain       int           `json:"hi_gain" form:"hi_gain" query:"hi_gain"`
}

Tools from the tools database collection

Jump to

Keyboard shortcuts

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