Documentation
¶
Index ¶
- func CORSMiddleware(next http.Handler) http.Handler
- func GetHTTPRouter(mode string) *gin.Engine
- func OptionRequestMiddleware(c *gin.Context)
- func RegisterSwaggerHandler(ctx context.Context, mux *runtime.ServeMux, ...)
- func RequestIDMiddleware(c *gin.Context)
- func RequestTimeMiddleware(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶ added in v1.3.2
CORSMiddleware adds CORS headers and handles OPTIONS requests
func GetHTTPRouter ¶
func OptionRequestMiddleware ¶
func RegisterSwaggerHandler ¶ added in v1.3.2
func RequestIDMiddleware ¶
func RequestTimeMiddleware ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.