Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuestionRoutes ¶
func QuestionRoutes(v1 *gin.RouterGroup, httpRouter Router)
Types ¶
type Router ¶
type Router interface { INIT() SETUP_MIDDLEWARES() SETUP_ROUTES() POST(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context)) DELETE(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context)) PUT(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context)) GET(groupPath *gin.RouterGroup, relativePath string, f func(c *gin.Context)) SERVE(port string) }
func NewGinRouter ¶
func NewGinRouter() Router
Click to show internal directories.
Click to hide internal directories.