Renamed package/directory
This commit is contained in:
+3
-3
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user