server

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPieHandler

func RegisterPieHandler(e *gin.Engine, pieCollection *mgo.Collection)

RegisterPieHandler registers the handler to return pies from the database

func RegisterRefreshHandler

func RegisterRefreshHandler(e *gin.Engine, fhirEndpoint, redcapEndpoint, redcapToken string, pieCollection *mgo.Collection, basisPieURL string)

RegisterRefreshHandler registers the handler to refresh risk assessments from REDCap

func RegisterRoutes

func RegisterRoutes(e *gin.Engine, fhirEndpoint, redcapEndpoint, redcapToken string, pieCollection *mgo.Collection, basisPieURL string)

RegisterRoutes sets up the http request handlers with Gin

func ScheduleRefreshRiskAssessmentsCron

func ScheduleRefreshRiskAssessmentsCron(c *cron.Cron, spec string, fhirEndpoint, redcapEndpoint, redcapToken string, pieCollection *mgo.Collection, basisPieURL string) error

ScheduleRefreshRiskAssessmentsCron schedules a cron job for refreshing the risk assessments

Types

This section is empty.

Jump to

Keyboard shortcuts

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