chore: Add pubsub (#7)

* chore: Add pubsub

Exposes new in-memory and PostgreSQL pubsubs. This will be used for negotiating WebRTC connections.

* Don't run PostgreSQL tests on non-Linux
This commit is contained in:
Kyle Carberry
2022-01-06 08:35:44 -06:00
committed by GitHub
parent 8accb815e1
commit 2618ce4694
5 changed files with 299 additions and 1 deletions

View File

@ -6,10 +6,11 @@ import (
"database/sql"
"testing"
"github.com/coder/coder/database/postgres"
"github.com/stretchr/testify/require"
"go.uber.org/goleak"
"github.com/coder/coder/database/postgres"
_ "github.com/lib/pq"
)