Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiListenHttps ¶
func ApiListenHttps()
Types ¶
type ErrorCodeFor422 ¶
type ErrorCodeFor422 string
const ( MissingField ErrorCodeFor422 = "missing_field" Invalid ErrorCodeFor422 = "invalid" AlreadyExists ErrorCodeFor422 = "already_exists" )
type ErrorFor422 ¶
type ErrorFor422 struct { Code ErrorCodeFor422 `json:"code"` Field string `json:"field"` Detail string `json:"detail"` }
type MyClaims ¶
type MyClaims struct { UserID int64 `json:"user_id"` jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.