views

package
v0.0.0-...-442a4c8 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViewsContext

type ViewsContext struct {
	GormClient *gorm.DB
	Version    string
	BuildDate  string
}

func (*ViewsContext) GetHealth

func (v *ViewsContext) GetHealth(c *gin.Context)

GetHealth is a monitoring endpoint

func (*ViewsContext) GetHistory

func (v *ViewsContext) GetHistory(c *gin.Context)

GetHistory is in charge of querying the database to get database history

func (*ViewsContext) GetPing

func (v *ViewsContext) GetPing(c *gin.Context)

GetPing is a monitoring endpoint

func (*ViewsContext) GetSiren

func (v *ViewsContext) GetSiren(c *gin.Context)

GetSiren is in charge of querying the database to get the specific records for a single Siren given in the query

func (*ViewsContext) GetSiret

func (v *ViewsContext) GetSiret(c *gin.Context)

GetSiret is in charge of querying the database to get the specific enterprise record for a single Siret given in the query

Jump to

Keyboard shortcuts

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