Documentation
¶
Index ¶
- Constants
- type EndpointAccounts
- type EndpointAdmin
- type EndpointApps
- type EndpointBlocks
- type EndpointBookmarks
- type EndpointCustomEmojis
- type EndpointDebug
- type EndpointFavourites
- type EndpointFederationS2s
- type EndpointFollowRequests
- type EndpointHostMeta
- type EndpointInstance
- type EndpointLists
- type EndpointMarkers
- type EndpointMedia
- type EndpointNodeInfo
- type EndpointNotifications
- type EndpointPolls
- type EndpointPreferences
- type EndpointReports
- type EndpointSearch
- type EndpointStatuses
- type EndpointStreaming
- type EndpointTimelines
- type EndpointUser
- type EndpointeaturedTags
Constants ¶
View Source
const UrlEndHostMeta = "/host-meta"
View Source
const UrlPrefixAccounts = "/api/{api_version}/accounts"
View Source
const UrlPrefixAdmin = "/api/{api_version}/admin"
View Source
const UrlPrefixApps = "/api/{api_version}/apps"
View Source
const UrlPrefixBlocks = "/api/{api_version}/blocks"
View Source
const UrlPrefixBookmarks = "/api/{api_version}/bookmarks"
View Source
const UrlPrefixCustomEmojis = "/api/{api_version}/custom_emojis"
View Source
const UrlPrefixDebug = "/api/{api_version}/admin/debug"
View Source
const UrlPrefixFavourites = "/api/{api_version}/favourites"
View Source
const UrlPrefixFeaturedTags = "/api/{api_version}/featured_tags"
View Source
const UrlPrefixFederationS2s = "/users"
View Source
const UrlPrefixFollowRequests = "/api/{api_version}/follow_requests"
View Source
const UrlPrefixInstance = "/api/{api_version}/instance"
View Source
const UrlPrefixLists = "/api/{api_version}/lists"
View Source
const UrlPrefixMarkers = "/api/{api_version}/markers"
View Source
const UrlPrefixMedia = "/api/{api_version}/media"
View Source
const UrlPrefixNodeInfo = "/nodeinfo"
View Source
const UrlPrefixNotifications = "/api/{api_version}/notifications"
View Source
const UrlPrefixPolls = "/api/{api_version}/polls"
View Source
const UrlPrefixPreferences = "/api/{api_version}/preferences"
View Source
const UrlPrefixReports = "/api/{api_version}/reports"
View Source
const UrlPrefixSearch = "/api/{api_version}/search"
View Source
const UrlPrefixStatuses = "/api/{api_version}/statuses"
View Source
const UrlPrefixStreaming = "/api/{api_version}/streaming"
View Source
const UrlPrefixTimelines = "/api/{api_version}/timelines"
View Source
const UrlPrefixUser = "/api/{api_version}/user"
View Source
const UrlPrefixWellKnown = "/.well-known"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointAccounts ¶
type EndpointAccounts struct {
// contains filtered or unexported fields
}
func (EndpointAccounts) ResponseContentType ¶
func (ep EndpointAccounts) ResponseContentType() string
func (EndpointAccounts) UrlEnd ¶
func (ep EndpointAccounts) UrlEnd() string
func (EndpointAccounts) UrlSlug ¶
func (ep EndpointAccounts) UrlSlug() string
type EndpointAdmin ¶
type EndpointAdmin struct {
// contains filtered or unexported fields
}
func (EndpointAdmin) ResponseContentType ¶
func (ep EndpointAdmin) ResponseContentType() string
func (EndpointAdmin) UrlEnd ¶
func (ep EndpointAdmin) UrlEnd() string
func (EndpointAdmin) UrlSlug ¶
func (ep EndpointAdmin) UrlSlug() string
type EndpointApps ¶
type EndpointApps struct {
// contains filtered or unexported fields
}
func (EndpointApps) ResponseContentType ¶
func (ep EndpointApps) ResponseContentType() string
func (EndpointApps) UrlEnd ¶
func (ep EndpointApps) UrlEnd() string
func (EndpointApps) UrlSlug ¶
func (ep EndpointApps) UrlSlug() string
type EndpointBlocks ¶
type EndpointBlocks struct {
// contains filtered or unexported fields
}
func (EndpointBlocks) ResponseContentType ¶
func (ep EndpointBlocks) ResponseContentType() string
func (EndpointBlocks) UrlEnd ¶
func (ep EndpointBlocks) UrlEnd() string
func (EndpointBlocks) UrlSlug ¶
func (ep EndpointBlocks) UrlSlug() string
type EndpointBookmarks ¶
type EndpointBookmarks struct {
// contains filtered or unexported fields
}
func (EndpointBookmarks) ResponseContentType ¶
func (ep EndpointBookmarks) ResponseContentType() string
func (EndpointBookmarks) UrlEnd ¶
func (ep EndpointBookmarks) UrlEnd() string
func (EndpointBookmarks) UrlSlug ¶
func (ep EndpointBookmarks) UrlSlug() string
type EndpointCustomEmojis ¶
type EndpointCustomEmojis struct {
// contains filtered or unexported fields
}
func (EndpointCustomEmojis) ResponseContentType ¶
func (ep EndpointCustomEmojis) ResponseContentType() string
func (EndpointCustomEmojis) UrlEnd ¶
func (ep EndpointCustomEmojis) UrlEnd() string
func (EndpointCustomEmojis) UrlSlug ¶
func (ep EndpointCustomEmojis) UrlSlug() string
type EndpointDebug ¶
type EndpointDebug struct {
// contains filtered or unexported fields
}
func (EndpointDebug) ResponseContentType ¶
func (ep EndpointDebug) ResponseContentType() string
func (EndpointDebug) UrlEnd ¶
func (ep EndpointDebug) UrlEnd() string
func (EndpointDebug) UrlSlug ¶
func (ep EndpointDebug) UrlSlug() string
type EndpointFavourites ¶
type EndpointFavourites struct {
// contains filtered or unexported fields
}
func (EndpointFavourites) ResponseContentType ¶
func (ep EndpointFavourites) ResponseContentType() string
func (EndpointFavourites) UrlEnd ¶
func (ep EndpointFavourites) UrlEnd() string
func (EndpointFavourites) UrlSlug ¶
func (ep EndpointFavourites) UrlSlug() string
type EndpointFederationS2s ¶
type EndpointFederationS2s struct {
// contains filtered or unexported fields
}
func (EndpointFederationS2s) ResponseContentType ¶
func (ep EndpointFederationS2s) ResponseContentType() string
func (EndpointFederationS2s) UrlEnd ¶
func (ep EndpointFederationS2s) UrlEnd() string
func (EndpointFederationS2s) UrlSlug ¶
func (ep EndpointFederationS2s) UrlSlug() string
type EndpointFollowRequests ¶
type EndpointFollowRequests struct {
// contains filtered or unexported fields
}
func (EndpointFollowRequests) ResponseContentType ¶
func (ep EndpointFollowRequests) ResponseContentType() string
func (EndpointFollowRequests) UrlEnd ¶
func (ep EndpointFollowRequests) UrlEnd() string
func (EndpointFollowRequests) UrlSlug ¶
func (ep EndpointFollowRequests) UrlSlug() string
type EndpointHostMeta ¶
type EndpointHostMeta struct {
// contains filtered or unexported fields
}
EndpointHostMeta Returns a compliant hostmeta response to web host metadata queries. See: https://www.rfc-editor.org/rfc/rfc6415.html
func (EndpointHostMeta) ResponseContentType ¶
func (ep EndpointHostMeta) ResponseContentType() string
func (EndpointHostMeta) UrlEnd ¶
func (ep EndpointHostMeta) UrlEnd() string
func (EndpointHostMeta) UrlSlug ¶
func (ep EndpointHostMeta) UrlSlug() string
type EndpointInstance ¶
type EndpointInstance struct {
// contains filtered or unexported fields
}
func (EndpointInstance) ResponseContentType ¶
func (ep EndpointInstance) ResponseContentType() string
func (EndpointInstance) UrlEnd ¶
func (ep EndpointInstance) UrlEnd() string
func (EndpointInstance) UrlSlug ¶
func (ep EndpointInstance) UrlSlug() string
type EndpointLists ¶
type EndpointLists struct {
// contains filtered or unexported fields
}
func (EndpointLists) ResponseContentType ¶
func (ep EndpointLists) ResponseContentType() string
func (EndpointLists) UrlEnd ¶
func (ep EndpointLists) UrlEnd() string
func (EndpointLists) UrlSlug ¶
func (ep EndpointLists) UrlSlug() string
type EndpointMarkers ¶
type EndpointMarkers struct {
// contains filtered or unexported fields
}
func (EndpointMarkers) ResponseContentType ¶
func (ep EndpointMarkers) ResponseContentType() string
func (EndpointMarkers) UrlEnd ¶
func (ep EndpointMarkers) UrlEnd() string
func (EndpointMarkers) UrlSlug ¶
func (ep EndpointMarkers) UrlSlug() string
type EndpointMedia ¶
type EndpointMedia struct {
// contains filtered or unexported fields
}
func (EndpointMedia) ResponseContentType ¶
func (ep EndpointMedia) ResponseContentType() string
func (EndpointMedia) UrlEnd ¶
func (ep EndpointMedia) UrlEnd() string
func (EndpointMedia) UrlSlug ¶
func (ep EndpointMedia) UrlSlug() string
type EndpointNodeInfo ¶
type EndpointNodeInfo struct {
// contains filtered or unexported fields
}
func (EndpointNodeInfo) ResponseContentType ¶
func (ep EndpointNodeInfo) ResponseContentType() string
func (EndpointNodeInfo) UrlEnd ¶
func (ep EndpointNodeInfo) UrlEnd() string
func (EndpointNodeInfo) UrlSlug ¶
func (ep EndpointNodeInfo) UrlSlug() string
type EndpointNotifications ¶
type EndpointNotifications struct {
// contains filtered or unexported fields
}
func (EndpointNotifications) ResponseContentType ¶
func (ep EndpointNotifications) ResponseContentType() string
func (EndpointNotifications) UrlEnd ¶
func (ep EndpointNotifications) UrlEnd() string
func (EndpointNotifications) UrlSlug ¶
func (ep EndpointNotifications) UrlSlug() string
type EndpointPolls ¶
type EndpointPolls struct {
// contains filtered or unexported fields
}
func (EndpointPolls) ResponseContentType ¶
func (ep EndpointPolls) ResponseContentType() string
func (EndpointPolls) UrlEnd ¶
func (ep EndpointPolls) UrlEnd() string
func (EndpointPolls) UrlSlug ¶
func (ep EndpointPolls) UrlSlug() string
type EndpointPreferences ¶
type EndpointPreferences struct {
// contains filtered or unexported fields
}
func (EndpointPreferences) ResponseContentType ¶
func (ep EndpointPreferences) ResponseContentType() string
func (EndpointPreferences) UrlEnd ¶
func (ep EndpointPreferences) UrlEnd() string
func (EndpointPreferences) UrlSlug ¶
func (ep EndpointPreferences) UrlSlug() string
type EndpointReports ¶
type EndpointReports struct {
// contains filtered or unexported fields
}
func (EndpointReports) ResponseContentType ¶
func (ep EndpointReports) ResponseContentType() string
func (EndpointReports) UrlEnd ¶
func (ep EndpointReports) UrlEnd() string
func (EndpointReports) UrlSlug ¶
func (ep EndpointReports) UrlSlug() string
type EndpointSearch ¶
type EndpointSearch struct {
// contains filtered or unexported fields
}
func (EndpointSearch) ResponseContentType ¶
func (ep EndpointSearch) ResponseContentType() string
func (EndpointSearch) UrlEnd ¶
func (ep EndpointSearch) UrlEnd() string
func (EndpointSearch) UrlSlug ¶
func (ep EndpointSearch) UrlSlug() string
type EndpointStatuses ¶
type EndpointStatuses struct {
// contains filtered or unexported fields
}
func (EndpointStatuses) ResponseContentType ¶
func (ep EndpointStatuses) ResponseContentType() string
func (EndpointStatuses) UrlEnd ¶
func (ep EndpointStatuses) UrlEnd() string
func (EndpointStatuses) UrlSlug ¶
func (ep EndpointStatuses) UrlSlug() string
type EndpointStreaming ¶
type EndpointStreaming struct {
// contains filtered or unexported fields
}
func (EndpointStreaming) ResponseContentType ¶
func (ep EndpointStreaming) ResponseContentType() string
func (EndpointStreaming) UrlEnd ¶
func (ep EndpointStreaming) UrlEnd() string
func (EndpointStreaming) UrlSlug ¶
func (ep EndpointStreaming) UrlSlug() string
type EndpointTimelines ¶
type EndpointTimelines struct {
// contains filtered or unexported fields
}
func (EndpointTimelines) ResponseContentType ¶
func (ep EndpointTimelines) ResponseContentType() string
func (EndpointTimelines) UrlEnd ¶
func (ep EndpointTimelines) UrlEnd() string
func (EndpointTimelines) UrlSlug ¶
func (ep EndpointTimelines) UrlSlug() string
type EndpointUser ¶
type EndpointUser struct {
// contains filtered or unexported fields
}
func (EndpointUser) ResponseContentType ¶
func (ep EndpointUser) ResponseContentType() string
func (EndpointUser) UrlEnd ¶
func (ep EndpointUser) UrlEnd() string
func (EndpointUser) UrlSlug ¶
func (ep EndpointUser) UrlSlug() string
type EndpointeaturedTags ¶
type EndpointeaturedTags struct {
// contains filtered or unexported fields
}
func (EndpointeaturedTags) ResponseContentType ¶
func (ep EndpointeaturedTags) ResponseContentType() string
func (EndpointeaturedTags) UrlEnd ¶
func (ep EndpointeaturedTags) UrlEnd() string
func (EndpointeaturedTags) UrlSlug ¶
func (ep EndpointeaturedTags) UrlSlug() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.