controllers

package
v0.0.0-...-a435462 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheck

func HealthCheck(c *gin.Context)

Health Check godoc @Summary Health Check to see if api server is running @Description Responds with simple "OK" @Tags Health Check @Produce json @Success 200 @Router / [get]

func ReportIncome

func ReportIncome(c *gin.Context)

Report Income godoc @Summary Submit New Income Report @Description Takes a Income Report JSON and store in DB. Return saved JSON. @Tags Cash @Produce json @Param book body models.Cash true "Book JSON" @Success 200 {object} models.Cash @Router /income [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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