Adding Echo() helper to Server
1 files changed, 5 insertions(+), 0 deletions(-) M server/server.go
M server/server.go => server/server.go +5 -0
@@ 382,6 382,11 @@ func (s *Server) CSRFAddSkip(route string) { s.csrfSkip = append(s.csrfSkip, route) } // Echo returns the servers *echo.Echo instance func (s *Server) Echo() *echo.Echo { return s.e } // Run will run the server func (s *Server) Run() { go s.e.Start(fmt.Sprintf("%s:%d", s.Config.ListenAddr, s.Config.ListenPort))