views

package
v0.0.0-...-cae3fd7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2017 License: MIT Imports: 5 Imported by: 0

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
}

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