Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpLog *logrus.Entry
Functions ¶
func AddService ¶
func AddService(engine *gin.Engine) *gin.RouterGroup
Types ¶
type Route ¶
type Route struct { // Name is the name of this Route. Name string // Method is the string for the HTTP method. ex) GET, POST etc.. Method string // Pattern is the pattern of the URI. Pattern string // HandlerFunc is the handler function of this route. HandlerFunc gin.HandlerFunc }
Route is the information for every URI.
Click to show internal directories.
Click to hide internal directories.