Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientModule ¶
ClientModule represents a chunk of code (usually contained in a single package) that adds a set of functionalities and/or side effects to a router, by mapping routes and/or middlewares onto it--in other words, a REST API ;) A ClientAPIMpdule with routes corresponds roughly to one main path of the gotosocial REST api, for example /api/v1/accounts/ or /oauth/
type FederationModule ¶
FederationModule represents a chunk of code (usually contained in a single package) that adds a set of functionalities and/or side effects to a router, by mapping routes and/or middlewares onto it--in other words, a REST API ;) Unlike ClientAPIModule, federation API module is not intended to be interacted with by clients directly -- it is primarily a server-to-server interface.