Renamed package/directory

This commit is contained in:
sm
2014-04-23 14:28:13 -07:00
parent 9e1cd272f7
commit 72d0843ff8
16 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
package botserv
package server
import (
"encoding/json"
@@ -24,7 +24,7 @@ func (h JsonHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
// Controller is the shepherd of a collection of games. The main package in
// botserv simply populates one of these and starts an http server.
// server simply populates one of these and starts an http server.
type Controller struct {
Idg *IdGenerator
Conf Config
@@ -247,7 +247,7 @@ func (c *Controller) StopGame(w http.ResponseWriter, req *http.Request) {
log.Printf("returning from StopGame")
}
// KillServer is my favorite method of all the methods in botserv: it shuts
// KillServer is my favorite method of all the methods in server: it shuts
// things down respecting profiling requests.
func (c *Controller) KillServer(w http.ResponseWriter, req *http.Request) {
if c.Profile != "" {