wpsql

command module
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

README

wpsql - Web PostgreSQL client

Server

Install
go get github.com/UNO-SOFT/wpsql
Usage
wpsql [opts] serve [flags]

This starts a server that connects to the allowed databases (-databases flag), on -db-host with -db-user using the password in the -pwenv environment variable.

It allows modifiaction only with the shared secret specified in -update-secret-env environment variable.

Client

There's a library under ./client (go get github.com/UNO-SOFT/wpsql/client), and a simple command line client is usable as

wpsql client -db=remote_db -server=http://remote_host:port "SELECT * FROM information_schema.tables"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package client implements a client for the PostgreSQL through HTTP wpsql server.
Package client implements a client for the PostgreSQL through HTTP wpsql server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL