Signed-off-by: mgniu <mgniu@dataman-inc.com>
| ... | ... |
@@ -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 {
|