Documentation ¶
Index ¶
- func Database(c *gin.Context, db *sql.DB)
- func GetDatabase(c *gin.Context) *gorm.DB
- func HasTransaction(c *gin.Context)
- func NeedsDatabase(c *gin.Context)
- func OAuth2Handler(requiredScope pufferpanel.Scope, requireServer bool) gin.HandlerFunc
- func Recover(c *gin.Context)
- func ResponseAndRecover(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasTransaction ¶
func NeedsDatabase ¶
func OAuth2Handler ¶
func OAuth2Handler(requiredScope pufferpanel.Scope, requireServer bool) gin.HandlerFunc
func ResponseAndRecover ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.