Directories ¶
Path | Synopsis |
---|---|
_example
|
|
Package api provides an interface to interact with the Discord REST API.
|
Package api provides an interface to interact with the Discord REST API. |
Package discord provides common structures that the whole repository uses.
|
Package discord provides common structures that the whole repository uses. |
Package gateway handles the Discord gateway (or Websocket) connection, its events, and everything related to it.
|
Package gateway handles the Discord gateway (or Websocket) connection, its events, and everything related to it. |
Package handler handles incoming Gateway events.
|
Package handler handles incoming Gateway events. |
internal
|
|
httputil
Package httputil provides abstractions around the common needs of HTTP.
|
Package httputil provides abstractions around the common needs of HTTP. |
json
Package json allows for different implementations of JSON serializing, as well as extra optional types needed.
|
Package json allows for different implementations of JSON serializing, as well as extra optional types needed. |
wsutil
Package wsutil provides abstractions around the Websocket, including rate limits.
|
Package wsutil provides abstractions around the Websocket, including rate limits. |
Package session abstracts around the REST API and the Gateway, managing both at once.
|
Package session abstracts around the REST API and the Gateway, managing both at once. |
Package state provides interfaces for a local or remote state, as well as abstractions around the REST API and Gateway events.
|
Package state provides interfaces for a local or remote state, as well as abstractions around the REST API and Gateway events. |
Click to show internal directories.
Click to hide internal directories.