command
module
Version:
v0.0.0-...-aeaa42d
Opens a new window with list of versions in this module.
Published: May 22, 2020
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Anrop Streams API
Returns active streamers on Anrop.
Requirements
Code is written in Go and uses Go modules for dependency management.
How To Use
Use go build to download all dependencies and compile the sources.
Start the API with the Anrop-Streams binary.
Server will be available at $PORT.
Environment Variables
Environment variables can be specified in .env file and will be autoloaded.
| Key |
Required |
Description |
| AVATAR_BASE_URL |
No |
Prefix to all avatar urls |
| DATABASE_URL |
Yes |
MySQL url to your Anrop database |
| TWITCH_CLIENT_ID |
Yes |
Twitch API Client ID |
| PORT |
No |
Port that HTTP Server is bound to. 8080 by default |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.