mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 20:22:20 +08:00
Merge 20d0ed00613cdb2ec95a2ba429afed26ab799697 into c224bf82111883dbe354edf9376642f615b7248e
This commit is contained in:
commit
16678b2710
4
gin.go
4
gin.go
@ -171,6 +171,10 @@ func (engine *Engine) Run(addr string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (engine *Engine) RunTLS(addr string, cert string, key string) {
|
||||||
|
http.ListenAndServeTLS(addr, cert, key, engine)
|
||||||
|
}
|
||||||
|
|
||||||
/************************************/
|
/************************************/
|
||||||
/********** ROUTES GROUPING *********/
|
/********** ROUTES GROUPING *********/
|
||||||
/************************************/
|
/************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user