Directories ¶
Path | Synopsis |
---|---|
Package bnsq provides a type-safe NSQ pubsub client.
|
Package bnsq provides a type-safe NSQ pubsub client. |
bnsqmeta
Package bnsqmeta propagates NSQ metadata via contexts.
|
Package bnsqmeta propagates NSQ metadata via contexts. |
Package bot implements the core HortBot message handling logic.
|
Package bot implements the core HortBot message handling logic. |
btest
Package btest implements a script test system for the bot package.
|
Package btest implements a script test system for the bot package. |
Package cbp implements a CoeBot-style command parser.
|
Package cbp implements a CoeBot-style command parser. |
Package cli consolidates flag and main function handling.
|
Package cli consolidates flag and main function handling. |
flags/botflags
Package botflags processes bot-related flags.
|
Package botflags processes bot-related flags. |
flags/httpflags
Package httpflags provides HTTP client flags.
|
Package httpflags provides HTTP client flags. |
flags/nsqflags
Package nsqflags processes NSQ-related flags.
|
Package nsqflags processes NSQ-related flags. |
flags/promflags
Package promflags provides prometheus metric flags.
|
Package promflags provides prometheus metric flags. |
flags/redisflags
Package redisflags processes redis-related flags.
|
Package redisflags processes redis-related flags. |
flags/sqlflags
Package sqlflags processes SQL database related flags.
|
Package sqlflags processes SQL database related flags. |
flags/twitchflags
Package twitchflags processes Twitch client related flags.
|
Package twitchflags processes Twitch client related flags. |
flags/webflags
Package webflags proceses web server related flags.
|
Package webflags proceses web server related flags. |
subcommands/bot
Package bot implements the main command for the bot service.
|
Package bot implements the main command for the bot service. |
subcommands/conduit
Package conduit implements the main command for the conduit service.
|
Package conduit implements the main command for the conduit service. |
subcommands/web
Package web implements the main command for the web service.
|
Package web implements the main command for the web service. |
cmd
|
|
genmodels
genmodels generates hortbot's database models package.
|
genmodels generates hortbot's database models package. |
Package confimport implements importing and exporting of full channel configurations.
|
Package confimport implements importing and exporting of full channel configurations. |
db
|
|
driver
Package driver defines the default PostgreSQL driver to use, to make it convenient to change for all users at once.
|
Package driver defines the default PostgreSQL driver to use, to make it convenient to change for all users at once. |
migrations
Package migrations performs database migrations embedded in the binary.
|
Package migrations performs database migrations embedded in the binary. |
models
Package models implements an ORM generated from the HortBot Postgres database.
|
Package models implements an ORM generated from the HortBot Postgres database. |
modelsx
Package modelsx provides extensions for the models package.
|
Package modelsx provides extensions for the models package. |
redis
Package redis implements a type-safe redis database client.
|
Package redis implements a type-safe redis database client. |
pkg
|
|
apiclient
Package apiclient provides helpers for hortbot's API clients.
|
Package apiclient provides helpers for hortbot's API clients. |
apiclient/extralife
Package extralife provides an Extra-Life API client.
|
Package extralife provides an Extra-Life API client. |
apiclient/hltb
Package hltb implements a HowLongToBeat client.
|
Package hltb implements a HowLongToBeat client. |
apiclient/lastfm
Package lastfm provides a LastFM client.
|
Package lastfm provides a LastFM client. |
apiclient/simple
Package simple implements a simple HTTP client for accessing URLs.
|
Package simple implements a simple HTTP client for accessing URLs. |
apiclient/steam
Package steam provides a Steam API client.
|
Package steam provides a Steam API client. |
apiclient/tinyurl
Package tinyurl provides a TinyURL client.
|
Package tinyurl provides a TinyURL client. |
apiclient/twitch
Package twitch implements a Twitch API client.
|
Package twitch implements a Twitch API client. |
apiclient/urban
Package urban provides an Urban Dictionary API client.
|
Package urban provides an Urban Dictionary API client. |
apiclient/xkcd
Package xkcd provides an XKCD API client.
|
Package xkcd provides an XKCD API client. |
apiclient/youtube
Package youtube proivdes a YouTube API client.
|
Package youtube proivdes a YouTube API client. |
assertx
Package assertx contains extensions to the assert package.
|
Package assertx contains extensions to the assert package. |
correlation
Package correlation provides correlation semantics for use across service boundaries.
|
Package correlation provides correlation semantics for use across service boundaries. |
dbx
Package dbx provides helpers for the database/sql package.
|
Package dbx provides helpers for the database/sql package. |
docker
Package docker manages temporary docker containers.
|
Package docker manages temporary docker containers. |
docker/dnsq
Package dnsq creates temporary NSQ server containers.
|
Package dnsq creates temporary NSQ server containers. |
docker/dpostgres
Package dpostgres creates PostgreSQL database containers.
|
Package dpostgres creates PostgreSQL database containers. |
docker/dpostgres/pgpool
Package pgpool implements a pool of databases for testing.
|
Package pgpool implements a pool of databases for testing. |
errgroupx
Package errgroupx implements a modified version of errgroup's Group, keeping the derived context internally and passing to functions called via Go.
|
Package errgroupx implements a modified version of errgroup's Group, keeping the derived context internally and passing to functions called via Go. |
findlinks
Package findlinks provides functions to find links in text.
|
Package findlinks provides functions to find links in text. |
httpmockx
Package httpmockx contains extensions to the httpmock package.
|
Package httpmockx contains extensions to the httpmock package. |
httpx
Package httpx implements HTTP helper types and functions.
|
Package httpx implements HTTP helper types and functions. |
ircx
Package ircx contains helpful IRC library extensions.
|
Package ircx contains helpful IRC library extensions. |
jsonx
Package jsonx extends the encoding/json API.
|
Package jsonx extends the encoding/json API. |
linkmatch
Package linkmatch implements an algorithm for matching URLs against patterns.
|
Package linkmatch implements an algorithm for matching URLs against patterns. |
oauth2x
Package oauth2x contains helpers for the oauth2 package.
|
Package oauth2x contains helpers for the oauth2 package. |
recache
Package recache provides a regex compilation cache.
|
Package recache provides a regex compilation cache. |
repeat
Package repeat provides a system to run functions repeated on a schedule.
|
Package repeat provides a system to run functions repeated on a schedule. |
stringsx
Package stringsx contains extensions to the strings package.
|
Package stringsx contains extensions to the strings package. |
testutil
Package testutil provides useful testing helpers.
|
Package testutil provides useful testing helpers. |
testutil/miniredistest
Package miniredistest provides a test redis server.
|
Package miniredistest provides a test redis server. |
wqueue
Package wqueue implements a work queue, with independent internal subqueues.
|
Package wqueue implements a work queue, with independent internal subqueues. |
Package version provides a global version string.
|
Package version provides a global version string. |
Package web implements the HortBot web server.
|
Package web implements the HortBot web server. |
mid
Package mid provides HTTP middleware.
|
Package mid provides HTTP middleware. |
templates
Package templates contains generated HTML templates.
|
Package templates contains generated HTML templates. |
Click to show internal directories.
Click to hide internal directories.