Documentation ¶
Index ¶
- func AddReading(c echo.Context) error
- func ArchiveBatch(c echo.Context) error
- func ArchiveHydrometer(c echo.Context) error
- func EditBatch(c echo.Context) error
- func EditHydrometer(c echo.Context) error
- func FinishBatch(c echo.Context) error
- func GetBatch(c echo.Context) error
- func GetHydrometer(c echo.Context) error
- func NewBatch(c echo.Context) error
- func NewHydrometer(c echo.Context) error
- func QueryAvailableHydrometers(c echo.Context) error
- func QueryBatches(c echo.Context) error
- func QueryHydrometers(c echo.Context) error
- type Batch
- type BatchParam
- type Hydrometer
- type HydrometerParam
- type HydrometerReading
- type LightweightBatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddReading ¶
func ArchiveBatch ¶
func ArchiveHydrometer ¶
func EditHydrometer ¶
func FinishBatch ¶
func GetHydrometer ¶
func NewHydrometer ¶
func QueryBatches ¶
func QueryHydrometers ¶
Types ¶
type Batch ¶
type Batch struct { ID bson.ObjectId `json:"id"` RecipeName string `json:"recipe"` UniqueID string `json:"stringId"` Hydrometer Hydrometer `json:"hydrometer"` GravityReadings *[]data.GravityReading `json:"readings"` LatestReading data.GravityReading `json:"latestReading"` Attenuation float64 `json:"attenuation"` ABV float64 `json:"abv"` StartDate time.Time `json:"startDate"` LastUpdate time.Time `json:"lastUpdate"` Active bool `json:"active"` Archived bool `json:"archived"` }
type BatchParam ¶
type Hydrometer ¶
type HydrometerParam ¶
type HydrometerReading ¶
type LightweightBatch ¶
type LightweightBatch struct { }
Click to show internal directories.
Click to hide internal directories.