chat

command
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: MIT Imports: 5 Imported by: 0

README

Description

This is a sample chat program implemented using GaussDB's listen/notify functionality with gaussdbgo.

Start multiple instances of this program connected to the same database to chat between them.

Connection configuration

The database connection is configured via DATABASE_URL and standard GaussDB environment variables (GAUSSDB_HOST, GAUSSDB_USER, etc.)

You can either export them then run chat:

export GAUSSDB_HOST=/private/tmp
./chat

Or you can prefix the chat execution with the environment variables:

GAUSSDB_HOST=/private/tmp ./chat

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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