Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cors ¶
func Cors() gin.HandlerFunc
func Register ¶ added in v1.1.28
func Register(group *gin.RouterGroup, set, Order int, httpMethod, relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes
Types ¶
type ResponseWriter ¶
type ResponseWriter struct { gin.ResponseWriter Body *bytes.Buffer }
func (ResponseWriter) WriteString ¶
func (w ResponseWriter) WriteString(s string) (int, error)
type RouterInfo ¶ added in v1.1.28
func GetRouters ¶ added in v1.1.28
func GetRouters() []RouterInfo
Click to show internal directories.
Click to hide internal directories.