Documentation ¶
Index ¶
- func FileUpload(savePath string) gin.HandlerFunc
- func GinGraphqlHandler(root any, content embed.FS) gin.HandlerFunc
- func GinGraphqlView() gin.HandlerFunc
- func HttpCheckHealth(router *gin.Engine)
- func HttpPing(router *gin.Engine)
- func RegisterHttpRouter(r *gin.Engine, root any, content embed.FS, dev ...bool)
- func RegisterMetricRoute(r *gin.Engine)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileUpload ¶
func FileUpload(savePath string) gin.HandlerFunc
func GinGraphqlHandler ¶
func GinGraphqlHandler(root any, content embed.FS) gin.HandlerFunc
GinGraphqlHandler returns a http.Handler that can be used to serve the GraphQL API.
func GinGraphqlView ¶
func GinGraphqlView() gin.HandlerFunc
GinGraphqlView returns a http.HandlerFunc that can be used to serve the GraphiQL IDE.
func RegisterHttpRouter ¶
RegisterHttpRouter registers the GraphQL API and GraphiQL IDE.
func RegisterMetricRoute ¶
RegisterMetricRoute registers the metric route.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.