Include example backend implementation for the connect feature
This commit is contained in:
17
config/examples/connect_backend_go/README.md
Normal file
17
config/examples/connect_backend_go/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# connect-backend-go
|
||||
|
||||
Example Golang backend for Pgweb Connect feature
|
||||
|
||||
## Usage
|
||||
|
||||
Run the backend:
|
||||
|
||||
```bash
|
||||
go run main.go
|
||||
```
|
||||
|
||||
Configure pgweb:
|
||||
|
||||
```bash
|
||||
pgweb --sessions --connect-backend=http://localhost:4567 --connect-token=test
|
||||
```
|
||||
Reference in New Issue
Block a user