Documentation ¶
Index ¶
- Variables
- type API
- func (a *API) AddNewFeed() http.HandlerFunc
- func (a *API) FollowersEndpoint() http.HandlerFunc
- func (a *API) FollowingEndpoint() http.HandlerFunc
- func (a *API) GetFeed() http.HandlerFunc
- func (a *API) GetFeedWithUsername() http.HandlerFunc
- func (a *API) ListFeedStatus() http.HandlerFunc
- func (a *API) ListFeeds() http.HandlerFunc
- func (a *API) ReceiveActivity() http.HandlerFunc
- func (a *API) RedirectUser() http.HandlerFunc
- func (a *API) ServeRobotstxt() http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWrongURI = errutil.NewError(errutil.TypeBadRequest, "uri of actor and host do not match") ErrWrongFormat = errutil.NewError(errutil.TypeBadRequest, "no acct: in resource") )
api errors
View Source
var Module = fx.Options( fx.Invoke(ProvideAPI), )
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { *chi.Mux // contains filtered or unexported fields }
func ProvideAPI ¶
func (*API) AddNewFeed ¶
func (a *API) AddNewFeed() http.HandlerFunc
func (*API) FollowersEndpoint ¶
func (a *API) FollowersEndpoint() http.HandlerFunc
func (*API) FollowingEndpoint ¶
func (a *API) FollowingEndpoint() http.HandlerFunc
func (*API) GetFeed ¶
func (a *API) GetFeed() http.HandlerFunc
func (*API) GetFeedWithUsername ¶
func (a *API) GetFeedWithUsername() http.HandlerFunc
func (*API) ListFeedStatus ¶
func (a *API) ListFeedStatus() http.HandlerFunc
func (*API) ListFeeds ¶
func (a *API) ListFeeds() http.HandlerFunc
func (*API) ReceiveActivity ¶
func (a *API) ReceiveActivity() http.HandlerFunc
func (*API) RedirectUser ¶
func (a *API) RedirectUser() http.HandlerFunc
Redirect user is a workaround to link from a mastodoan instance to the web app
func (*API) ServeRobotstxt ¶
func (a *API) ServeRobotstxt() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.