Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
birc
Package birc implements IRC communication for the bot.
|
Package birc implements IRC communication for the bot. |
birc/breq
Package breq implements requests passed around internally inside of birc.
|
Package breq implements requests passed around internally inside of birc. |
birc/fakeirc
Package fakeirc implements a fake IRC server for testing.
|
Package fakeirc implements a fake IRC server for testing. |
bnsq
Package bnsq provides a type-safe NSQ pubsub client.
|
Package bnsq provides a type-safe NSQ pubsub client. |
bnsq/bnsqmeta
Package bnsqmeta propagates NSQ metadata via contexts.
|
Package bnsqmeta propagates NSQ metadata via contexts. |
bot
Package bot implements the core HortBot IRC message handling logic.
|
Package bot implements the core HortBot IRC message handling logic. |
bot/btest
Package btest implements a script test system for the bot package.
|
Package btest implements a script test system for the bot package. |
cbp
Package cbp implements a CoeBot-style command parser.
|
Package cbp implements a CoeBot-style command parser. |
cli
Package cli consolidates flag and main function handling.
|
Package cli consolidates flag and main function handling. |
cli/flags/botflags
Package botflags processes bot-related flags.
|
Package botflags processes bot-related flags. |
cli/flags/httpflags
Package httpflags provides HTTP client flags.
|
Package httpflags provides HTTP client flags. |
cli/flags/ircflags
Package ircflags processes IRC-related flags.
|
Package ircflags processes IRC-related flags. |
cli/flags/jaegerflags
Package jaegerflags processes Jaeger-related flags.
|
Package jaegerflags processes Jaeger-related flags. |
cli/flags/nsqflags
Package nsqflags processes NSQ-related flags.
|
Package nsqflags processes NSQ-related flags. |
cli/flags/promflags
Package promflags provides prometheus metric flags.
|
Package promflags provides prometheus metric flags. |
cli/flags/redisflags
Package redisflags processes redis-related flags.
|
Package redisflags processes redis-related flags. |
cli/flags/sqlflags
Package sqlflags processes SQL database related flags.
|
Package sqlflags processes SQL database related flags. |
cli/flags/twitchflags
Package twitchflags processes Twitch client related flags.
|
Package twitchflags processes Twitch client related flags. |
cli/flags/webflags
Package webflags proceses web server related flags.
|
Package webflags proceses web server related flags. |
cli/subcommands/bot
Package bot implements the main command for the bot service.
|
Package bot implements the main command for the bot service. |
cli/subcommands/confconvert
Package confconvert implements the main command for the CoeBot config converter.
|
Package confconvert implements the main command for the CoeBot config converter. |
cli/subcommands/confimport
Package confimport implements the main command for the config dump importer.
|
Package confimport implements the main command for the config dump importer. |
cli/subcommands/irc
Package irc implements the main command for the IRC service.
|
Package irc implements the main command for the IRC service. |
cli/subcommands/sitedbconvert
Package sitedbconvert implements the main command for the site-db dump converter.
|
Package sitedbconvert implements the main command for the site-db dump converter. |
cli/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. |
confimport
Package confimport implements importing and exporting of full channel configurations.
|
Package confimport implements importing and exporting of full channel configurations. |
confimport/sitedb
Package sitedb reads out channel and variable information from CoeBot site DB dumps.
|
Package sitedb reads out channel and variable information from CoeBot site DB dumps. |
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. |
db/migrations
Package migrations performs database migrations embedded in the binary.
|
Package migrations performs database migrations embedded in the binary. |
db/models
Package models implements an ORM generated from the HortBot Postgres database.
|
Package models implements an ORM generated from the HortBot Postgres database. |
db/modelsx
Package modelsx provides extensions for the models package.
|
Package modelsx provides extensions for the models package. |
db/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. |
pkg/apiclient/extralife
Package extralife provides an Extra-Life API client.
|
Package extralife provides an Extra-Life API client. |
pkg/apiclient/hltb
Package hltb implements a HowLongToBeat client.
|
Package hltb implements a HowLongToBeat client. |
pkg/apiclient/lastfm
Package lastfm provides a LastFM client.
|
Package lastfm provides a LastFM client. |
pkg/apiclient/simple
Package simple implements a simple HTTP client for accessing URLs.
|
Package simple implements a simple HTTP client for accessing URLs. |
pkg/apiclient/steam
Package steam provides a Steam API client.
|
Package steam provides a Steam API client. |
pkg/apiclient/tinyurl
Package tinyurl provides a TinyURL client.
|
Package tinyurl provides a TinyURL client. |
pkg/apiclient/twitch
Package twitch implements a Twitch API client.
|
Package twitch implements a Twitch API client. |
pkg/apiclient/urban
Package urban provides an Urban Dictionary API client.
|
Package urban provides an Urban Dictionary API client. |
pkg/apiclient/xkcd
Package xkcd provides an XKCD API client.
|
Package xkcd provides an XKCD API client. |
pkg/apiclient/youtube
Package youtube proivdes a YouTube API client.
|
Package youtube proivdes a YouTube API client. |
pkg/assertx
Package assertx contains extensions to the assert package.
|
Package assertx contains extensions to the assert package. |
pkg/correlation
Package correlation provides correlation semantics for use across service boundaries.
|
Package correlation provides correlation semantics for use across service boundaries. |
pkg/dbx
Package dbx provides helpers for the database/sql package.
|
Package dbx provides helpers for the database/sql package. |
pkg/docker
Package docker manages temporary docker containers.
|
Package docker manages temporary docker containers. |
pkg/docker/dnsq
Package dnsq creates temporary NSQ server containers.
|
Package dnsq creates temporary NSQ server containers. |
pkg/docker/dpostgres
Package dpostgres creates PostgreSQL database containers.
|
Package dpostgres creates PostgreSQL database containers. |
pkg/docker/dpostgres/pgpool
Package pgpool implements a pool of databases for testing.
|
Package pgpool implements a pool of databases for testing. |
pkg/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. |
pkg/findlinks
Package findlinks provides functions to find links in text.
|
Package findlinks provides functions to find links in text. |
pkg/httpmockx
Package httpmockx contains extensions to the httpmock package.
|
Package httpmockx contains extensions to the httpmock package. |
pkg/httpx
Package httpx implements HTTP helper types and functions.
|
Package httpx implements HTTP helper types and functions. |
pkg/ircx
Package ircx contains helpful IRC library extensions.
|
Package ircx contains helpful IRC library extensions. |
pkg/jsonx
Package jsonx extends the encoding/json API.
|
Package jsonx extends the encoding/json API. |
pkg/linkmatch
Package linkmatch implements an algorithm for matching URLs against patterns.
|
Package linkmatch implements an algorithm for matching URLs against patterns. |
pkg/oauth2x
Package oauth2x contains helpers for the oauth2 package.
|
Package oauth2x contains helpers for the oauth2 package. |
pkg/recache
Package recache provides a regex compilation cache.
|
Package recache provides a regex compilation cache. |
pkg/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. |
pkg/stringsx
Package stringsx contains extensions to the strings package.
|
Package stringsx contains extensions to the strings package. |
pkg/testutil
Package testutil provides useful testing helpers.
|
Package testutil provides useful testing helpers. |
pkg/testutil/miniredistest
Package miniredistest provides a test redis server.
|
Package miniredistest provides a test redis server. |
pkg/twitchx
Package twitchx provides extensions to the Twitch client.
|
Package twitchx provides extensions to the Twitch client. |
pkg/wqueue
Package wqueue implements a work queue, with independent internal subqueues.
|
Package wqueue implements a work queue, with independent internal subqueues. |
version
Package version provides a global version string.
|
Package version provides a global version string. |
web
Package web implements the HortBot web server.
|
Package web implements the HortBot web server. |
web/mid
Package mid provides HTTP middleware.
|
Package mid provides HTTP middleware. |
web/templates
Package templates contains generated HTML templates.
|
Package templates contains generated HTML templates. |
Click to show internal directories.
Click to hide internal directories.