Open xaionaro opened 5 years ago
hm, @xaionaro, couldn't you just run ListenAndServe yourself? maybe like...
r := gin.New()
unit.ListenAndServe(whateverYourAddressIs, *r)
looks like the gin router just calls http.ListenAndServe itself after it adds a few conveniences
Please add support of NGINX Unit. It requires to use another
ListenAndServe
function: https://unit.nginx.org/configuration/#modifying-go-sourcesMay be it's required to hide the
ListenAndServe
functions behind an interface to permit another implementations.