crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.11
ROOT
/
cli
/
pkg
/
console
/
apiserver.go
Search
History
193 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
APIServer
Router
:
*gin.Engine
Migrate
:
*migrate.Migrate
Address
:
string
Port
:
string
EC
:
*cli.ExecutionContext
errMessage
ErrorMessage
:
string
Error
()
:
string
cliProjectUpdateCheck
(ec *cli.ExecutionContext)
:
gin.HandlerFunc
NewAPIServer
(address string, port string, ec *cli.ExecutionContext)
:
(*APIServer, error)
allowCors
()
:
gin.HandlerFunc
*APIServer
GetHTTPServer
()
:
*http.Server
setRoutes
(migrationDir string, logger *logrus.Logger)
setMigrate
(t *migrate.Migrate)
:
gin.HandlerFunc
setEC
(ec *cli.ExecutionContext)
:
gin.HandlerFunc
setFilePath
(dir string)
:
gin.HandlerFunc
setConfigVersion
(configVersion cli.ConfigVersion)
:
gin.HandlerFunc
setLogger
(logger *logrus.Logger)
:
gin.HandlerFunc
All occurrences
Please wait...
Page is in error, reload to recover