Documentation ¶
Index ¶
- func AddPprof()
- func AddSentry(scopeFunc func(*gin.Context, *sentry.Scope))
- func AddService(addedservice service.Config)
- func AddServices(addedservices []service.Config)
- func EnableCustomHealthCheck(path string, check gin.HandlerFunc)
- func EnableHealthCheck()
- func GetRouter() *gin.Engine
- func Init()
- func InitService(config service.Config)
- func JSONLogMiddleware(c *gin.Context)
- func SetCORS()
- func SetSPA(url string, dir string)
- func Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddService ¶
func AddServices ¶
func EnableCustomHealthCheck ¶ added in v0.0.36
func EnableCustomHealthCheck(path string, check gin.HandlerFunc)
func EnableHealthCheck ¶
func EnableHealthCheck()
func InitService ¶
func JSONLogMiddleware ¶ added in v0.0.37
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.