X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ba1ec0f0b59ab871b6e4faf5e8ae87809fdb85b6..58ed4ee31a1e2c18e991065ab4f7c4bd2371e563:/services/ws/session_v0.go diff --git a/services/ws/session_v0.go b/services/ws/session_v0.go index 364555a740..44e2a1deb5 100644 --- a/services/ws/session_v0.go +++ b/services/ws/session_v0.go @@ -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,