Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ENV = envy.Get("GO_ENV", "development")
ENV is used to help switch settings based on where the application is being run. Default is "development".
View Source
var KEY = envy.Get("HAVEN_JWK_PATH", "")
TODO mappamundi/postgrest/keycloak-dev-public-key.json should be the JWK and will need to be mounted into the havenapi container
Functions ¶
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func CommentGetHandler ¶
CommentGetHandler accepts a comment upost
func CommentPostHandler ¶
CommentPostHandler accepts a comment upost
func HealthzHandler ¶
HealthzHandler checks for a working DB connection
func JwtMiddleware ¶
validate JWT and set context compatible with PostgREST
func UploadHandler ¶
UploadHandler accepts a file upload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.