typo: modified Server as Serve

Signed-off-by: mgniu <mgniu@dataman-inc.com>
Upstream-commit: 97a4548bb3ff45f5f965e2b92f4eea426c01bd5b
Component: engine
This commit is contained in:
mgniu
2016-10-05 12:20:31 +08:00
parent 546bf84a57
commit 6ee0f7a61c

View File

@ -76,7 +76,7 @@ func (s *Server) Close() {
}
// serveAPI loops through all initialized servers and spawns goroutine
// with Server method for each. It sets createMux() as Handler also.
// with Serve method for each. It sets createMux() as Handler also.
func (s *Server) serveAPI() error {
var chErrors = make(chan error, len(s.servers))
for _, srv := range s.servers {