@slay-pics/slay-q-rpc
Driver for slay-q-ingest
RPC server. See Slay Q for more info.
Read the Docs
Usage
Install package:
npm install @slay-pics/slay-q @slay-pics/slay-q-rpc
yarn add @slay-pics/slay-q @slay-pics/slay-q-rpc
pnpm install @slay-pics/slay-q @slay-pics/slay-q-rpc
bun install @slay-pics/slay-q @slay-pics/slay-q-rpc
Environment Variables
You can configure the driver by passing in options to the constructor, or alternatively you can specify the following environment variables:
SLAY_Q_WORKER_SECRET
- Shared secret used to validate RPC requestsSLAY_Q_INGEST_ENDPOINT
- URL to the slay-q ingest endpoint
Note that constructor options take precedents.
License
Published under MIT License.