Documentation
¶
Index ¶
- Constants
- func CheckAuthorizationHeader(c *gin.Context, logger log.Logger, db dal.Dal, ...) bool
- func CreateAndRunApiServer()
- func CreateApiServer() *gin.Engine
- func Init()
- func OAuth2ProxyAuthentication(basicRes context.BasicRes) gin.HandlerFunc
- func RegisterRouter(r *gin.Engine, basicRes context.BasicRes)
- func RestAuthentication(router *gin.Engine, basicRes context.BasicRes) gin.HandlerFunc
- func RunApiServer(router *gin.Engine)
- func SetupApiServer(router *gin.Engine)
Constants ¶
View Source
const DB_MIGRATION_REQUIRED = `` /* 393-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func CheckAuthorizationHeader ¶
func CheckAuthorizationHeader(c *gin.Context, logger log.Logger, db dal.Dal, apiKeyHelper *apikeyhelper.ApiKeyHelper, authHeader, path string) bool
func CreateAndRunApiServer ¶
func CreateAndRunApiServer()
@title DevLake Swagger API @version 0.1 @description <h2>This is the main page of devlake api</h2> @license.name Apache-2.0 @host localhost:8080 @BasePath /
func CreateApiServer ¶
func OAuth2ProxyAuthentication ¶
func OAuth2ProxyAuthentication(basicRes context.BasicRes) gin.HandlerFunc
func RestAuthentication ¶
func RunApiServer ¶
func SetupApiServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.