X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fagent%2Fsessions.go;fp=lib%2Fagent%2Fsession.go;h=7347480cf967acadef092b0ffac463f5b6d5e195;hb=be13167b869161b6e19dc3e94835245cdc7911e5;hp=06789d54809ad5380cd654d2315be90b9b48c089;hpb=459f46bc410c8641314d5f3eb39c871558b7d156;p=src%2Fxds%2Fxds-agent.git diff --git a/lib/agent/session.go b/lib/agent/sessions.go similarity index 99% rename from lib/agent/session.go rename to lib/agent/sessions.go index 06789d5..7347480 100644 --- a/lib/agent/session.go +++ b/lib/agent/sessions.go @@ -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))