Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
// Package generated provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
package generated
import (
"errors"
"fmt"
"net/http"
"github.com/go-chi/chi/v5"
"github.com/oapi-codegen/runtime"
)
// ServerInterface represents all server handlers.
type ServerInterface interface {
// GetExternalAPIUsers Get all access tokens
// (GET /admin/accesstokens)
GetExternalAPIUsers(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/accesstokens)
GetExternalAPIUsersOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/accesstokens/create)
CreateExternalAPIUserOptions(w http.ResponseWriter, r *http.Request)
// CreateExternalAPIUser Create a single access token
// (POST /admin/accesstokens/create)
CreateExternalAPIUser(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/accesstokens/delete)
DeleteExternalAPIUserOptions(w http.ResponseWriter, r *http.Request)
// DeleteExternalAPIUser Delete a single external API user
// (POST /admin/accesstokens/delete)
DeleteExternalAPIUser(w http.ResponseWriter, r *http.Request)
// GetConnectedChatClients Get a detailed list of currently connected chat clients
// (GET /admin/chat/clients)
GetConnectedChatClients(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/clients)
GetConnectedChatClientsOptions(w http.ResponseWriter, r *http.Request)
// GetChatMessagesAdmin Get all chat messages for the admin, unfiltered
// (GET /admin/chat/messages)
GetChatMessagesAdmin(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/messages)
GetChatMessagesAdminOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/messagevisibility)
UpdateMessageVisibilityAdminOptions(w http.ResponseWriter, r *http.Request)
// UpdateMessageVisibilityAdmin Update visibility of chat messages
// (POST /admin/chat/messagevisibility)
UpdateMessageVisibilityAdmin(w http.ResponseWriter, r *http.Request)
// GetDisabledUsers Get a list of disabled users
// (GET /admin/chat/users/disabled)
GetDisabledUsers(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/disabled)
GetDisabledUsersOptions(w http.ResponseWriter, r *http.Request)
// GetIPAddressBans Get all banned IP addresses
// (GET /admin/chat/users/ipbans)
GetIPAddressBans(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/ipbans)
GetIPAddressBansOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/ipbans/create)
BanIPAddressOptions(w http.ResponseWriter, r *http.Request)
// BanIPAddress Ban an IP address
// (POST /admin/chat/users/ipbans/create)
BanIPAddress(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/ipbans/remove)
UnbanIPAddressOptions(w http.ResponseWriter, r *http.Request)
// UnbanIPAddress Remove an IP ban
// (POST /admin/chat/users/ipbans/remove)
UnbanIPAddress(w http.ResponseWriter, r *http.Request)
// GetModerators Get a list of moderator users
// (GET /admin/chat/users/moderators)
GetModerators(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/moderators)
GetModeratorsOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/setenabled)
UpdateUserEnabledAdminOptions(w http.ResponseWriter, r *http.Request)
// UpdateUserEnabledAdmin Enable or disable a user
// (POST /admin/chat/users/setenabled)
UpdateUserEnabledAdmin(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/chat/users/setmoderator)
UpdateUserModeratorOptions(w http.ResponseWriter, r *http.Request)
// UpdateUserModerator Set moderator status for a user
// (POST /admin/chat/users/setmoderator)
UpdateUserModerator(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/adminpass)
SetAdminPasswordOptions(w http.ResponseWriter, r *http.Request)
// SetAdminPassword Change the current admin password
// (POST /admin/config/adminpass)
SetAdminPassword(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/appearance)
SetCustomColorVariableValuesOptions(w http.ResponseWriter, r *http.Request)
// SetCustomColorVariableValues Set style/color/css values
// (POST /admin/config/appearance)
SetCustomColorVariableValues(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/autoplay)
SetAutoplayOptions(w http.ResponseWriter, r *http.Request)
// SetAutoplay Update autoplay behavior
// (POST /admin/config/autoplay)
SetAutoplay(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/disable)
SetChatDisabledOptions(w http.ResponseWriter, r *http.Request)
// SetChatDisabled Disable chat
// (POST /admin/config/chat/disable)
SetChatDisabled(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/establishedusermode)
SetEnableEstablishedChatUserModeOptions(w http.ResponseWriter, r *http.Request)
// SetEnableEstablishedChatUserMode Enable/disable chat established user mode
// (POST /admin/config/chat/establishedusermode)
SetEnableEstablishedChatUserMode(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/forbiddenusernames)
SetForbiddenUsernameListOptions(w http.ResponseWriter, r *http.Request)
// SetForbiddenUsernameList Set chat usernames that are not allowed
// (POST /admin/config/chat/forbiddenusernames)
SetForbiddenUsernameList(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/joinmessagesenabled)
SetChatJoinMessagesEnabledOptions(w http.ResponseWriter, r *http.Request)
// SetChatJoinMessagesEnabled Enable chat for user join messages
// (POST /admin/config/chat/joinmessagesenabled)
SetChatJoinMessagesEnabled(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/requireauthentication)
SetChatRequireAuthenticationOptions(w http.ResponseWriter, r *http.Request)
// SetChatRequireAuthentication Set require authentication for chat
// (POST /admin/config/chat/requireauthentication)
SetChatRequireAuthentication(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/slurfilterenabled)
SetChatSlurFilterEnabledOptions(w http.ResponseWriter, r *http.Request)
// SetChatSlurFilterEnabled Set slur filter enabled
// (POST /admin/config/chat/slurfilterenabled)
SetChatSlurFilterEnabled(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/spamprotectionenabled)
SetChatSpamProtectionEnabledOptions(w http.ResponseWriter, r *http.Request)
// SetChatSpamProtectionEnabled Set spam protection enabled
// (POST /admin/config/chat/spamprotectionenabled)
SetChatSpamProtectionEnabled(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/chat/suggestedusernames)
SetSuggestedUsernameListOptions(w http.ResponseWriter, r *http.Request)
// SetSuggestedUsernameList Set the suggested chat usernames that will be assigned automatically
// (POST /admin/config/chat/suggestedusernames)
SetSuggestedUsernameList(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/customjavascript)
SetCustomJavascriptOptions(w http.ResponseWriter, r *http.Request)
// SetCustomJavascript Update custom JavaScript
// (POST /admin/config/customjavascript)
SetCustomJavascript(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/customstyles)
SetCustomStylesOptions(w http.ResponseWriter, r *http.Request)
// SetCustomStyles Update custom styles
// (POST /admin/config/customstyles)
SetCustomStyles(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/directoryenabled)
SetDirectoryEnabledOptions(w http.ResponseWriter, r *http.Request)
// SetDirectoryEnabled Update directory enabled
// (POST /admin/config/directoryenabled)
SetDirectoryEnabled(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/disablesearchindexing)
SetDisableSearchIndexingOptions(w http.ResponseWriter, r *http.Request)
// SetDisableSearchIndexing Update search indexing
// (POST /admin/config/disablesearchindexing)
SetDisableSearchIndexing(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/externalactions)
SetExternalActionsOptions(w http.ResponseWriter, r *http.Request)
// SetExternalActions Update external action links
// (POST /admin/config/externalactions)
SetExternalActions(w http.ResponseWriter, r *http.Request)
// ResetFavicon Reset favicon to default
// (DELETE /admin/config/favicon)
ResetFavicon(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/favicon)
SetFaviconOptions(w http.ResponseWriter, r *http.Request)
// SetFavicon Upload custom favicon
// (POST /admin/config/favicon)
SetFavicon(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/blockdomains)
SetFederationBlockDomainsOptions(w http.ResponseWriter, r *http.Request)
// SetFederationBlockDomains Set Federation blocked domains
// (POST /admin/config/federation/blockdomains)
SetFederationBlockDomains(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/enable)
SetFederationEnabledOptions(w http.ResponseWriter, r *http.Request)
// SetFederationEnabled Enable/disable federation features
// (POST /admin/config/federation/enable)
SetFederationEnabled(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/enablequotes)
SetFederationEnableQuotesOptions(w http.ResponseWriter, r *http.Request)
// SetFederationEnableQuotes Set if posts from this server can be quoted
// (POST /admin/config/federation/enablequotes)
SetFederationEnableQuotes(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/hidefollowers)
SetFederationHideFollowersTabOptions(w http.ResponseWriter, r *http.Request)
// SetFederationHideFollowersTab Set if the public followers tab is hidden on the web UI
// (POST /admin/config/federation/hidefollowers)
SetFederationHideFollowersTab(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/livemessage)
SetFederationGoLiveMessageOptions(w http.ResponseWriter, r *http.Request)
// SetFederationGoLiveMessage Set federated go live message
// (POST /admin/config/federation/livemessage)
SetFederationGoLiveMessage(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/private)
SetFederationActivityPrivateOptions(w http.ResponseWriter, r *http.Request)
// SetFederationActivityPrivate Set if federation activities are private
// (POST /admin/config/federation/private)
SetFederationActivityPrivate(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/showengagement)
SetFederationShowEngagementOptions(w http.ResponseWriter, r *http.Request)
// SetFederationShowEngagement Set if fediverse engagement appears in chat
// (POST /admin/config/federation/showengagement)
SetFederationShowEngagement(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/federation/username)
SetFederationUsernameOptions(w http.ResponseWriter, r *http.Request)
// SetFederationUsername Set local federated username
// (POST /admin/config/federation/username)
SetFederationUsername(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/ffmpegpath)
SetFfmpegPathOptions(w http.ResponseWriter, r *http.Request)
// SetFfmpegPath Update FFMPEG path
// (POST /admin/config/ffmpegpath)
SetFfmpegPath(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/hideviewercount)
SetHideViewerCountOptions(w http.ResponseWriter, r *http.Request)
// SetHideViewerCount Update hide viewer count
// (POST /admin/config/hideviewercount)
SetHideViewerCount(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/logo)
SetLogoOptions(w http.ResponseWriter, r *http.Request)
// SetLogo Update logo
// (POST /admin/config/logo)
SetLogo(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/name)
SetServerNameOptions(w http.ResponseWriter, r *http.Request)
// SetServerName Change the server name
// (POST /admin/config/name)
SetServerName(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/notifications/browser)
SetBrowserNotificationConfigurationOptions(w http.ResponseWriter, r *http.Request)
// SetBrowserNotificationConfiguration Configure Browser notifications
// (POST /admin/config/notifications/browser)
SetBrowserNotificationConfiguration(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/notifications/discord)
SetDiscordNotificationConfigurationOptions(w http.ResponseWriter, r *http.Request)
// SetDiscordNotificationConfiguration Configure Discord notifications
// (POST /admin/config/notifications/discord)
SetDiscordNotificationConfiguration(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/nsfw)
SetNSFWOptions(w http.ResponseWriter, r *http.Request)
// SetNSFW Update NSFW marking
// (POST /admin/config/nsfw)
SetNSFW(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/offlinemessage)
SetCustomOfflineMessageOptions(w http.ResponseWriter, r *http.Request)
// SetCustomOfflineMessage Change the offline message
// (POST /admin/config/offlinemessage)
SetCustomOfflineMessage(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/pagecontent)
SetExtraPageContentOptions(w http.ResponseWriter, r *http.Request)
// SetExtraPageContent Change the extra page content in memory
// (POST /admin/config/pagecontent)
SetExtraPageContent(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/rtmpserverbindaddress)
SetRTMPServerBindAddressOptions(w http.ResponseWriter, r *http.Request)
// SetRTMPServerBindAddress Update RTMP server bind address
// (POST /admin/config/rtmpserverbindaddress)
SetRTMPServerBindAddress(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/rtmpserverport)
SetRTMPServerPortOptions(w http.ResponseWriter, r *http.Request)
// SetRTMPServerPort Update RTMP post
// (POST /admin/config/rtmpserverport)
SetRTMPServerPort(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/s3)
SetS3ConfigurationOptions(w http.ResponseWriter, r *http.Request)
// SetS3Configuration Update S3 configuration
// (POST /admin/config/s3)
SetS3Configuration(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/serversummary)
SetServerSummaryOptions(w http.ResponseWriter, r *http.Request)
// SetServerSummary Change the server summary
// (POST /admin/config/serversummary)
SetServerSummary(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/serverurl)
SetServerURLOptions(w http.ResponseWriter, r *http.Request)
// SetServerURL Update server url
// (POST /admin/config/serverurl)
SetServerURL(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/socialhandles)
SetSocialHandlesOptions(w http.ResponseWriter, r *http.Request)
// SetSocialHandles Update social handles
// (POST /admin/config/socialhandles)
SetSocialHandles(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/sockethostoverride)
SetSocketHostOverrideOptions(w http.ResponseWriter, r *http.Request)
// SetSocketHostOverride Update websocket host override
// (POST /admin/config/sockethostoverride)
SetSocketHostOverride(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/streamkeys)
SetStreamKeysOptions(w http.ResponseWriter, r *http.Request)
// SetStreamKeys Set an array of valid stream keys
// (POST /admin/config/streamkeys)
SetStreamKeys(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/streamtitle)
SetStreamTitleOptions(w http.ResponseWriter, r *http.Request)
// SetStreamTitle Change the stream title
// (POST /admin/config/streamtitle)
SetStreamTitle(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/tags)
SetTagsOptions(w http.ResponseWriter, r *http.Request)
// SetTags Update server tags
// (POST /admin/config/tags)
SetTags(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/video/codec)
SetVideoCodecOptions(w http.ResponseWriter, r *http.Request)
// SetVideoCodec Set video codec
// (POST /admin/config/video/codec)
SetVideoCodec(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/video/streamlatencylevel)
SetStreamLatencyLevelOptions(w http.ResponseWriter, r *http.Request)
// SetStreamLatencyLevel Set the number of video segments and duration per segment in a playlist
// (POST /admin/config/video/streamlatencylevel)
SetStreamLatencyLevel(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/video/streamoutputvariants)
SetStreamOutputVariantsOptions(w http.ResponseWriter, r *http.Request)
// SetStreamOutputVariants Set an array of video output configurations
// (POST /admin/config/video/streamoutputvariants)
SetStreamOutputVariants(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/videoservingendpoint)
SetVideoServingEndpointOptions(w http.ResponseWriter, r *http.Request)
// SetVideoServingEndpoint Update custom video serving endpoint
// (POST /admin/config/videoservingendpoint)
SetVideoServingEndpoint(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/webserverip)
SetWebServerIPOptions(w http.ResponseWriter, r *http.Request)
// SetWebServerIP Update server IP address
// (POST /admin/config/webserverip)
SetWebServerIP(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/webserverport)
SetWebServerPortOptions(w http.ResponseWriter, r *http.Request)
// SetWebServerPort Update server port
// (POST /admin/config/webserverport)
SetWebServerPort(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/config/welcomemessage)
SetServerWelcomeMessageOptions(w http.ResponseWriter, r *http.Request)
// SetServerWelcomeMessage Change the welcome message
// (POST /admin/config/welcomemessage)
SetServerWelcomeMessage(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/disconnect)
DisconnectInboundConnectionOptions(w http.ResponseWriter, r *http.Request)
// DisconnectInboundConnection Disconnect inbound stream
// (POST /admin/disconnect)
DisconnectInboundConnection(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/emoji/delete)
DeleteCustomEmojiOptions(w http.ResponseWriter, r *http.Request)
// DeleteCustomEmoji Delete custom emoji
// (POST /admin/emoji/delete)
DeleteCustomEmoji(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/emoji/upload)
UploadCustomEmojiOptions(w http.ResponseWriter, r *http.Request)
// UploadCustomEmoji Upload custom emoji
// (POST /admin/emoji/upload)
UploadCustomEmoji(w http.ResponseWriter, r *http.Request)
// GetFederatedActions Get a paginated list of federated activities
// (GET /admin/federation/actions)
GetFederatedActions(w http.ResponseWriter, r *http.Request, params GetFederatedActionsParams)
// (OPTIONS /admin/federation/actions)
GetFederatedActionsOptions(w http.ResponseWriter, r *http.Request)
// GetFeatureRequests Get pending requests from other servers to feature this server's stream
// (GET /admin/federation/feature-requests)
GetFeatureRequests(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/federation/send)
SendFederatedMessageOptions(w http.ResponseWriter, r *http.Request)
// SendFederatedMessage Send a public message to the Fediverse from the server's user
// (POST /admin/federation/send)
SendFederatedMessage(w http.ResponseWriter, r *http.Request)
// GetAdminFederatedServers Get all federated servers (admin), including pending requests
// (GET /admin/federation/servers)
GetAdminFederatedServers(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/federation/servers)
AddFederatedServerOptions(w http.ResponseWriter, r *http.Request)
// AddFederatedServer Add a federated server to follow
// (POST /admin/federation/servers)
AddFederatedServer(w http.ResponseWriter, r *http.Request)
// RemoveFederatedServer Remove a federated server
// (DELETE /admin/federation/servers/{id})
RemoveFederatedServer(w http.ResponseWriter, r *http.Request, id int)
// (OPTIONS /admin/federation/servers/{id})
RemoveFederatedServerOptions(w http.ResponseWriter, r *http.Request, id int)
// (OPTIONS /admin/federation/servers/{id}/reorder)
ReorderFederatedServerOptions(w http.ResponseWriter, r *http.Request, id int)
// ReorderFederatedServer Move a federated server up or down in the priority order
// (PUT /admin/federation/servers/{id}/reorder)
ReorderFederatedServer(w http.ResponseWriter, r *http.Request, id int)
// GetFollowersAdmin Get followers
// (GET /admin/followers)
GetFollowersAdmin(w http.ResponseWriter, r *http.Request, params GetFollowersAdminParams)
// (OPTIONS /admin/followers)
GetFollowersAdminOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/followers/approve)
ApproveFollowerOptions(w http.ResponseWriter, r *http.Request)
// ApproveFollower Set the following state of a follower or follow request
// (POST /admin/followers/approve)
ApproveFollower(w http.ResponseWriter, r *http.Request)
// GetBlockedAndRejectedFollowers Get a list of rejected or blocked follows
// (GET /admin/followers/blocked)
GetBlockedAndRejectedFollowers(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/followers/blocked)
GetBlockedAndRejectedFollowersOptions(w http.ResponseWriter, r *http.Request)
// GetDirectoryFollowers Get directories that are featuring/listing this server
// (GET /admin/followers/directory)
GetDirectoryFollowers(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/followers/directory)
GetDirectoryFollowersOptions(w http.ResponseWriter, r *http.Request)
// GetPendingFollowRequests Get a list of pending follow requests
// (GET /admin/followers/pending)
GetPendingFollowRequests(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/followers/pending)
GetPendingFollowRequestsOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/followers/remove)
RemoveFollowerOptions(w http.ResponseWriter, r *http.Request)
// RemoveFollower Remove a follower without blocking them (they may follow again)
// (POST /admin/followers/remove)
RemoveFollower(w http.ResponseWriter, r *http.Request)
// GetHardwareStats Get the current hardware stats
// (GET /admin/hardwarestats)
GetHardwareStats(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/hardwarestats)
GetHardwareStatsOptions(w http.ResponseWriter, r *http.Request)
// GetLogs Get all logs
// (GET /admin/logs)
GetLogs(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/logs)
GetLogsOptions(w http.ResponseWriter, r *http.Request)
// GetWarnings Get warning/error logs
// (GET /admin/logs/warnings)
GetWarnings(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/logs/warnings)
GetWarningsOptions(w http.ResponseWriter, r *http.Request)
// GetVideoPlaybackMetrics Get video playback metrics
// (GET /admin/metrics/video)
GetVideoPlaybackMetrics(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/metrics/video)
GetVideoPlaybackMetricsOptions(w http.ResponseWriter, r *http.Request)
// DeletePrometheusAPI Endpoint to interface with Prometheus
// (DELETE /admin/prometheus)
DeletePrometheusAPI(w http.ResponseWriter, r *http.Request)
// GetPrometheusAPI Endpoint to interface with Prometheus
// (GET /admin/prometheus)
GetPrometheusAPI(w http.ResponseWriter, r *http.Request)
// OptionsPrometheusAPI Endpoint to interface with Prometheus
// (OPTIONS /admin/prometheus)
OptionsPrometheusAPI(w http.ResponseWriter, r *http.Request)
// PostPrometheusAPI Endpoint to interface with Prometheus
// (POST /admin/prometheus)
PostPrometheusAPI(w http.ResponseWriter, r *http.Request)
// PutPrometheusAPI Endpoint to interface with Prometheus
// (PUT /admin/prometheus)
PutPrometheusAPI(w http.ResponseWriter, r *http.Request)
// GetServerConfig Get the current server config
// (GET /admin/serverconfig)
GetServerConfig(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/serverconfig)
GetServerConfigOptions(w http.ResponseWriter, r *http.Request)
// StatusAdmin Get current inboard broadcaster
// (GET /admin/status)
StatusAdmin(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/status)
StatusAdminOptions(w http.ResponseWriter, r *http.Request)
// GetUsers Get a paginated list of all users
// (GET /admin/users)
GetUsers(w http.ResponseWriter, r *http.Request, params GetUsersParams)
// (OPTIONS /admin/users)
GetUsersOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/users/delete)
DeleteUserOptions(w http.ResponseWriter, r *http.Request)
// DeleteUser Permanently delete a user and all of their data
// (POST /admin/users/delete)
DeleteUser(w http.ResponseWriter, r *http.Request)
// GetActiveViewers Get active viewers
// (GET /admin/viewers)
GetActiveViewers(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/viewers)
GetActiveViewersOptions(w http.ResponseWriter, r *http.Request)
// GetPlaybackClients Get the playback clients of active viewers with their current playback health
// (GET /admin/viewers/playback)
GetPlaybackClients(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/viewers/playback)
GetPlaybackClientsOptions(w http.ResponseWriter, r *http.Request)
// GetViewersOverTime Get viewer count over time
// (GET /admin/viewersOverTime)
GetViewersOverTime(w http.ResponseWriter, r *http.Request, params GetViewersOverTimeParams)
// (OPTIONS /admin/viewersOverTime)
GetViewersOverTimeOptions(w http.ResponseWriter, r *http.Request)
// GetWebhooks Get all the webhooks
// (GET /admin/webhooks)
GetWebhooks(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/webhooks)
GetWebhooksOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/webhooks/create)
CreateWebhookOptions(w http.ResponseWriter, r *http.Request)
// CreateWebhook Create a single webhook
// (POST /admin/webhooks/create)
CreateWebhook(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/webhooks/delete)
DeleteWebhookOptions(w http.ResponseWriter, r *http.Request)
// DeleteWebhook Delete a single webhook
// (POST /admin/webhooks/delete)
DeleteWebhook(w http.ResponseWriter, r *http.Request)
// (OPTIONS /admin/yp/reset)
ResetYPRegistrationOptions(w http.ResponseWriter, r *http.Request)
// ResetYPRegistration Reset YP configuration
// (POST /admin/yp/reset)
ResetYPRegistration(w http.ResponseWriter, r *http.Request)
// RegisterFediverseOTPRequest Register a Fediverse OTP request
// (POST /auth/fediverse)
RegisterFediverseOTPRequest(w http.ResponseWriter, r *http.Request, params RegisterFediverseOTPRequestParams)
// VerifyFediverseOTPRequest Verify Fediverse OTP code
// (POST /auth/fediverse/verify)
VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request)
// StartIndieAuthFlow Begins auth flow
// (POST /auth/indieauth)
StartIndieAuthFlow(w http.ResponseWriter, r *http.Request, params StartIndieAuthFlowParams)
// HandleIndieAuthRedirect Handle the redirect from an IndieAuth server to continue the auth flow
// (GET /auth/indieauth/callback)
HandleIndieAuthRedirect(w http.ResponseWriter, r *http.Request, params HandleIndieAuthRedirectParams)
// HandleIndieAuthEndpointGet Handles the IndieAuth auth endpoint
// (GET /auth/provider/indieauth)
HandleIndieAuthEndpointGet(w http.ResponseWriter, r *http.Request, params HandleIndieAuthEndpointGetParams)
// HandleIndieAuthEndpointPost Handles IndieAuth from form submission
// (POST /auth/provider/indieauth)
HandleIndieAuthEndpointPost(w http.ResponseWriter, r *http.Request)
// GetChatMessages Gets a list of chat messages
// (GET /chat)
GetChatMessages(w http.ResponseWriter, r *http.Request, params GetChatMessagesParams)
// UpdateMessageVisibility Update chat message visibility
// (POST /chat/messagevisibility)
UpdateMessageVisibility(w http.ResponseWriter, r *http.Request, params UpdateMessageVisibilityParams)
// (OPTIONS /chat/register)
RegisterAnonymousChatUserOptions(w http.ResponseWriter, r *http.Request)
// RegisterAnonymousChatUser Resolves a gate session or registers an anonymous chat user
// (POST /chat/register)
RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request, params RegisterAnonymousChatUserParams)
// UpdateUserEnabled Enable/disable a user
// (POST /chat/users/setenabled)
UpdateUserEnabled(w http.ResponseWriter, r *http.Request, params UpdateUserEnabledParams)
// GetWebConfig Get the web config
// (GET /config)
GetWebConfig(w http.ResponseWriter, r *http.Request)
// GetCustomEmojiList Get list of custom emojis supported in the chat
// (GET /emoji)
GetCustomEmojiList(w http.ResponseWriter, r *http.Request)
// GetFederatedServers Get list of federated servers
// (GET /federation/servers)
GetFederatedServers(w http.ResponseWriter, r *http.Request)
// GetFollowers Gets the list of followers
// (GET /followers)
GetFollowers(w http.ResponseWriter, r *http.Request, params GetFollowersParams)
// ExternalGetChatMessages Get chat history
// (GET /integrations/chat)
ExternalGetChatMessages(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/chat)
ExternalGetChatMessagesOptions(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/chat/action)
SendChatActionOptions(w http.ResponseWriter, r *http.Request)
// SendChatAction Send a user action to chat
// (POST /integrations/chat/action)
SendChatAction(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/chat/messagevisibility)
ExternalUpdateMessageVisibilityOptions(w http.ResponseWriter, r *http.Request)
// ExternalUpdateMessageVisibility Hide chat message
// (POST /integrations/chat/messagevisibility)
ExternalUpdateMessageVisibility(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/chat/send)
SendIntegrationChatMessageOptions(w http.ResponseWriter, r *http.Request)
// SendIntegrationChatMessage Send a message to chat as a specific 3rd party bot/integration based on its access token
// (POST /integrations/chat/send)
SendIntegrationChatMessage(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/chat/system)
SendSystemMessageOptions(w http.ResponseWriter, r *http.Request)
// SendSystemMessage Send a system message to the chat
// (POST /integrations/chat/system)
SendSystemMessage(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/chat/system/client/{clientId})
SendSystemMessageToConnectedClientOptions(w http.ResponseWriter, r *http.Request, clientId int)
// SendSystemMessageToConnectedClient Send a system message to a single client
// (POST /integrations/chat/system/client/{clientId})
SendSystemMessageToConnectedClient(w http.ResponseWriter, r *http.Request, clientId int)
// (OPTIONS /integrations/chat/user)
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SendUserMessageOptions(w http.ResponseWriter, r *http.Request)
// SendUserMessage Send a user message to chat
// (POST /integrations/chat/user)
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SendUserMessage(w http.ResponseWriter, r *http.Request)
// ExternalGetConnectedChatClients Connected clients
// (GET /integrations/clients)
ExternalGetConnectedChatClients(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/clients)
ExternalGetConnectedChatClientsOptions(w http.ResponseWriter, r *http.Request)
// ExternalGetUserDetails Get a user's details
// (GET /integrations/moderation/chat/user/{userId})
ExternalGetUserDetails(w http.ResponseWriter, r *http.Request, userId string)
// ExternalGetStatus Get the server's status
// (GET /integrations/status)
ExternalGetStatus(w http.ResponseWriter, r *http.Request)
// (OPTIONS /integrations/streamtitle)
ExternalSetStreamTitleOptions(w http.ResponseWriter, r *http.Request)
// ExternalSetStreamTitle Stream title
// (POST /integrations/streamtitle)
ExternalSetStreamTitle(w http.ResponseWriter, r *http.Request)
// ReportCmcdQuery CMCD collector accepting a report as a query parameter
// (GET /metrics/cmcd)
ReportCmcdQuery(w http.ResponseWriter, r *http.Request, params ReportCmcdQueryParams)
// (OPTIONS /metrics/cmcd)
ReportCmcdOptions(w http.ResponseWriter, r *http.Request)
// ReportCmcd CMCD collector accepting event and response mode playback reports
// (POST /metrics/cmcd)
ReportCmcd(w http.ResponseWriter, r *http.Request)
// ReportPlaybackMetrics Save video playback metrics for future video health recording
// (POST /metrics/playback)
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ReportPlaybackMetrics(w http.ResponseWriter, r *http.Request)
// GetUserDetails Get a user's details
// (GET /moderation/chat/user/{userId})
GetUserDetails(w http.ResponseWriter, r *http.Request, userId string, params GetUserDetailsParams)
// RegisterForLiveNotifications Register for notifications
// (POST /notifications/register)
RegisterForLiveNotifications(w http.ResponseWriter, r *http.Request, params RegisterForLiveNotificationsParams)
// Ping Tell the backend you're an active viewer
// (GET /ping)
Ping(w http.ResponseWriter, r *http.Request)
// RemoteFollow Request remote follow
// (POST /remotefollow)
RemoteFollow(w http.ResponseWriter, r *http.Request)
// GetAllSocialPlatforms Get all social platforms
// (GET /socialplatforms)
GetAllSocialPlatforms(w http.ResponseWriter, r *http.Request)
// GetStatus Get the status of the server
// (GET /status)
GetStatus(w http.ResponseWriter, r *http.Request)
// GetVideoStreamOutputVariants Get a list of video variants available
// (GET /video/variants)
GetVideoStreamOutputVariants(w http.ResponseWriter, r *http.Request)
// GetYPResponse Get the YP protocol data
// (GET /yp)
GetYPResponse(w http.ResponseWriter, r *http.Request)
}
// Unimplemented server implementation that returns http.StatusNotImplemented for each endpoint.
type Unimplemented struct{}
// GetExternalAPIUsers Get all access tokens
// (GET /admin/accesstokens)
func (_ Unimplemented) GetExternalAPIUsers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/accesstokens)
func (_ Unimplemented) GetExternalAPIUsersOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/accesstokens/create)
func (_ Unimplemented) CreateExternalAPIUserOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// CreateExternalAPIUser Create a single access token
// (POST /admin/accesstokens/create)
func (_ Unimplemented) CreateExternalAPIUser(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/accesstokens/delete)
func (_ Unimplemented) DeleteExternalAPIUserOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// DeleteExternalAPIUser Delete a single external API user
// (POST /admin/accesstokens/delete)
func (_ Unimplemented) DeleteExternalAPIUser(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetConnectedChatClients Get a detailed list of currently connected chat clients
// (GET /admin/chat/clients)
func (_ Unimplemented) GetConnectedChatClients(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/clients)
func (_ Unimplemented) GetConnectedChatClientsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetChatMessagesAdmin Get all chat messages for the admin, unfiltered
// (GET /admin/chat/messages)
func (_ Unimplemented) GetChatMessagesAdmin(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/messages)
func (_ Unimplemented) GetChatMessagesAdminOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/messagevisibility)
func (_ Unimplemented) UpdateMessageVisibilityAdminOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// UpdateMessageVisibilityAdmin Update visibility of chat messages
// (POST /admin/chat/messagevisibility)
func (_ Unimplemented) UpdateMessageVisibilityAdmin(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetDisabledUsers Get a list of disabled users
// (GET /admin/chat/users/disabled)
func (_ Unimplemented) GetDisabledUsers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/disabled)
func (_ Unimplemented) GetDisabledUsersOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetIPAddressBans Get all banned IP addresses
// (GET /admin/chat/users/ipbans)
func (_ Unimplemented) GetIPAddressBans(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/ipbans)
func (_ Unimplemented) GetIPAddressBansOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/ipbans/create)
func (_ Unimplemented) BanIPAddressOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// BanIPAddress Ban an IP address
// (POST /admin/chat/users/ipbans/create)
func (_ Unimplemented) BanIPAddress(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/ipbans/remove)
func (_ Unimplemented) UnbanIPAddressOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// UnbanIPAddress Remove an IP ban
// (POST /admin/chat/users/ipbans/remove)
func (_ Unimplemented) UnbanIPAddress(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetModerators Get a list of moderator users
// (GET /admin/chat/users/moderators)
func (_ Unimplemented) GetModerators(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/moderators)
func (_ Unimplemented) GetModeratorsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/setenabled)
func (_ Unimplemented) UpdateUserEnabledAdminOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// UpdateUserEnabledAdmin Enable or disable a user
// (POST /admin/chat/users/setenabled)
func (_ Unimplemented) UpdateUserEnabledAdmin(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/chat/users/setmoderator)
func (_ Unimplemented) UpdateUserModeratorOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// UpdateUserModerator Set moderator status for a user
// (POST /admin/chat/users/setmoderator)
func (_ Unimplemented) UpdateUserModerator(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/adminpass)
func (_ Unimplemented) SetAdminPasswordOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetAdminPassword Change the current admin password
// (POST /admin/config/adminpass)
func (_ Unimplemented) SetAdminPassword(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/appearance)
func (_ Unimplemented) SetCustomColorVariableValuesOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetCustomColorVariableValues Set style/color/css values
// (POST /admin/config/appearance)
func (_ Unimplemented) SetCustomColorVariableValues(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/autoplay)
func (_ Unimplemented) SetAutoplayOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetAutoplay Update autoplay behavior
// (POST /admin/config/autoplay)
func (_ Unimplemented) SetAutoplay(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/disable)
func (_ Unimplemented) SetChatDisabledOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetChatDisabled Disable chat
// (POST /admin/config/chat/disable)
func (_ Unimplemented) SetChatDisabled(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/establishedusermode)
func (_ Unimplemented) SetEnableEstablishedChatUserModeOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetEnableEstablishedChatUserMode Enable/disable chat established user mode
// (POST /admin/config/chat/establishedusermode)
func (_ Unimplemented) SetEnableEstablishedChatUserMode(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/forbiddenusernames)
func (_ Unimplemented) SetForbiddenUsernameListOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetForbiddenUsernameList Set chat usernames that are not allowed
// (POST /admin/config/chat/forbiddenusernames)
func (_ Unimplemented) SetForbiddenUsernameList(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/joinmessagesenabled)
func (_ Unimplemented) SetChatJoinMessagesEnabledOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetChatJoinMessagesEnabled Enable chat for user join messages
// (POST /admin/config/chat/joinmessagesenabled)
func (_ Unimplemented) SetChatJoinMessagesEnabled(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/requireauthentication)
func (_ Unimplemented) SetChatRequireAuthenticationOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetChatRequireAuthentication Set require authentication for chat
// (POST /admin/config/chat/requireauthentication)
func (_ Unimplemented) SetChatRequireAuthentication(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/slurfilterenabled)
func (_ Unimplemented) SetChatSlurFilterEnabledOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetChatSlurFilterEnabled Set slur filter enabled
// (POST /admin/config/chat/slurfilterenabled)
func (_ Unimplemented) SetChatSlurFilterEnabled(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/spamprotectionenabled)
func (_ Unimplemented) SetChatSpamProtectionEnabledOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetChatSpamProtectionEnabled Set spam protection enabled
// (POST /admin/config/chat/spamprotectionenabled)
func (_ Unimplemented) SetChatSpamProtectionEnabled(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/chat/suggestedusernames)
func (_ Unimplemented) SetSuggestedUsernameListOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetSuggestedUsernameList Set the suggested chat usernames that will be assigned automatically
// (POST /admin/config/chat/suggestedusernames)
func (_ Unimplemented) SetSuggestedUsernameList(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/customjavascript)
func (_ Unimplemented) SetCustomJavascriptOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetCustomJavascript Update custom JavaScript
// (POST /admin/config/customjavascript)
func (_ Unimplemented) SetCustomJavascript(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/customstyles)
func (_ Unimplemented) SetCustomStylesOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetCustomStyles Update custom styles
// (POST /admin/config/customstyles)
func (_ Unimplemented) SetCustomStyles(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/directoryenabled)
func (_ Unimplemented) SetDirectoryEnabledOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetDirectoryEnabled Update directory enabled
// (POST /admin/config/directoryenabled)
func (_ Unimplemented) SetDirectoryEnabled(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/disablesearchindexing)
func (_ Unimplemented) SetDisableSearchIndexingOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetDisableSearchIndexing Update search indexing
// (POST /admin/config/disablesearchindexing)
func (_ Unimplemented) SetDisableSearchIndexing(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/externalactions)
func (_ Unimplemented) SetExternalActionsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetExternalActions Update external action links
// (POST /admin/config/externalactions)
func (_ Unimplemented) SetExternalActions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ResetFavicon Reset favicon to default
// (DELETE /admin/config/favicon)
func (_ Unimplemented) ResetFavicon(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/favicon)
func (_ Unimplemented) SetFaviconOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFavicon Upload custom favicon
// (POST /admin/config/favicon)
func (_ Unimplemented) SetFavicon(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/blockdomains)
func (_ Unimplemented) SetFederationBlockDomainsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationBlockDomains Set Federation blocked domains
// (POST /admin/config/federation/blockdomains)
func (_ Unimplemented) SetFederationBlockDomains(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/enable)
func (_ Unimplemented) SetFederationEnabledOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationEnabled Enable/disable federation features
// (POST /admin/config/federation/enable)
func (_ Unimplemented) SetFederationEnabled(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/enablequotes)
func (_ Unimplemented) SetFederationEnableQuotesOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationEnableQuotes Set if posts from this server can be quoted
// (POST /admin/config/federation/enablequotes)
func (_ Unimplemented) SetFederationEnableQuotes(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/hidefollowers)
func (_ Unimplemented) SetFederationHideFollowersTabOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationHideFollowersTab Set if the public followers tab is hidden on the web UI
// (POST /admin/config/federation/hidefollowers)
func (_ Unimplemented) SetFederationHideFollowersTab(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/livemessage)
func (_ Unimplemented) SetFederationGoLiveMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationGoLiveMessage Set federated go live message
// (POST /admin/config/federation/livemessage)
func (_ Unimplemented) SetFederationGoLiveMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/private)
func (_ Unimplemented) SetFederationActivityPrivateOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationActivityPrivate Set if federation activities are private
// (POST /admin/config/federation/private)
func (_ Unimplemented) SetFederationActivityPrivate(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/showengagement)
func (_ Unimplemented) SetFederationShowEngagementOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationShowEngagement Set if fediverse engagement appears in chat
// (POST /admin/config/federation/showengagement)
func (_ Unimplemented) SetFederationShowEngagement(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/federation/username)
func (_ Unimplemented) SetFederationUsernameOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFederationUsername Set local federated username
// (POST /admin/config/federation/username)
func (_ Unimplemented) SetFederationUsername(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/ffmpegpath)
func (_ Unimplemented) SetFfmpegPathOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetFfmpegPath Update FFMPEG path
// (POST /admin/config/ffmpegpath)
func (_ Unimplemented) SetFfmpegPath(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/hideviewercount)
func (_ Unimplemented) SetHideViewerCountOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetHideViewerCount Update hide viewer count
// (POST /admin/config/hideviewercount)
func (_ Unimplemented) SetHideViewerCount(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/logo)
func (_ Unimplemented) SetLogoOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetLogo Update logo
// (POST /admin/config/logo)
func (_ Unimplemented) SetLogo(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/name)
func (_ Unimplemented) SetServerNameOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetServerName Change the server name
// (POST /admin/config/name)
func (_ Unimplemented) SetServerName(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/notifications/browser)
func (_ Unimplemented) SetBrowserNotificationConfigurationOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetBrowserNotificationConfiguration Configure Browser notifications
// (POST /admin/config/notifications/browser)
func (_ Unimplemented) SetBrowserNotificationConfiguration(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/notifications/discord)
func (_ Unimplemented) SetDiscordNotificationConfigurationOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetDiscordNotificationConfiguration Configure Discord notifications
// (POST /admin/config/notifications/discord)
func (_ Unimplemented) SetDiscordNotificationConfiguration(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/nsfw)
func (_ Unimplemented) SetNSFWOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetNSFW Update NSFW marking
// (POST /admin/config/nsfw)
func (_ Unimplemented) SetNSFW(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/offlinemessage)
func (_ Unimplemented) SetCustomOfflineMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetCustomOfflineMessage Change the offline message
// (POST /admin/config/offlinemessage)
func (_ Unimplemented) SetCustomOfflineMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/pagecontent)
func (_ Unimplemented) SetExtraPageContentOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetExtraPageContent Change the extra page content in memory
// (POST /admin/config/pagecontent)
func (_ Unimplemented) SetExtraPageContent(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/rtmpserverbindaddress)
func (_ Unimplemented) SetRTMPServerBindAddressOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetRTMPServerBindAddress Update RTMP server bind address
// (POST /admin/config/rtmpserverbindaddress)
func (_ Unimplemented) SetRTMPServerBindAddress(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/rtmpserverport)
func (_ Unimplemented) SetRTMPServerPortOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetRTMPServerPort Update RTMP post
// (POST /admin/config/rtmpserverport)
func (_ Unimplemented) SetRTMPServerPort(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/s3)
func (_ Unimplemented) SetS3ConfigurationOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetS3Configuration Update S3 configuration
// (POST /admin/config/s3)
func (_ Unimplemented) SetS3Configuration(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/serversummary)
func (_ Unimplemented) SetServerSummaryOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetServerSummary Change the server summary
// (POST /admin/config/serversummary)
func (_ Unimplemented) SetServerSummary(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/serverurl)
func (_ Unimplemented) SetServerURLOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetServerURL Update server url
// (POST /admin/config/serverurl)
func (_ Unimplemented) SetServerURL(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/socialhandles)
func (_ Unimplemented) SetSocialHandlesOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetSocialHandles Update social handles
// (POST /admin/config/socialhandles)
func (_ Unimplemented) SetSocialHandles(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/sockethostoverride)
func (_ Unimplemented) SetSocketHostOverrideOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetSocketHostOverride Update websocket host override
// (POST /admin/config/sockethostoverride)
func (_ Unimplemented) SetSocketHostOverride(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/streamkeys)
func (_ Unimplemented) SetStreamKeysOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetStreamKeys Set an array of valid stream keys
// (POST /admin/config/streamkeys)
func (_ Unimplemented) SetStreamKeys(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/streamtitle)
func (_ Unimplemented) SetStreamTitleOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetStreamTitle Change the stream title
// (POST /admin/config/streamtitle)
func (_ Unimplemented) SetStreamTitle(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/tags)
func (_ Unimplemented) SetTagsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetTags Update server tags
// (POST /admin/config/tags)
func (_ Unimplemented) SetTags(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/video/codec)
func (_ Unimplemented) SetVideoCodecOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetVideoCodec Set video codec
// (POST /admin/config/video/codec)
func (_ Unimplemented) SetVideoCodec(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/video/streamlatencylevel)
func (_ Unimplemented) SetStreamLatencyLevelOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetStreamLatencyLevel Set the number of video segments and duration per segment in a playlist
// (POST /admin/config/video/streamlatencylevel)
func (_ Unimplemented) SetStreamLatencyLevel(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/video/streamoutputvariants)
func (_ Unimplemented) SetStreamOutputVariantsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetStreamOutputVariants Set an array of video output configurations
// (POST /admin/config/video/streamoutputvariants)
func (_ Unimplemented) SetStreamOutputVariants(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/videoservingendpoint)
func (_ Unimplemented) SetVideoServingEndpointOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetVideoServingEndpoint Update custom video serving endpoint
// (POST /admin/config/videoservingendpoint)
func (_ Unimplemented) SetVideoServingEndpoint(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/webserverip)
func (_ Unimplemented) SetWebServerIPOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetWebServerIP Update server IP address
// (POST /admin/config/webserverip)
func (_ Unimplemented) SetWebServerIP(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/webserverport)
func (_ Unimplemented) SetWebServerPortOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetWebServerPort Update server port
// (POST /admin/config/webserverport)
func (_ Unimplemented) SetWebServerPort(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/config/welcomemessage)
func (_ Unimplemented) SetServerWelcomeMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SetServerWelcomeMessage Change the welcome message
// (POST /admin/config/welcomemessage)
func (_ Unimplemented) SetServerWelcomeMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/disconnect)
func (_ Unimplemented) DisconnectInboundConnectionOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// DisconnectInboundConnection Disconnect inbound stream
// (POST /admin/disconnect)
func (_ Unimplemented) DisconnectInboundConnection(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/emoji/delete)
func (_ Unimplemented) DeleteCustomEmojiOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// DeleteCustomEmoji Delete custom emoji
// (POST /admin/emoji/delete)
func (_ Unimplemented) DeleteCustomEmoji(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/emoji/upload)
func (_ Unimplemented) UploadCustomEmojiOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// UploadCustomEmoji Upload custom emoji
// (POST /admin/emoji/upload)
func (_ Unimplemented) UploadCustomEmoji(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetFederatedActions Get a paginated list of federated activities
// (GET /admin/federation/actions)
func (_ Unimplemented) GetFederatedActions(w http.ResponseWriter, r *http.Request, params GetFederatedActionsParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/federation/actions)
func (_ Unimplemented) GetFederatedActionsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetFeatureRequests Get pending requests from other servers to feature this server's stream
// (GET /admin/federation/feature-requests)
func (_ Unimplemented) GetFeatureRequests(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/federation/send)
func (_ Unimplemented) SendFederatedMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SendFederatedMessage Send a public message to the Fediverse from the server's user
// (POST /admin/federation/send)
func (_ Unimplemented) SendFederatedMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetAdminFederatedServers Get all federated servers (admin), including pending requests
// (GET /admin/federation/servers)
func (_ Unimplemented) GetAdminFederatedServers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/federation/servers)
func (_ Unimplemented) AddFederatedServerOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// AddFederatedServer Add a federated server to follow
// (POST /admin/federation/servers)
func (_ Unimplemented) AddFederatedServer(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// RemoveFederatedServer Remove a federated server
// (DELETE /admin/federation/servers/{id})
func (_ Unimplemented) RemoveFederatedServer(w http.ResponseWriter, r *http.Request, id int) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/federation/servers/{id})
func (_ Unimplemented) RemoveFederatedServerOptions(w http.ResponseWriter, r *http.Request, id int) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/federation/servers/{id}/reorder)
func (_ Unimplemented) ReorderFederatedServerOptions(w http.ResponseWriter, r *http.Request, id int) {
w.WriteHeader(http.StatusNotImplemented)
}
// ReorderFederatedServer Move a federated server up or down in the priority order
// (PUT /admin/federation/servers/{id}/reorder)
func (_ Unimplemented) ReorderFederatedServer(w http.ResponseWriter, r *http.Request, id int) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetFollowersAdmin Get followers
// (GET /admin/followers)
func (_ Unimplemented) GetFollowersAdmin(w http.ResponseWriter, r *http.Request, params GetFollowersAdminParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/followers)
func (_ Unimplemented) GetFollowersAdminOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/followers/approve)
func (_ Unimplemented) ApproveFollowerOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ApproveFollower Set the following state of a follower or follow request
// (POST /admin/followers/approve)
func (_ Unimplemented) ApproveFollower(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetBlockedAndRejectedFollowers Get a list of rejected or blocked follows
// (GET /admin/followers/blocked)
func (_ Unimplemented) GetBlockedAndRejectedFollowers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/followers/blocked)
func (_ Unimplemented) GetBlockedAndRejectedFollowersOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetDirectoryFollowers Get directories that are featuring/listing this server
// (GET /admin/followers/directory)
func (_ Unimplemented) GetDirectoryFollowers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/followers/directory)
func (_ Unimplemented) GetDirectoryFollowersOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetPendingFollowRequests Get a list of pending follow requests
// (GET /admin/followers/pending)
func (_ Unimplemented) GetPendingFollowRequests(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/followers/pending)
func (_ Unimplemented) GetPendingFollowRequestsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/followers/remove)
func (_ Unimplemented) RemoveFollowerOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// RemoveFollower Remove a follower without blocking them (they may follow again)
// (POST /admin/followers/remove)
func (_ Unimplemented) RemoveFollower(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetHardwareStats Get the current hardware stats
// (GET /admin/hardwarestats)
func (_ Unimplemented) GetHardwareStats(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/hardwarestats)
func (_ Unimplemented) GetHardwareStatsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetLogs Get all logs
// (GET /admin/logs)
func (_ Unimplemented) GetLogs(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/logs)
func (_ Unimplemented) GetLogsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetWarnings Get warning/error logs
// (GET /admin/logs/warnings)
func (_ Unimplemented) GetWarnings(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/logs/warnings)
func (_ Unimplemented) GetWarningsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetVideoPlaybackMetrics Get video playback metrics
// (GET /admin/metrics/video)
func (_ Unimplemented) GetVideoPlaybackMetrics(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/metrics/video)
func (_ Unimplemented) GetVideoPlaybackMetricsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// DeletePrometheusAPI Endpoint to interface with Prometheus
// (DELETE /admin/prometheus)
func (_ Unimplemented) DeletePrometheusAPI(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetPrometheusAPI Endpoint to interface with Prometheus
// (GET /admin/prometheus)
func (_ Unimplemented) GetPrometheusAPI(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// OptionsPrometheusAPI Endpoint to interface with Prometheus
// (OPTIONS /admin/prometheus)
func (_ Unimplemented) OptionsPrometheusAPI(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// PostPrometheusAPI Endpoint to interface with Prometheus
// (POST /admin/prometheus)
func (_ Unimplemented) PostPrometheusAPI(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// PutPrometheusAPI Endpoint to interface with Prometheus
// (PUT /admin/prometheus)
func (_ Unimplemented) PutPrometheusAPI(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetServerConfig Get the current server config
// (GET /admin/serverconfig)
func (_ Unimplemented) GetServerConfig(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/serverconfig)
func (_ Unimplemented) GetServerConfigOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// StatusAdmin Get current inboard broadcaster
// (GET /admin/status)
func (_ Unimplemented) StatusAdmin(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/status)
func (_ Unimplemented) StatusAdminOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetUsers Get a paginated list of all users
// (GET /admin/users)
func (_ Unimplemented) GetUsers(w http.ResponseWriter, r *http.Request, params GetUsersParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/users)
func (_ Unimplemented) GetUsersOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/users/delete)
func (_ Unimplemented) DeleteUserOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// DeleteUser Permanently delete a user and all of their data
// (POST /admin/users/delete)
func (_ Unimplemented) DeleteUser(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetActiveViewers Get active viewers
// (GET /admin/viewers)
func (_ Unimplemented) GetActiveViewers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/viewers)
func (_ Unimplemented) GetActiveViewersOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetPlaybackClients Get the playback clients of active viewers with their current playback health
// (GET /admin/viewers/playback)
func (_ Unimplemented) GetPlaybackClients(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/viewers/playback)
func (_ Unimplemented) GetPlaybackClientsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetViewersOverTime Get viewer count over time
// (GET /admin/viewersOverTime)
func (_ Unimplemented) GetViewersOverTime(w http.ResponseWriter, r *http.Request, params GetViewersOverTimeParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/viewersOverTime)
func (_ Unimplemented) GetViewersOverTimeOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetWebhooks Get all the webhooks
// (GET /admin/webhooks)
func (_ Unimplemented) GetWebhooks(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/webhooks)
func (_ Unimplemented) GetWebhooksOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/webhooks/create)
func (_ Unimplemented) CreateWebhookOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// CreateWebhook Create a single webhook
// (POST /admin/webhooks/create)
func (_ Unimplemented) CreateWebhook(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/webhooks/delete)
func (_ Unimplemented) DeleteWebhookOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// DeleteWebhook Delete a single webhook
// (POST /admin/webhooks/delete)
func (_ Unimplemented) DeleteWebhook(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /admin/yp/reset)
func (_ Unimplemented) ResetYPRegistrationOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ResetYPRegistration Reset YP configuration
// (POST /admin/yp/reset)
func (_ Unimplemented) ResetYPRegistration(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// RegisterFediverseOTPRequest Register a Fediverse OTP request
// (POST /auth/fediverse)
func (_ Unimplemented) RegisterFediverseOTPRequest(w http.ResponseWriter, r *http.Request, params RegisterFediverseOTPRequestParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// VerifyFediverseOTPRequest Verify Fediverse OTP code
// (POST /auth/fediverse/verify)
func (_ Unimplemented) VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// StartIndieAuthFlow Begins auth flow
// (POST /auth/indieauth)
func (_ Unimplemented) StartIndieAuthFlow(w http.ResponseWriter, r *http.Request, params StartIndieAuthFlowParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// HandleIndieAuthRedirect Handle the redirect from an IndieAuth server to continue the auth flow
// (GET /auth/indieauth/callback)
func (_ Unimplemented) HandleIndieAuthRedirect(w http.ResponseWriter, r *http.Request, params HandleIndieAuthRedirectParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// HandleIndieAuthEndpointGet Handles the IndieAuth auth endpoint
// (GET /auth/provider/indieauth)
func (_ Unimplemented) HandleIndieAuthEndpointGet(w http.ResponseWriter, r *http.Request, params HandleIndieAuthEndpointGetParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// HandleIndieAuthEndpointPost Handles IndieAuth from form submission
// (POST /auth/provider/indieauth)
func (_ Unimplemented) HandleIndieAuthEndpointPost(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetChatMessages Gets a list of chat messages
// (GET /chat)
func (_ Unimplemented) GetChatMessages(w http.ResponseWriter, r *http.Request, params GetChatMessagesParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// UpdateMessageVisibility Update chat message visibility
// (POST /chat/messagevisibility)
func (_ Unimplemented) UpdateMessageVisibility(w http.ResponseWriter, r *http.Request, params UpdateMessageVisibilityParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /chat/register)
func (_ Unimplemented) RegisterAnonymousChatUserOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// RegisterAnonymousChatUser Resolves a gate session or registers an anonymous chat user
// (POST /chat/register)
func (_ Unimplemented) RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request, params RegisterAnonymousChatUserParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// UpdateUserEnabled Enable/disable a user
// (POST /chat/users/setenabled)
func (_ Unimplemented) UpdateUserEnabled(w http.ResponseWriter, r *http.Request, params UpdateUserEnabledParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetWebConfig Get the web config
// (GET /config)
func (_ Unimplemented) GetWebConfig(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetCustomEmojiList Get list of custom emojis supported in the chat
// (GET /emoji)
func (_ Unimplemented) GetCustomEmojiList(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetFederatedServers Get list of federated servers
// (GET /federation/servers)
func (_ Unimplemented) GetFederatedServers(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetFollowers Gets the list of followers
// (GET /followers)
func (_ Unimplemented) GetFollowers(w http.ResponseWriter, r *http.Request, params GetFollowersParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExternalGetChatMessages Get chat history
// (GET /integrations/chat)
func (_ Unimplemented) ExternalGetChatMessages(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat)
func (_ Unimplemented) ExternalGetChatMessagesOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat/action)
func (_ Unimplemented) SendChatActionOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SendChatAction Send a user action to chat
// (POST /integrations/chat/action)
func (_ Unimplemented) SendChatAction(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat/messagevisibility)
func (_ Unimplemented) ExternalUpdateMessageVisibilityOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExternalUpdateMessageVisibility Hide chat message
// (POST /integrations/chat/messagevisibility)
func (_ Unimplemented) ExternalUpdateMessageVisibility(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat/send)
func (_ Unimplemented) SendIntegrationChatMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SendIntegrationChatMessage Send a message to chat as a specific 3rd party bot/integration based on its access token
// (POST /integrations/chat/send)
func (_ Unimplemented) SendIntegrationChatMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat/system)
func (_ Unimplemented) SendSystemMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SendSystemMessage Send a system message to the chat
// (POST /integrations/chat/system)
func (_ Unimplemented) SendSystemMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat/system/client/{clientId})
func (_ Unimplemented) SendSystemMessageToConnectedClientOptions(w http.ResponseWriter, r *http.Request, clientId int) {
w.WriteHeader(http.StatusNotImplemented)
}
// SendSystemMessageToConnectedClient Send a system message to a single client
// (POST /integrations/chat/system/client/{clientId})
func (_ Unimplemented) SendSystemMessageToConnectedClient(w http.ResponseWriter, r *http.Request, clientId int) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/chat/user)
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (_ Unimplemented) SendUserMessageOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// SendUserMessage Send a user message to chat
// (POST /integrations/chat/user)
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (_ Unimplemented) SendUserMessage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExternalGetConnectedChatClients Connected clients
// (GET /integrations/clients)
func (_ Unimplemented) ExternalGetConnectedChatClients(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/clients)
func (_ Unimplemented) ExternalGetConnectedChatClientsOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExternalGetUserDetails Get a user's details
// (GET /integrations/moderation/chat/user/{userId})
func (_ Unimplemented) ExternalGetUserDetails(w http.ResponseWriter, r *http.Request, userId string) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExternalGetStatus Get the server's status
// (GET /integrations/status)
func (_ Unimplemented) ExternalGetStatus(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /integrations/streamtitle)
func (_ Unimplemented) ExternalSetStreamTitleOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ExternalSetStreamTitle Stream title
// (POST /integrations/streamtitle)
func (_ Unimplemented) ExternalSetStreamTitle(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ReportCmcdQuery CMCD collector accepting a report as a query parameter
// (GET /metrics/cmcd)
func (_ Unimplemented) ReportCmcdQuery(w http.ResponseWriter, r *http.Request, params ReportCmcdQueryParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// (OPTIONS /metrics/cmcd)
func (_ Unimplemented) ReportCmcdOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ReportCmcd CMCD collector accepting event and response mode playback reports
// (POST /metrics/cmcd)
func (_ Unimplemented) ReportCmcd(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ReportPlaybackMetrics Save video playback metrics for future video health recording
// (POST /metrics/playback)
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (_ Unimplemented) ReportPlaybackMetrics(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetUserDetails Get a user's details
// (GET /moderation/chat/user/{userId})
func (_ Unimplemented) GetUserDetails(w http.ResponseWriter, r *http.Request, userId string, params GetUserDetailsParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// RegisterForLiveNotifications Register for notifications
// (POST /notifications/register)
func (_ Unimplemented) RegisterForLiveNotifications(w http.ResponseWriter, r *http.Request, params RegisterForLiveNotificationsParams) {
w.WriteHeader(http.StatusNotImplemented)
}
// Ping Tell the backend you're an active viewer
// (GET /ping)
func (_ Unimplemented) Ping(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// RemoteFollow Request remote follow
// (POST /remotefollow)
func (_ Unimplemented) RemoteFollow(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetAllSocialPlatforms Get all social platforms
// (GET /socialplatforms)
func (_ Unimplemented) GetAllSocialPlatforms(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetStatus Get the status of the server
// (GET /status)
func (_ Unimplemented) GetStatus(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetVideoStreamOutputVariants Get a list of video variants available
// (GET /video/variants)
func (_ Unimplemented) GetVideoStreamOutputVariants(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// GetYPResponse Get the YP protocol data
// (GET /yp)
func (_ Unimplemented) GetYPResponse(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotImplemented)
}
// ServerInterfaceWrapper converts contexts to parameters.
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type MiddlewareFunc func(http.Handler) http.Handler
// GetExternalAPIUsers operation middleware
func (siw *ServerInterfaceWrapper) GetExternalAPIUsers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetExternalAPIUsers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetExternalAPIUsersOptions operation middleware
func (siw *ServerInterfaceWrapper) GetExternalAPIUsersOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetExternalAPIUsersOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// CreateExternalAPIUserOptions operation middleware
func (siw *ServerInterfaceWrapper) CreateExternalAPIUserOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.CreateExternalAPIUserOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// CreateExternalAPIUser operation middleware
func (siw *ServerInterfaceWrapper) CreateExternalAPIUser(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.CreateExternalAPIUser(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteExternalAPIUserOptions operation middleware
func (siw *ServerInterfaceWrapper) DeleteExternalAPIUserOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteExternalAPIUserOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteExternalAPIUser operation middleware
func (siw *ServerInterfaceWrapper) DeleteExternalAPIUser(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteExternalAPIUser(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetConnectedChatClients operation middleware
func (siw *ServerInterfaceWrapper) GetConnectedChatClients(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetConnectedChatClients(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetConnectedChatClientsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetConnectedChatClientsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetConnectedChatClientsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetChatMessagesAdmin operation middleware
func (siw *ServerInterfaceWrapper) GetChatMessagesAdmin(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetChatMessagesAdmin(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetChatMessagesAdminOptions operation middleware
func (siw *ServerInterfaceWrapper) GetChatMessagesAdminOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetChatMessagesAdminOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateMessageVisibilityAdminOptions operation middleware
func (siw *ServerInterfaceWrapper) UpdateMessageVisibilityAdminOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateMessageVisibilityAdminOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateMessageVisibilityAdmin operation middleware
func (siw *ServerInterfaceWrapper) UpdateMessageVisibilityAdmin(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateMessageVisibilityAdmin(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetDisabledUsers operation middleware
func (siw *ServerInterfaceWrapper) GetDisabledUsers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetDisabledUsers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetDisabledUsersOptions operation middleware
func (siw *ServerInterfaceWrapper) GetDisabledUsersOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetDisabledUsersOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetIPAddressBans operation middleware
func (siw *ServerInterfaceWrapper) GetIPAddressBans(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetIPAddressBans(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetIPAddressBansOptions operation middleware
func (siw *ServerInterfaceWrapper) GetIPAddressBansOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetIPAddressBansOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// BanIPAddressOptions operation middleware
func (siw *ServerInterfaceWrapper) BanIPAddressOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.BanIPAddressOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// BanIPAddress operation middleware
func (siw *ServerInterfaceWrapper) BanIPAddress(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.BanIPAddress(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UnbanIPAddressOptions operation middleware
func (siw *ServerInterfaceWrapper) UnbanIPAddressOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UnbanIPAddressOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UnbanIPAddress operation middleware
func (siw *ServerInterfaceWrapper) UnbanIPAddress(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UnbanIPAddress(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetModerators operation middleware
func (siw *ServerInterfaceWrapper) GetModerators(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetModerators(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetModeratorsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetModeratorsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetModeratorsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateUserEnabledAdminOptions operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserEnabledAdminOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateUserEnabledAdminOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateUserEnabledAdmin operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserEnabledAdmin(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateUserEnabledAdmin(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateUserModeratorOptions operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserModeratorOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateUserModeratorOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateUserModerator operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserModerator(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateUserModerator(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetAdminPasswordOptions operation middleware
func (siw *ServerInterfaceWrapper) SetAdminPasswordOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetAdminPasswordOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetAdminPassword operation middleware
func (siw *ServerInterfaceWrapper) SetAdminPassword(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetAdminPassword(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomColorVariableValuesOptions operation middleware
func (siw *ServerInterfaceWrapper) SetCustomColorVariableValuesOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomColorVariableValuesOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomColorVariableValues operation middleware
func (siw *ServerInterfaceWrapper) SetCustomColorVariableValues(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomColorVariableValues(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetAutoplayOptions operation middleware
func (siw *ServerInterfaceWrapper) SetAutoplayOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetAutoplayOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetAutoplay operation middleware
func (siw *ServerInterfaceWrapper) SetAutoplay(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetAutoplay(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatDisabledOptions operation middleware
func (siw *ServerInterfaceWrapper) SetChatDisabledOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatDisabledOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatDisabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatDisabled(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatDisabled(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetEnableEstablishedChatUserModeOptions operation middleware
func (siw *ServerInterfaceWrapper) SetEnableEstablishedChatUserModeOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetEnableEstablishedChatUserModeOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetEnableEstablishedChatUserMode operation middleware
func (siw *ServerInterfaceWrapper) SetEnableEstablishedChatUserMode(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetEnableEstablishedChatUserMode(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetForbiddenUsernameListOptions operation middleware
func (siw *ServerInterfaceWrapper) SetForbiddenUsernameListOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetForbiddenUsernameListOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetForbiddenUsernameList operation middleware
func (siw *ServerInterfaceWrapper) SetForbiddenUsernameList(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetForbiddenUsernameList(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatJoinMessagesEnabledOptions operation middleware
func (siw *ServerInterfaceWrapper) SetChatJoinMessagesEnabledOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatJoinMessagesEnabledOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatJoinMessagesEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatJoinMessagesEnabled(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatJoinMessagesEnabled(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatRequireAuthenticationOptions operation middleware
func (siw *ServerInterfaceWrapper) SetChatRequireAuthenticationOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatRequireAuthenticationOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatRequireAuthentication operation middleware
func (siw *ServerInterfaceWrapper) SetChatRequireAuthentication(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatRequireAuthentication(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatSlurFilterEnabledOptions operation middleware
func (siw *ServerInterfaceWrapper) SetChatSlurFilterEnabledOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatSlurFilterEnabledOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatSlurFilterEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatSlurFilterEnabled(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatSlurFilterEnabled(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatSpamProtectionEnabledOptions operation middleware
func (siw *ServerInterfaceWrapper) SetChatSpamProtectionEnabledOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatSpamProtectionEnabledOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetChatSpamProtectionEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatSpamProtectionEnabled(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetChatSpamProtectionEnabled(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetSuggestedUsernameListOptions operation middleware
func (siw *ServerInterfaceWrapper) SetSuggestedUsernameListOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetSuggestedUsernameListOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetSuggestedUsernameList operation middleware
func (siw *ServerInterfaceWrapper) SetSuggestedUsernameList(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetSuggestedUsernameList(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomJavascriptOptions operation middleware
func (siw *ServerInterfaceWrapper) SetCustomJavascriptOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomJavascriptOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomJavascript operation middleware
func (siw *ServerInterfaceWrapper) SetCustomJavascript(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomJavascript(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomStylesOptions operation middleware
func (siw *ServerInterfaceWrapper) SetCustomStylesOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomStylesOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomStyles operation middleware
func (siw *ServerInterfaceWrapper) SetCustomStyles(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomStyles(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetDirectoryEnabledOptions operation middleware
func (siw *ServerInterfaceWrapper) SetDirectoryEnabledOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetDirectoryEnabledOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetDirectoryEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetDirectoryEnabled(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetDirectoryEnabled(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetDisableSearchIndexingOptions operation middleware
func (siw *ServerInterfaceWrapper) SetDisableSearchIndexingOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetDisableSearchIndexingOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetDisableSearchIndexing operation middleware
func (siw *ServerInterfaceWrapper) SetDisableSearchIndexing(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetDisableSearchIndexing(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetExternalActionsOptions operation middleware
func (siw *ServerInterfaceWrapper) SetExternalActionsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetExternalActionsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetExternalActions operation middleware
func (siw *ServerInterfaceWrapper) SetExternalActions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetExternalActions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ResetFavicon operation middleware
func (siw *ServerInterfaceWrapper) ResetFavicon(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ResetFavicon(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFaviconOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFaviconOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFaviconOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFavicon operation middleware
func (siw *ServerInterfaceWrapper) SetFavicon(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFavicon(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationBlockDomainsOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationBlockDomainsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationBlockDomainsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationBlockDomains operation middleware
func (siw *ServerInterfaceWrapper) SetFederationBlockDomains(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationBlockDomains(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationEnabledOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationEnabledOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationEnabledOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetFederationEnabled(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationEnabled(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationEnableQuotesOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationEnableQuotesOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationEnableQuotesOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationEnableQuotes operation middleware
func (siw *ServerInterfaceWrapper) SetFederationEnableQuotes(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationEnableQuotes(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationHideFollowersTabOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationHideFollowersTabOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationHideFollowersTabOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationHideFollowersTab operation middleware
func (siw *ServerInterfaceWrapper) SetFederationHideFollowersTab(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationHideFollowersTab(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationGoLiveMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationGoLiveMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationGoLiveMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationGoLiveMessage operation middleware
func (siw *ServerInterfaceWrapper) SetFederationGoLiveMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationGoLiveMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationActivityPrivateOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationActivityPrivateOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationActivityPrivateOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationActivityPrivate operation middleware
func (siw *ServerInterfaceWrapper) SetFederationActivityPrivate(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationActivityPrivate(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationShowEngagementOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationShowEngagementOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationShowEngagementOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationShowEngagement operation middleware
func (siw *ServerInterfaceWrapper) SetFederationShowEngagement(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationShowEngagement(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationUsernameOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFederationUsernameOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationUsernameOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFederationUsername operation middleware
func (siw *ServerInterfaceWrapper) SetFederationUsername(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFederationUsername(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFfmpegPathOptions operation middleware
func (siw *ServerInterfaceWrapper) SetFfmpegPathOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFfmpegPathOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetFfmpegPath operation middleware
func (siw *ServerInterfaceWrapper) SetFfmpegPath(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetFfmpegPath(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetHideViewerCountOptions operation middleware
func (siw *ServerInterfaceWrapper) SetHideViewerCountOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetHideViewerCountOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetHideViewerCount operation middleware
func (siw *ServerInterfaceWrapper) SetHideViewerCount(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetHideViewerCount(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetLogoOptions operation middleware
func (siw *ServerInterfaceWrapper) SetLogoOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetLogoOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetLogo operation middleware
func (siw *ServerInterfaceWrapper) SetLogo(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetLogo(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerNameOptions operation middleware
func (siw *ServerInterfaceWrapper) SetServerNameOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerNameOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerName operation middleware
func (siw *ServerInterfaceWrapper) SetServerName(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerName(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetBrowserNotificationConfigurationOptions operation middleware
func (siw *ServerInterfaceWrapper) SetBrowserNotificationConfigurationOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetBrowserNotificationConfigurationOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetBrowserNotificationConfiguration operation middleware
func (siw *ServerInterfaceWrapper) SetBrowserNotificationConfiguration(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetBrowserNotificationConfiguration(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetDiscordNotificationConfigurationOptions operation middleware
func (siw *ServerInterfaceWrapper) SetDiscordNotificationConfigurationOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetDiscordNotificationConfigurationOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetDiscordNotificationConfiguration operation middleware
func (siw *ServerInterfaceWrapper) SetDiscordNotificationConfiguration(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetDiscordNotificationConfiguration(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetNSFWOptions operation middleware
func (siw *ServerInterfaceWrapper) SetNSFWOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetNSFWOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetNSFW operation middleware
func (siw *ServerInterfaceWrapper) SetNSFW(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetNSFW(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomOfflineMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SetCustomOfflineMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomOfflineMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetCustomOfflineMessage operation middleware
func (siw *ServerInterfaceWrapper) SetCustomOfflineMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetCustomOfflineMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetExtraPageContentOptions operation middleware
func (siw *ServerInterfaceWrapper) SetExtraPageContentOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetExtraPageContentOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetExtraPageContent operation middleware
func (siw *ServerInterfaceWrapper) SetExtraPageContent(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetExtraPageContent(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetRTMPServerBindAddressOptions operation middleware
func (siw *ServerInterfaceWrapper) SetRTMPServerBindAddressOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetRTMPServerBindAddressOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetRTMPServerBindAddress operation middleware
func (siw *ServerInterfaceWrapper) SetRTMPServerBindAddress(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetRTMPServerBindAddress(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetRTMPServerPortOptions operation middleware
func (siw *ServerInterfaceWrapper) SetRTMPServerPortOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetRTMPServerPortOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetRTMPServerPort operation middleware
func (siw *ServerInterfaceWrapper) SetRTMPServerPort(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetRTMPServerPort(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetS3ConfigurationOptions operation middleware
func (siw *ServerInterfaceWrapper) SetS3ConfigurationOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetS3ConfigurationOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetS3Configuration operation middleware
func (siw *ServerInterfaceWrapper) SetS3Configuration(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetS3Configuration(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerSummaryOptions operation middleware
func (siw *ServerInterfaceWrapper) SetServerSummaryOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerSummaryOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerSummary operation middleware
func (siw *ServerInterfaceWrapper) SetServerSummary(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerSummary(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerURLOptions operation middleware
func (siw *ServerInterfaceWrapper) SetServerURLOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerURLOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerURL operation middleware
func (siw *ServerInterfaceWrapper) SetServerURL(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerURL(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetSocialHandlesOptions operation middleware
func (siw *ServerInterfaceWrapper) SetSocialHandlesOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetSocialHandlesOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetSocialHandles operation middleware
func (siw *ServerInterfaceWrapper) SetSocialHandles(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetSocialHandles(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetSocketHostOverrideOptions operation middleware
func (siw *ServerInterfaceWrapper) SetSocketHostOverrideOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetSocketHostOverrideOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetSocketHostOverride operation middleware
func (siw *ServerInterfaceWrapper) SetSocketHostOverride(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetSocketHostOverride(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamKeysOptions operation middleware
func (siw *ServerInterfaceWrapper) SetStreamKeysOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamKeysOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamKeys operation middleware
func (siw *ServerInterfaceWrapper) SetStreamKeys(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamKeys(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamTitleOptions operation middleware
func (siw *ServerInterfaceWrapper) SetStreamTitleOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamTitleOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamTitle operation middleware
func (siw *ServerInterfaceWrapper) SetStreamTitle(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamTitle(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetTagsOptions operation middleware
func (siw *ServerInterfaceWrapper) SetTagsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetTagsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetTags operation middleware
func (siw *ServerInterfaceWrapper) SetTags(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetTags(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetVideoCodecOptions operation middleware
func (siw *ServerInterfaceWrapper) SetVideoCodecOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetVideoCodecOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetVideoCodec operation middleware
func (siw *ServerInterfaceWrapper) SetVideoCodec(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetVideoCodec(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamLatencyLevelOptions operation middleware
func (siw *ServerInterfaceWrapper) SetStreamLatencyLevelOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamLatencyLevelOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamLatencyLevel operation middleware
func (siw *ServerInterfaceWrapper) SetStreamLatencyLevel(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamLatencyLevel(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamOutputVariantsOptions operation middleware
func (siw *ServerInterfaceWrapper) SetStreamOutputVariantsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamOutputVariantsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetStreamOutputVariants operation middleware
func (siw *ServerInterfaceWrapper) SetStreamOutputVariants(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetStreamOutputVariants(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetVideoServingEndpointOptions operation middleware
func (siw *ServerInterfaceWrapper) SetVideoServingEndpointOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetVideoServingEndpointOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetVideoServingEndpoint operation middleware
func (siw *ServerInterfaceWrapper) SetVideoServingEndpoint(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetVideoServingEndpoint(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetWebServerIPOptions operation middleware
func (siw *ServerInterfaceWrapper) SetWebServerIPOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetWebServerIPOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetWebServerIP operation middleware
func (siw *ServerInterfaceWrapper) SetWebServerIP(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetWebServerIP(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetWebServerPortOptions operation middleware
func (siw *ServerInterfaceWrapper) SetWebServerPortOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetWebServerPortOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetWebServerPort operation middleware
func (siw *ServerInterfaceWrapper) SetWebServerPort(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetWebServerPort(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerWelcomeMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SetServerWelcomeMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerWelcomeMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SetServerWelcomeMessage operation middleware
func (siw *ServerInterfaceWrapper) SetServerWelcomeMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SetServerWelcomeMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DisconnectInboundConnectionOptions operation middleware
func (siw *ServerInterfaceWrapper) DisconnectInboundConnectionOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DisconnectInboundConnectionOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DisconnectInboundConnection operation middleware
func (siw *ServerInterfaceWrapper) DisconnectInboundConnection(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DisconnectInboundConnection(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteCustomEmojiOptions operation middleware
func (siw *ServerInterfaceWrapper) DeleteCustomEmojiOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteCustomEmojiOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteCustomEmoji operation middleware
func (siw *ServerInterfaceWrapper) DeleteCustomEmoji(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteCustomEmoji(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UploadCustomEmojiOptions operation middleware
func (siw *ServerInterfaceWrapper) UploadCustomEmojiOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UploadCustomEmojiOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UploadCustomEmoji operation middleware
func (siw *ServerInterfaceWrapper) UploadCustomEmoji(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UploadCustomEmoji(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFederatedActions operation middleware
func (siw *ServerInterfaceWrapper) GetFederatedActions(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params GetFederatedActionsParams
// ------------- Optional query parameter "offset" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "offset", r.URL.Query(), ¶ms.Offset, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "offset"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "offset", Err: err})
}
return
}
// ------------- Optional query parameter "limit" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "limit", r.URL.Query(), ¶ms.Limit, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "limit"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "limit", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFederatedActions(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFederatedActionsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetFederatedActionsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFederatedActionsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFeatureRequests operation middleware
func (siw *ServerInterfaceWrapper) GetFeatureRequests(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFeatureRequests(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendFederatedMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SendFederatedMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendFederatedMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendFederatedMessage operation middleware
func (siw *ServerInterfaceWrapper) SendFederatedMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendFederatedMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetAdminFederatedServers operation middleware
func (siw *ServerInterfaceWrapper) GetAdminFederatedServers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetAdminFederatedServers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// AddFederatedServerOptions operation middleware
func (siw *ServerInterfaceWrapper) AddFederatedServerOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.AddFederatedServerOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// AddFederatedServer operation middleware
func (siw *ServerInterfaceWrapper) AddFederatedServer(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.AddFederatedServer(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RemoveFederatedServer operation middleware
func (siw *ServerInterfaceWrapper) RemoveFederatedServer(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "id" -------------
var id int
err = runtime.BindStyledParameterWithOptions("simple", "id", chi.URLParam(r, "id"), &id, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "integer", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "id", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RemoveFederatedServer(w, r, id)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RemoveFederatedServerOptions operation middleware
func (siw *ServerInterfaceWrapper) RemoveFederatedServerOptions(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "id" -------------
var id int
err = runtime.BindStyledParameterWithOptions("simple", "id", chi.URLParam(r, "id"), &id, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "integer", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "id", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RemoveFederatedServerOptions(w, r, id)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ReorderFederatedServerOptions operation middleware
func (siw *ServerInterfaceWrapper) ReorderFederatedServerOptions(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "id" -------------
var id int
err = runtime.BindStyledParameterWithOptions("simple", "id", chi.URLParam(r, "id"), &id, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "integer", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "id", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ReorderFederatedServerOptions(w, r, id)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ReorderFederatedServer operation middleware
func (siw *ServerInterfaceWrapper) ReorderFederatedServer(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "id" -------------
var id int
err = runtime.BindStyledParameterWithOptions("simple", "id", chi.URLParam(r, "id"), &id, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "integer", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "id", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ReorderFederatedServer(w, r, id)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFollowersAdmin operation middleware
func (siw *ServerInterfaceWrapper) GetFollowersAdmin(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params GetFollowersAdminParams
// ------------- Optional query parameter "offset" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "offset", r.URL.Query(), ¶ms.Offset, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "offset"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "offset", Err: err})
}
return
}
// ------------- Optional query parameter "limit" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "limit", r.URL.Query(), ¶ms.Limit, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "limit"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "limit", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFollowersAdmin(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFollowersAdminOptions operation middleware
func (siw *ServerInterfaceWrapper) GetFollowersAdminOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFollowersAdminOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ApproveFollowerOptions operation middleware
func (siw *ServerInterfaceWrapper) ApproveFollowerOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ApproveFollowerOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ApproveFollower operation middleware
func (siw *ServerInterfaceWrapper) ApproveFollower(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ApproveFollower(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetBlockedAndRejectedFollowers operation middleware
func (siw *ServerInterfaceWrapper) GetBlockedAndRejectedFollowers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetBlockedAndRejectedFollowers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetBlockedAndRejectedFollowersOptions operation middleware
func (siw *ServerInterfaceWrapper) GetBlockedAndRejectedFollowersOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetBlockedAndRejectedFollowersOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetDirectoryFollowers operation middleware
func (siw *ServerInterfaceWrapper) GetDirectoryFollowers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetDirectoryFollowers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetDirectoryFollowersOptions operation middleware
func (siw *ServerInterfaceWrapper) GetDirectoryFollowersOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetDirectoryFollowersOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetPendingFollowRequests operation middleware
func (siw *ServerInterfaceWrapper) GetPendingFollowRequests(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetPendingFollowRequests(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetPendingFollowRequestsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetPendingFollowRequestsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetPendingFollowRequestsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RemoveFollowerOptions operation middleware
func (siw *ServerInterfaceWrapper) RemoveFollowerOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RemoveFollowerOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RemoveFollower operation middleware
func (siw *ServerInterfaceWrapper) RemoveFollower(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RemoveFollower(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetHardwareStats operation middleware
func (siw *ServerInterfaceWrapper) GetHardwareStats(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetHardwareStats(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetHardwareStatsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetHardwareStatsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetHardwareStatsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetLogs operation middleware
func (siw *ServerInterfaceWrapper) GetLogs(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetLogs(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetLogsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetLogsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetLogsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetWarnings operation middleware
func (siw *ServerInterfaceWrapper) GetWarnings(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetWarnings(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetWarningsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetWarningsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetWarningsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetVideoPlaybackMetrics operation middleware
func (siw *ServerInterfaceWrapper) GetVideoPlaybackMetrics(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetVideoPlaybackMetrics(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetVideoPlaybackMetricsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetVideoPlaybackMetricsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetVideoPlaybackMetricsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeletePrometheusAPI operation middleware
func (siw *ServerInterfaceWrapper) DeletePrometheusAPI(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeletePrometheusAPI(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetPrometheusAPI operation middleware
func (siw *ServerInterfaceWrapper) GetPrometheusAPI(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetPrometheusAPI(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// OptionsPrometheusAPI operation middleware
func (siw *ServerInterfaceWrapper) OptionsPrometheusAPI(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.OptionsPrometheusAPI(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// PostPrometheusAPI operation middleware
func (siw *ServerInterfaceWrapper) PostPrometheusAPI(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.PostPrometheusAPI(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// PutPrometheusAPI operation middleware
func (siw *ServerInterfaceWrapper) PutPrometheusAPI(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.PutPrometheusAPI(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetServerConfig operation middleware
func (siw *ServerInterfaceWrapper) GetServerConfig(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetServerConfig(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetServerConfigOptions operation middleware
func (siw *ServerInterfaceWrapper) GetServerConfigOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetServerConfigOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// StatusAdmin operation middleware
func (siw *ServerInterfaceWrapper) StatusAdmin(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.StatusAdmin(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// StatusAdminOptions operation middleware
func (siw *ServerInterfaceWrapper) StatusAdminOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.StatusAdminOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetUsers operation middleware
func (siw *ServerInterfaceWrapper) GetUsers(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params GetUsersParams
// ------------- Optional query parameter "offset" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "offset", r.URL.Query(), ¶ms.Offset, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "offset"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "offset", Err: err})
}
return
}
// ------------- Optional query parameter "limit" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "limit", r.URL.Query(), ¶ms.Limit, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "limit"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "limit", Err: err})
}
return
}
// ------------- Optional query parameter "search" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "search", r.URL.Query(), ¶ms.Search, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "search"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "search", Err: err})
}
return
}
// ------------- Optional query parameter "status" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "status", r.URL.Query(), ¶ms.Status, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "status"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "status", Err: err})
}
return
}
// ------------- Optional query parameter "sort" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "sort", r.URL.Query(), ¶ms.Sort, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "sort"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "sort", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetUsers(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetUsersOptions operation middleware
func (siw *ServerInterfaceWrapper) GetUsersOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetUsersOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteUserOptions operation middleware
func (siw *ServerInterfaceWrapper) DeleteUserOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteUserOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteUser operation middleware
func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteUser(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetActiveViewers operation middleware
func (siw *ServerInterfaceWrapper) GetActiveViewers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetActiveViewers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetActiveViewersOptions operation middleware
func (siw *ServerInterfaceWrapper) GetActiveViewersOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetActiveViewersOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetPlaybackClients operation middleware
func (siw *ServerInterfaceWrapper) GetPlaybackClients(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetPlaybackClients(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetPlaybackClientsOptions operation middleware
func (siw *ServerInterfaceWrapper) GetPlaybackClientsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetPlaybackClientsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetViewersOverTime operation middleware
func (siw *ServerInterfaceWrapper) GetViewersOverTime(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params GetViewersOverTimeParams
// ------------- Optional query parameter "windowStart" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "windowStart", r.URL.Query(), ¶ms.WindowStart, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "windowStart"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "windowStart", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetViewersOverTime(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetViewersOverTimeOptions operation middleware
func (siw *ServerInterfaceWrapper) GetViewersOverTimeOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetViewersOverTimeOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetWebhooks operation middleware
func (siw *ServerInterfaceWrapper) GetWebhooks(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetWebhooks(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetWebhooksOptions operation middleware
func (siw *ServerInterfaceWrapper) GetWebhooksOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetWebhooksOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// CreateWebhookOptions operation middleware
func (siw *ServerInterfaceWrapper) CreateWebhookOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.CreateWebhookOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// CreateWebhook operation middleware
func (siw *ServerInterfaceWrapper) CreateWebhook(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.CreateWebhook(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteWebhookOptions operation middleware
func (siw *ServerInterfaceWrapper) DeleteWebhookOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteWebhookOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// DeleteWebhook operation middleware
func (siw *ServerInterfaceWrapper) DeleteWebhook(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.DeleteWebhook(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ResetYPRegistrationOptions operation middleware
func (siw *ServerInterfaceWrapper) ResetYPRegistrationOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ResetYPRegistrationOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ResetYPRegistration operation middleware
func (siw *ServerInterfaceWrapper) ResetYPRegistration(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ResetYPRegistration(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RegisterFediverseOTPRequest operation middleware
func (siw *ServerInterfaceWrapper) RegisterFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params RegisterFediverseOTPRequestParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RegisterFediverseOTPRequest(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// VerifyFediverseOTPRequest operation middleware
func (siw *ServerInterfaceWrapper) VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.VerifyFediverseOTPRequest(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// StartIndieAuthFlow operation middleware
func (siw *ServerInterfaceWrapper) StartIndieAuthFlow(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params StartIndieAuthFlowParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.StartIndieAuthFlow(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// HandleIndieAuthRedirect operation middleware
func (siw *ServerInterfaceWrapper) HandleIndieAuthRedirect(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params HandleIndieAuthRedirectParams
// ------------- Required query parameter "state" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "state", r.URL.Query(), ¶ms.State, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "state"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "state", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.HandleIndieAuthRedirect(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// HandleIndieAuthEndpointGet operation middleware
func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params HandleIndieAuthEndpointGetParams
// ------------- Required query parameter "client_id" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "client_id", r.URL.Query(), ¶ms.ClientId, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "client_id"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "client_id", Err: err})
}
return
}
// ------------- Required query parameter "redirect_uri" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "redirect_uri", r.URL.Query(), ¶ms.RedirectUri, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "redirect_uri"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "redirect_uri", Err: err})
}
return
}
// ------------- Required query parameter "code_challenge" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "code_challenge", r.URL.Query(), ¶ms.CodeChallenge, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "code_challenge"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "code_challenge", Err: err})
}
return
}
// ------------- Required query parameter "state" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "state", r.URL.Query(), ¶ms.State, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "state"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "state", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.HandleIndieAuthEndpointGet(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// HandleIndieAuthEndpointPost operation middleware
func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointPost(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.HandleIndieAuthEndpointPost(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetChatMessages operation middleware
func (siw *ServerInterfaceWrapper) GetChatMessages(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params GetChatMessagesParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetChatMessages(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateMessageVisibility operation middleware
func (siw *ServerInterfaceWrapper) UpdateMessageVisibility(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params UpdateMessageVisibilityParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateMessageVisibility(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RegisterAnonymousChatUserOptions operation middleware
func (siw *ServerInterfaceWrapper) RegisterAnonymousChatUserOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RegisterAnonymousChatUserOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RegisterAnonymousChatUser operation middleware
func (siw *ServerInterfaceWrapper) RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params RegisterAnonymousChatUserParams
headers := r.Header
// ------------- Optional header parameter "X-Forwarded-User" -------------
if valueList, found := headers[http.CanonicalHeaderKey("X-Forwarded-User")]; found {
var XForwardedUser string
n := len(valueList)
if n != 1 {
siw.ErrorHandlerFunc(w, r, &TooManyValuesForParamError{ParamName: "X-Forwarded-User", Count: n})
return
}
err = runtime.BindStyledParameterWithOptions("simple", "X-Forwarded-User", valueList[0], &XForwardedUser, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationHeader, Explode: false, Required: false, Type: "string", Format: ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "X-Forwarded-User", Err: err})
return
}
params.XForwardedUser = &XForwardedUser
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RegisterAnonymousChatUser(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// UpdateUserEnabled operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserEnabled(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params UpdateUserEnabledParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.UpdateUserEnabled(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetWebConfig operation middleware
func (siw *ServerInterfaceWrapper) GetWebConfig(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetWebConfig(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetCustomEmojiList operation middleware
func (siw *ServerInterfaceWrapper) GetCustomEmojiList(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetCustomEmojiList(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFederatedServers operation middleware
func (siw *ServerInterfaceWrapper) GetFederatedServers(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFederatedServers(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetFollowers operation middleware
func (siw *ServerInterfaceWrapper) GetFollowers(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params GetFollowersParams
// ------------- Optional query parameter "offset" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "offset", r.URL.Query(), ¶ms.Offset, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "offset"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "offset", Err: err})
}
return
}
// ------------- Optional query parameter "limit" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "limit", r.URL.Query(), ¶ms.Limit, runtime.BindQueryParameterOptions{Type: "integer", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "limit"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "limit", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetFollowers(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalGetChatMessages operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetChatMessages(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalGetChatMessages(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalGetChatMessagesOptions operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetChatMessagesOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalGetChatMessagesOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendChatActionOptions operation middleware
func (siw *ServerInterfaceWrapper) SendChatActionOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendChatActionOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendChatAction operation middleware
func (siw *ServerInterfaceWrapper) SendChatAction(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendChatAction(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalUpdateMessageVisibilityOptions operation middleware
func (siw *ServerInterfaceWrapper) ExternalUpdateMessageVisibilityOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalUpdateMessageVisibilityOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalUpdateMessageVisibility operation middleware
func (siw *ServerInterfaceWrapper) ExternalUpdateMessageVisibility(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalUpdateMessageVisibility(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendIntegrationChatMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SendIntegrationChatMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendIntegrationChatMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendIntegrationChatMessage operation middleware
func (siw *ServerInterfaceWrapper) SendIntegrationChatMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendIntegrationChatMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendSystemMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendSystemMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendSystemMessage operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendSystemMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendSystemMessageToConnectedClientOptions operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessageToConnectedClientOptions(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "clientId" -------------
var clientId int
err = runtime.BindStyledParameterWithOptions("simple", "clientId", chi.URLParam(r, "clientId"), &clientId, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "integer", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clientId", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendSystemMessageToConnectedClientOptions(w, r, clientId)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendSystemMessageToConnectedClient operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessageToConnectedClient(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "clientId" -------------
var clientId int
err = runtime.BindStyledParameterWithOptions("simple", "clientId", chi.URLParam(r, "clientId"), &clientId, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "integer", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "clientId", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendSystemMessageToConnectedClient(w, r, clientId)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendUserMessageOptions operation middleware
func (siw *ServerInterfaceWrapper) SendUserMessageOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendUserMessageOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// SendUserMessage operation middleware
func (siw *ServerInterfaceWrapper) SendUserMessage(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.SendUserMessage(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalGetConnectedChatClients operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetConnectedChatClients(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalGetConnectedChatClients(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalGetConnectedChatClientsOptions operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetConnectedChatClientsOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalGetConnectedChatClientsOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalGetUserDetails operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetUserDetails(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "userId" -------------
var userId string
err = runtime.BindStyledParameterWithOptions("simple", "userId", chi.URLParam(r, "userId"), &userId, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "string", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "userId", Err: err})
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalGetUserDetails(w, r, userId)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalGetStatus operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetStatus(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalGetStatus(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalSetStreamTitleOptions operation middleware
func (siw *ServerInterfaceWrapper) ExternalSetStreamTitleOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalSetStreamTitleOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ExternalSetStreamTitle operation middleware
func (siw *ServerInterfaceWrapper) ExternalSetStreamTitle(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ExternalSetStreamTitle(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ReportCmcdQuery operation middleware
func (siw *ServerInterfaceWrapper) ReportCmcdQuery(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params ReportCmcdQueryParams
// ------------- Optional query parameter "CMCD" -------------
err = runtime.BindQueryParameterWithOptions("form", true, false, "CMCD", r.URL.Query(), ¶ms.CMCD, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "CMCD"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "CMCD", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ReportCmcdQuery(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ReportCmcdOptions operation middleware
func (siw *ServerInterfaceWrapper) ReportCmcdOptions(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ReportCmcdOptions(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ReportCmcd operation middleware
func (siw *ServerInterfaceWrapper) ReportCmcd(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ReportCmcd(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// ReportPlaybackMetrics operation middleware
func (siw *ServerInterfaceWrapper) ReportPlaybackMetrics(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.ReportPlaybackMetrics(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetUserDetails operation middleware
func (siw *ServerInterfaceWrapper) GetUserDetails(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// ------------- Path parameter "userId" -------------
var userId string
err = runtime.BindStyledParameterWithOptions("simple", "userId", chi.URLParam(r, "userId"), &userId, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true, Type: "string", Format: "", ValueIsUnescaped: r.URL.RawPath == ""})
if err != nil {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "userId", Err: err})
return
}
// Parameter object where we will unmarshal all parameters from the context
var params GetUserDetailsParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetUserDetails(w, r, userId, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RegisterForLiveNotifications operation middleware
func (siw *ServerInterfaceWrapper) RegisterForLiveNotifications(w http.ResponseWriter, r *http.Request) {
var err error
_ = err
// Parameter object where we will unmarshal all parameters from the context
var params RegisterForLiveNotificationsParams
// ------------- Required query parameter "accessToken" -------------
err = runtime.BindQueryParameterWithOptions("form", true, true, "accessToken", r.URL.Query(), ¶ms.AccessToken, runtime.BindQueryParameterOptions{Type: "string", Format: ""})
if err != nil {
var requiredError *runtime.RequiredParameterError
if errors.As(err, &requiredError) {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
} else {
siw.ErrorHandlerFunc(w, r, &InvalidParamFormatError{ParamName: "accessToken", Err: err})
}
return
}
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RegisterForLiveNotifications(w, r, params)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// Ping operation middleware
func (siw *ServerInterfaceWrapper) Ping(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.Ping(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// RemoteFollow operation middleware
func (siw *ServerInterfaceWrapper) RemoteFollow(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.RemoteFollow(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetAllSocialPlatforms operation middleware
func (siw *ServerInterfaceWrapper) GetAllSocialPlatforms(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetAllSocialPlatforms(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetStatus operation middleware
func (siw *ServerInterfaceWrapper) GetStatus(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetStatus(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetVideoStreamOutputVariants operation middleware
func (siw *ServerInterfaceWrapper) GetVideoStreamOutputVariants(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetVideoStreamOutputVariants(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
// GetYPResponse operation middleware
func (siw *ServerInterfaceWrapper) GetYPResponse(w http.ResponseWriter, r *http.Request) {
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.GetYPResponse(w, r)
}))
for _, middleware := range siw.HandlerMiddlewares {
handler = middleware(handler)
}
handler.ServeHTTP(w, r)
}
type UnescapedCookieParamError struct {
ParamName string
Err error
}
func (e *UnescapedCookieParamError) Error() string {
return fmt.Sprintf("error unescaping cookie parameter '%s'", e.ParamName)
}
func (e *UnescapedCookieParamError) Unwrap() error {
return e.Err
}
type UnmarshalingParamError struct {
ParamName string
Err error
}
func (e *UnmarshalingParamError) Error() string {
return fmt.Sprintf("Error unmarshaling parameter %s as JSON: %s", e.ParamName, e.Err.Error())
}
func (e *UnmarshalingParamError) Unwrap() error {
return e.Err
}
type RequiredParamError struct {
ParamName string
}
func (e *RequiredParamError) Error() string {
return fmt.Sprintf("Query argument %s is required, but not found", e.ParamName)
}
type RequiredHeaderError struct {
ParamName string
Err error
}
func (e *RequiredHeaderError) Error() string {
return fmt.Sprintf("Header parameter %s is required, but not found", e.ParamName)
}
func (e *RequiredHeaderError) Unwrap() error {
return e.Err
}
type InvalidParamFormatError struct {
ParamName string
Err error
}
func (e *InvalidParamFormatError) Error() string {
return fmt.Sprintf("Invalid format for parameter %s: %s", e.ParamName, e.Err.Error())
}
func (e *InvalidParamFormatError) Unwrap() error {
return e.Err
}
type TooManyValuesForParamError struct {
ParamName string
Count int
}
func (e *TooManyValuesForParamError) Error() string {
return fmt.Sprintf("Expected one value for %s, got %d", e.ParamName, e.Count)
}
// Handler creates http.Handler with routing matching OpenAPI spec.
func Handler(si ServerInterface) http.Handler {
return HandlerWithOptions(si, ChiServerOptions{})
}
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
// HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler {
return HandlerWithOptions(si, ChiServerOptions{
BaseRouter: r,
})
}
func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler {
return HandlerWithOptions(si, ChiServerOptions{
BaseURL: baseURL,
BaseRouter: r,
})
}
// HandlerWithOptions creates http.Handler with additional options
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler {
r := options.BaseRouter
if r == nil {
r = chi.NewRouter()
}
if options.ErrorHandlerFunc == nil {
options.ErrorHandlerFunc = func(w http.ResponseWriter, r *http.Request, err error) {
http.Error(w, err.Error(), http.StatusBadRequest)
}
}
wrapper := ServerInterfaceWrapper{
Handler: si,
HandlerMiddlewares: options.Middlewares,
ErrorHandlerFunc: options.ErrorHandlerFunc,
}
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/status", wrapper.GetStatus)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/emoji", wrapper.GetCustomEmojiList)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/chat", wrapper.GetChatMessages)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/chat/register", wrapper.RegisterAnonymousChatUserOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/chat/register", wrapper.RegisterAnonymousChatUser)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/chat/messagevisibility", wrapper.UpdateMessageVisibility)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/chat/users/setenabled", wrapper.UpdateUserEnabled)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/config", wrapper.GetWebConfig)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/yp", wrapper.GetYPResponse)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/socialplatforms", wrapper.GetAllSocialPlatforms)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/video/variants", wrapper.GetVideoStreamOutputVariants)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/ping", wrapper.Ping)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/remotefollow", wrapper.RemoteFollow)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/followers", wrapper.GetFollowers)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/metrics/cmcd", wrapper.ReportCmcdQuery)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/metrics/cmcd", wrapper.ReportCmcdOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/metrics/cmcd", wrapper.ReportCmcd)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/metrics/playback", wrapper.ReportPlaybackMetrics)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/notifications/register", wrapper.RegisterForLiveNotifications)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/status", wrapper.StatusAdmin)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/status", wrapper.StatusAdminOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/disconnect", wrapper.DisconnectInboundConnectionOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/disconnect", wrapper.DisconnectInboundConnection)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/serverconfig", wrapper.GetServerConfig)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/serverconfig", wrapper.GetServerConfigOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/viewersOverTime", wrapper.GetViewersOverTime)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/viewersOverTime", wrapper.GetViewersOverTimeOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/viewers", wrapper.GetActiveViewers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/viewers", wrapper.GetActiveViewersOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/viewers/playback", wrapper.GetPlaybackClients)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/viewers/playback", wrapper.GetPlaybackClientsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/hardwarestats", wrapper.GetHardwareStats)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/hardwarestats", wrapper.GetHardwareStatsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/chat/clients", wrapper.GetConnectedChatClients)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/clients", wrapper.GetConnectedChatClientsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/chat/messages", wrapper.GetChatMessagesAdmin)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/messages", wrapper.GetChatMessagesAdminOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/messagevisibility", wrapper.UpdateMessageVisibilityAdminOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/chat/messagevisibility", wrapper.UpdateMessageVisibilityAdmin)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/setenabled", wrapper.UpdateUserEnabledAdminOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/chat/users/setenabled", wrapper.UpdateUserEnabledAdmin)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/chat/users/disabled", wrapper.GetDisabledUsers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/disabled", wrapper.GetDisabledUsersOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/ipbans/create", wrapper.BanIPAddressOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/chat/users/ipbans/create", wrapper.BanIPAddress)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/ipbans/remove", wrapper.UnbanIPAddressOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/chat/users/ipbans/remove", wrapper.UnbanIPAddress)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/chat/users/ipbans", wrapper.GetIPAddressBans)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/ipbans", wrapper.GetIPAddressBansOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/setmoderator", wrapper.UpdateUserModeratorOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/chat/users/setmoderator", wrapper.UpdateUserModerator)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/chat/users/moderators", wrapper.GetModerators)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/chat/users/moderators", wrapper.GetModeratorsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/users", wrapper.GetUsers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/users", wrapper.GetUsersOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/users/delete", wrapper.DeleteUserOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/users/delete", wrapper.DeleteUser)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/logs", wrapper.GetLogs)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/logs", wrapper.GetLogsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/logs/warnings", wrapper.GetWarnings)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/logs/warnings", wrapper.GetWarningsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/followers", wrapper.GetFollowersAdmin)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/followers", wrapper.GetFollowersAdminOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/followers/pending", wrapper.GetPendingFollowRequests)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/followers/pending", wrapper.GetPendingFollowRequestsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/followers/blocked", wrapper.GetBlockedAndRejectedFollowers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/followers/blocked", wrapper.GetBlockedAndRejectedFollowersOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/followers/directory", wrapper.GetDirectoryFollowers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/followers/directory", wrapper.GetDirectoryFollowersOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/followers/approve", wrapper.ApproveFollowerOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/followers/approve", wrapper.ApproveFollower)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/followers/remove", wrapper.RemoveFollowerOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/followers/remove", wrapper.RemoveFollower)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/emoji/upload", wrapper.UploadCustomEmojiOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/emoji/upload", wrapper.UploadCustomEmoji)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/emoji/delete", wrapper.DeleteCustomEmojiOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/emoji/delete", wrapper.DeleteCustomEmoji)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/adminpass", wrapper.SetAdminPasswordOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/adminpass", wrapper.SetAdminPassword)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/streamkeys", wrapper.SetStreamKeysOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/streamkeys", wrapper.SetStreamKeys)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/pagecontent", wrapper.SetExtraPageContentOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/pagecontent", wrapper.SetExtraPageContent)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/streamtitle", wrapper.SetStreamTitleOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/streamtitle", wrapper.SetStreamTitle)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/name", wrapper.SetServerNameOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/name", wrapper.SetServerName)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/serversummary", wrapper.SetServerSummaryOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/serversummary", wrapper.SetServerSummary)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/offlinemessage", wrapper.SetCustomOfflineMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/offlinemessage", wrapper.SetCustomOfflineMessage)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/welcomemessage", wrapper.SetServerWelcomeMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/welcomemessage", wrapper.SetServerWelcomeMessage)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/disable", wrapper.SetChatDisabledOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/disable", wrapper.SetChatDisabled)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/joinmessagesenabled", wrapper.SetChatJoinMessagesEnabledOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/joinmessagesenabled", wrapper.SetChatJoinMessagesEnabled)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/establishedusermode", wrapper.SetEnableEstablishedChatUserModeOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/establishedusermode", wrapper.SetEnableEstablishedChatUserMode)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/forbiddenusernames", wrapper.SetForbiddenUsernameListOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/forbiddenusernames", wrapper.SetForbiddenUsernameList)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/suggestedusernames", wrapper.SetSuggestedUsernameListOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/suggestedusernames", wrapper.SetSuggestedUsernameList)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/spamprotectionenabled", wrapper.SetChatSpamProtectionEnabledOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/spamprotectionenabled", wrapper.SetChatSpamProtectionEnabled)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/slurfilterenabled", wrapper.SetChatSlurFilterEnabledOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/slurfilterenabled", wrapper.SetChatSlurFilterEnabled)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/chat/requireauthentication", wrapper.SetChatRequireAuthenticationOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/chat/requireauthentication", wrapper.SetChatRequireAuthentication)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/video/codec", wrapper.SetVideoCodecOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/video/codec", wrapper.SetVideoCodec)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/video/streamlatencylevel", wrapper.SetStreamLatencyLevelOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/video/streamlatencylevel", wrapper.SetStreamLatencyLevel)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/video/streamoutputvariants", wrapper.SetStreamOutputVariantsOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/video/streamoutputvariants", wrapper.SetStreamOutputVariants)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/appearance", wrapper.SetCustomColorVariableValuesOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/appearance", wrapper.SetCustomColorVariableValues)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/logo", wrapper.SetLogoOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/logo", wrapper.SetLogo)
})
r.Group(func(r chi.Router) {
r.Delete(options.BaseURL+"/admin/config/favicon", wrapper.ResetFavicon)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/favicon", wrapper.SetFaviconOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/favicon", wrapper.SetFavicon)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/tags", wrapper.SetTagsOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/tags", wrapper.SetTags)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/ffmpegpath", wrapper.SetFfmpegPathOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/ffmpegpath", wrapper.SetFfmpegPath)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/webserverport", wrapper.SetWebServerPortOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/webserverport", wrapper.SetWebServerPort)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/webserverip", wrapper.SetWebServerIPOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/webserverip", wrapper.SetWebServerIP)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/rtmpserverport", wrapper.SetRTMPServerPortOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/rtmpserverport", wrapper.SetRTMPServerPort)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/rtmpserverbindaddress", wrapper.SetRTMPServerBindAddressOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/rtmpserverbindaddress", wrapper.SetRTMPServerBindAddress)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/sockethostoverride", wrapper.SetSocketHostOverrideOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/sockethostoverride", wrapper.SetSocketHostOverride)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/videoservingendpoint", wrapper.SetVideoServingEndpointOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/videoservingendpoint", wrapper.SetVideoServingEndpoint)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/nsfw", wrapper.SetNSFWOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/nsfw", wrapper.SetNSFW)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/autoplay", wrapper.SetAutoplayOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/autoplay", wrapper.SetAutoplay)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/directoryenabled", wrapper.SetDirectoryEnabledOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/directoryenabled", wrapper.SetDirectoryEnabled)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/socialhandles", wrapper.SetSocialHandlesOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/socialhandles", wrapper.SetSocialHandles)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/s3", wrapper.SetS3ConfigurationOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/s3", wrapper.SetS3Configuration)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/serverurl", wrapper.SetServerURLOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/serverurl", wrapper.SetServerURL)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/externalactions", wrapper.SetExternalActionsOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/externalactions", wrapper.SetExternalActions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/customstyles", wrapper.SetCustomStylesOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/customstyles", wrapper.SetCustomStyles)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/customjavascript", wrapper.SetCustomJavascriptOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/customjavascript", wrapper.SetCustomJavascript)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/hideviewercount", wrapper.SetHideViewerCountOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/hideviewercount", wrapper.SetHideViewerCount)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/disablesearchindexing", wrapper.SetDisableSearchIndexingOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/disablesearchindexing", wrapper.SetDisableSearchIndexing)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/enable", wrapper.SetFederationEnabledOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/enable", wrapper.SetFederationEnabled)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/private", wrapper.SetFederationActivityPrivateOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/private", wrapper.SetFederationActivityPrivate)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/showengagement", wrapper.SetFederationShowEngagementOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/showengagement", wrapper.SetFederationShowEngagement)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/enablequotes", wrapper.SetFederationEnableQuotesOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/enablequotes", wrapper.SetFederationEnableQuotes)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/hidefollowers", wrapper.SetFederationHideFollowersTabOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/hidefollowers", wrapper.SetFederationHideFollowersTab)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/username", wrapper.SetFederationUsernameOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/username", wrapper.SetFederationUsername)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/livemessage", wrapper.SetFederationGoLiveMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/livemessage", wrapper.SetFederationGoLiveMessage)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/federation/blockdomains", wrapper.SetFederationBlockDomainsOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/federation/blockdomains", wrapper.SetFederationBlockDomains)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/federation/servers", wrapper.GetFederatedServers)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/federation/servers", wrapper.GetAdminFederatedServers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/federation/servers", wrapper.AddFederatedServerOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/federation/servers", wrapper.AddFederatedServer)
})
r.Group(func(r chi.Router) {
r.Delete(options.BaseURL+"/admin/federation/servers/{id}", wrapper.RemoveFederatedServer)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/federation/servers/{id}", wrapper.RemoveFederatedServerOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/federation/servers/{id}/reorder", wrapper.ReorderFederatedServerOptions)
})
r.Group(func(r chi.Router) {
r.Put(options.BaseURL+"/admin/federation/servers/{id}/reorder", wrapper.ReorderFederatedServer)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/federation/feature-requests", wrapper.GetFeatureRequests)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/notifications/discord", wrapper.SetDiscordNotificationConfigurationOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/notifications/discord", wrapper.SetDiscordNotificationConfiguration)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/config/notifications/browser", wrapper.SetBrowserNotificationConfigurationOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/config/notifications/browser", wrapper.SetBrowserNotificationConfiguration)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/webhooks", wrapper.GetWebhooks)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/webhooks", wrapper.GetWebhooksOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/webhooks/delete", wrapper.DeleteWebhookOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/webhooks/delete", wrapper.DeleteWebhook)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/webhooks/create", wrapper.CreateWebhookOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/webhooks/create", wrapper.CreateWebhook)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/accesstokens", wrapper.GetExternalAPIUsers)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/accesstokens", wrapper.GetExternalAPIUsersOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/accesstokens/delete", wrapper.DeleteExternalAPIUserOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/accesstokens/delete", wrapper.DeleteExternalAPIUser)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/accesstokens/create", wrapper.CreateExternalAPIUserOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/accesstokens/create", wrapper.CreateExternalAPIUser)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/yp/reset", wrapper.ResetYPRegistrationOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/yp/reset", wrapper.ResetYPRegistration)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/metrics/video", wrapper.GetVideoPlaybackMetrics)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/metrics/video", wrapper.GetVideoPlaybackMetricsOptions)
})
r.Group(func(r chi.Router) {
r.Delete(options.BaseURL+"/admin/prometheus", wrapper.DeletePrometheusAPI)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/prometheus", wrapper.GetPrometheusAPI)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/prometheus", wrapper.OptionsPrometheusAPI)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/prometheus", wrapper.PostPrometheusAPI)
})
r.Group(func(r chi.Router) {
r.Put(options.BaseURL+"/admin/prometheus", wrapper.PutPrometheusAPI)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/federation/send", wrapper.SendFederatedMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/admin/federation/send", wrapper.SendFederatedMessage)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/admin/federation/actions", wrapper.GetFederatedActions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/admin/federation/actions", wrapper.GetFederatedActionsOptions)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat/system", wrapper.SendSystemMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/chat/system", wrapper.SendSystemMessage)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat/system/client/{clientId}", wrapper.SendSystemMessageToConnectedClientOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/chat/system/client/{clientId}", wrapper.SendSystemMessageToConnectedClient)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat/user", wrapper.SendUserMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/chat/user", wrapper.SendUserMessage)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat/send", wrapper.SendIntegrationChatMessageOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/chat/send", wrapper.SendIntegrationChatMessage)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat/action", wrapper.SendChatActionOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/chat/action", wrapper.SendChatAction)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat/messagevisibility", wrapper.ExternalUpdateMessageVisibilityOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/chat/messagevisibility", wrapper.ExternalUpdateMessageVisibility)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/integrations/status", wrapper.ExternalGetStatus)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/streamtitle", wrapper.ExternalSetStreamTitleOptions)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/integrations/streamtitle", wrapper.ExternalSetStreamTitle)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/integrations/chat", wrapper.ExternalGetChatMessages)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/chat", wrapper.ExternalGetChatMessagesOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/integrations/clients", wrapper.ExternalGetConnectedChatClients)
})
r.Group(func(r chi.Router) {
r.Options(options.BaseURL+"/integrations/clients", wrapper.ExternalGetConnectedChatClientsOptions)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/integrations/moderation/chat/user/{userId}", wrapper.ExternalGetUserDetails)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/moderation/chat/user/{userId}", wrapper.GetUserDetails)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/auth/indieauth", wrapper.StartIndieAuthFlow)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/auth/indieauth/callback", wrapper.HandleIndieAuthRedirect)
})
r.Group(func(r chi.Router) {
r.Get(options.BaseURL+"/auth/provider/indieauth", wrapper.HandleIndieAuthEndpointGet)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/auth/provider/indieauth", wrapper.HandleIndieAuthEndpointPost)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/auth/fediverse", wrapper.RegisterFediverseOTPRequest)
})
r.Group(func(r chi.Router) {
r.Post(options.BaseURL+"/auth/fediverse/verify", wrapper.VerifyFediverseOTPRequest)
})
return r
}