Moved all structs exposed by API into apiv1 package
[src/xds/xds-agent.git] / lib / agent / sessions.go
similarity index 99%
rename from lib/agent/session.go
rename to lib/agent/sessions.go
index 06789d5..7347480 100644 (file)
@@ -154,7 +154,7 @@ func (s *Sessions) UpdateIOSocket(sid string, so *socketio.Socket) error {
        return nil
 }
 
-// nesSession Allocate a new client session
+// newSession Allocate a new client session
 func (s *Sessions) newSession(prefix string) *ClientSession {
        uuid := prefix + uuid.NewV4().String()
        id := base64.URLEncoding.EncodeToString([]byte(uuid))