Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MyUserHandler ¶
MyUserHandler godoc @summary Get information about the calling user @description Get Sherlock's understanding of the calling user based on IAP and the Firecloud.org Google Workspace organization. @tags Misc @produce json @success 200 {object} misc.MyUserResponse @failure 407,500 {object} errors.ErrorResponse @router /my-user [get]
func StatusHandler ¶
StatusHandler godoc @summary Get Sherlock's current status @description Get Sherlock's current status. Right now, this endpoint always returned OK (if the server is online). @description This endpoint is acceptable to use for a readiness check. @tags Misc @produce json @success 200 {object} misc.StatusResponse @router /status [get]
func VersionHandler ¶
VersionHandler godoc @summary Get Sherlock's own current version @description Get the build version of this Sherlock instance. @tags Misc @produce json @success 200 {object} misc.VersionResponse @router /version [get]
Types ¶
type MyUserResponse ¶
type StatusResponse ¶
type StatusResponse struct {
OK bool `json:"ok"`
}