Merge branch '10669-safe-http-cache'
[arvados.git] / services / ws / session_v0.go
index 364555a74087461e799b6d7925dc703e4be3c188..44e2a1deb5843f5909fc6f9157bbde1ca045e424 100644 (file)
@@ -35,6 +35,9 @@ type v0session struct {
        setupOnce     sync.Once
 }
 
+// newSessionV0 returns a v0 session: a partial port of the Rails/puma
+// implementation, with just enough functionality to support Workbench
+// and arv-mount.
 func newSessionV0(ws wsConn, sendq chan<- interface{}, db *sql.DB, pc permChecker, ac *arvados.Client) (session, error) {
        sess := &v0session{
                sendq:       sendq,