1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 19:07:06 +00:00

Multiserver listening - Try first for https://github.com/kataras/iris/issues/235 - example added

This commit is contained in:
Makis Maropoulos
2016-06-29 16:25:17 +03:00
parent 9d8f32ce1a
commit 5b8f4dc1b0
3 changed files with 52 additions and 2 deletions

View File

@@ -410,7 +410,7 @@ func (s *Server) Open() error {
}
// close closes the server
func (s *Server) close() (err error) {
func (s *Server) Close() (err error) {
if !s.IsListening() {
return errServerIsClosed.Return()
}