Browse code

typo: modified `Server` as `Serve`

Signed-off-by: mgniu <mgniu@dataman-inc.com>

mgniu authored on 2016/10/05 13:20:31
Showing 1 changed files
... ...
@@ -76,7 +76,7 @@ func (s *Server) Close() {
76 76
 }
77 77
 
78 78
 // serveAPI loops through all initialized servers and spawns goroutine
79
-// with Server method for each. It sets createMux() as Handler also.
79
+// with Serve method for each. It sets createMux() as Handler also.
80 80
 func (s *Server) serveAPI() error {
81 81
 	var chErrors = make(chan error, len(s.servers))
82 82
 	for _, srv := range s.servers {