Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ENV is used to help switch settings based on where the // application is being run. Default is "development". ENV = envy.Get("GO_ENV", "development") // S3 has the initialized client session S3 s3.Client // Version is the main version number Version = proctor.Version // VersionPrerelease is a prerelease marker VersionPrerelease = proctor.VersionPrerelease // BuildStamp is the timestamp the binary was built, it should be set at buildtime with ldflags BuildStamp = proctor.BuildStamp // GitHash is the git sha of the built binary, it should be set at buildtime with ldflags GitHash = proctor.GitHash )
Functions ¶
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func QuestionsGet ¶
QuestionsGet gets a list of questions for a given campaign Optional "version" query param can specify a version, otherwise the latest one will be used
func ResponsesPost ¶
ResponsesPost processes the question responses and returns the data type and security level in an Outcome
func RiskLevelsGet ¶
RiskLevelsGet gets a list of supported risk levels and data types Optional "version" query param can specify a version, otherwise the latest one will be used
func VersionHandler ¶ added in v0.3.0
VersionHandler returns the app version.
Types ¶
Click to show internal directories.
Click to hide internal directories.