Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

feat:bind rtmp to specific interface (#4954)

Chitransh3da67c501f41
diff --git a/config/defaults.go b/config/defaults.go
index 2c5a997853..d49879966a 100644
--- a/config/defaults.go
+++ b/config/defaults.go
@@ -32,6 +32,7 @@ type Defaults struct {
Tags []string
RTMPServerPort int
+ RTMPBindAddress string
SegmentsInPlaylist int
SegmentLengthSeconds int
diff --git a/openapi.yaml b/openapi.yaml
index ae66439a4f..2c44e6e53b 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -1933,6 +1933,35 @@ paths:
responses:
'204':
$ref: '#/components/responses/204'
+ /admin/config/rtmpserverbindaddress:
+ post:
+ summary: Update RTMP server bind address
+ operationId: SetRTMPServerBindAddress
+ tags: ['Internal', 'Admin', 'Video']
+ security:
+ - BasicAuth: []
+ requestBody:
+ $ref: '#/components/requestBodies/AdminConfigValue'
+ responses:
+ '200':
+ description: RTMP server bind address updated
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/BaseAPIResponse'
+ '400':
+ $ref: '#/components/responses/400'
+ '401':
+ $ref: '#/components/responses/401BasicAuth'
+ default:
+ $ref: '#/components/responses/Default'
+ options:
+ operationId: SetRTMPServerBindAddressOptions
+ x-internal: true
+ tags: ['Objects', 'Internal', 'Admin', 'Video']
+ responses:
+ '204':
+ $ref: '#/components/responses/204'
/admin/config/sockethostoverride:
post:
summary: Update websocket host override
@@ -4445,6 +4474,8 @@ components:
$ref: '#/components/schemas/AdminVideoSettings'
rtmpServerPort:
type: integer
+ rtmpServerAddress:
+ type: string
webServerPort:
type: integer
chatDisabled:
diff --git a/persistence/configrepository/configkeys.go b/persistence/configrepository/configkeys.go
index 338658dda1..580621177d 100644
--- a/persistence/configrepository/configkeys.go
+++ b/persistence/configrepository/configkeys.go
@@ -14,6 +14,7 @@ const (
httpListenAddressKey = "http_listen_address"
websocketHostOverrideKey = "websocket_host_override"
rtmpPortNumberKey = "rtmp_port_number"
+ rtmpBindAddressKey = "rtmp_bind_address"
serverMetadataTagsKey = "server_metadata_tags"
directoryEnabledKey = "directory_enabled"
directoryRegistrationKeyKey = "directory_registration_key"
diff --git a/persistence/configrepository/configrepository.go b/persistence/configrepository/configrepository.go
index 39c5e551ef..10497bbdf8 100644
--- a/persistence/configrepository/configrepository.go
+++ b/persistence/configrepository/configrepository.go
@@ -35,6 +35,8 @@ type ConfigRepository interface {
SetHTTPListenAddress(address string) error
GetRTMPPortNumber() int
SetRTMPPortNumber(port float64) error
+ GetRTMPBindAddress() string
+ SetRTMPBindAddress(address string) error
GetServerMetadataTags() []string
SetServerMetadataTags(tags []string) error
GetDirectoryEnabled() bool
diff --git a/persistence/configrepository/defaults.go b/persistence/configrepository/defaults.go
index d6a536b9f4..a5e647d3b7 100644
--- a/persistence/configrepository/defaults.go
+++ b/persistence/configrepository/defaults.go
@@ -19,6 +19,7 @@ func (r *SqlConfigRepository) PopulateDefaults() {
_ = r.SetStreamKeys(defaults.StreamKeys)
_ = r.SetHTTPPortNumber(float64(defaults.WebServerPort))
_ = r.SetRTMPPortNumber(float64(defaults.RTMPServerPort))
+ _ = r.SetRTMPBindAddress("0.0.0.0")
_ = r.SetLogoPath(defaults.Logo)
_ = r.SetServerMetadataTags([]string{"owncast", "streaming"})
_ = r.SetServerSummary(defaults.Summary)
diff --git a/persistence/configrepository/sqlconfigrepository.go b/persistence/configrepository/sqlconfigrepository.go
index 276336d20b..e0d955475c 100644
--- a/persistence/configrepository/sqlconfigrepository.go
+++ b/persistence/configrepository/sqlconfigrepository.go
@@ -269,6 +269,20 @@ func (r *SqlConfigRepository) SetRTMPPortNumber(port float64) error {
return r.datastore.SetNumber(rtmpPortNumberKey, port)
}
+// GetRTMPBindAddress will return the server RTMP bind address.
+func (r *SqlConfigRepository) GetRTMPBindAddress() string {
+ address, err := r.datastore.GetString(rtmpBindAddressKey)
+ if err != nil || address == "" {
+ return "0.0.0.0"
+ }
+ return address
+}
+
+// SetRTMPBindAddress will set the server RTMP address.
+func (r *SqlConfigRepository) SetRTMPBindAddress(address string) error {
+ return r.datastore.SetString(rtmpBindAddressKey, address)
+}
+
// GetServerMetadataTags will return the metadata tags.
func (r *SqlConfigRepository) GetServerMetadataTags() []string {
tagsString, err := r.datastore.GetString(serverMetadataTagsKey)
diff --git a/services/rtmp/rtmp.go b/services/rtmp/rtmp.go
index bfd9f214b2..573e82bde2 100644
--- a/services/rtmp/rtmp.go
+++ b/services/rtmp/rtmp.go
@@ -1,9 +1,9 @@
package rtmp
import (
- "fmt"
"io"
"net"
+ "strconv"
"time"
"github.com/nareix/joy5/format/flv"
@@ -23,9 +23,11 @@ func (s *Service) Start(setStreamAsConnected func(*io.PipeReader), setBroadcaste
s.setStreamAsConnected = setStreamAsConnected
s.setBroadcaster = setBroadcaster
+ bindAddr := s.configRepository.GetRTMPBindAddress()
port := s.configRepository.GetRTMPPortNumber()
+ listenAddress := net.JoinHostPort(bindAddr, strconv.Itoa(port))
srv := rtmp.NewServer()
- lis, err := net.Listen("tcp", fmt.Sprintf(":%d", port))
+ lis, err := net.Listen("tcp", listenAddress)
if err != nil {
log.Fatal(err)
}
diff --git a/web/components/admin/EditInstanceDetails2.tsx b/web/components/admin/EditInstanceDetails2.tsx
index d03095e9cc..caf63dfc12 100644
--- a/web/components/admin/EditInstanceDetails2.tsx
+++ b/web/components/admin/EditInstanceDetails2.tsx
@@ -1,6 +1,6 @@
import React, { useState, useContext, useEffect } from 'react';
import { Collapse, Typography } from 'antd';
-import { TEXTFIELD_TYPE_NUMBER, TEXTFIELD_TYPE_PASSWORD, TEXTFIELD_TYPE_URL } from './TextField';
+import { TEXTFIELD_TYPE_NUMBER, TEXTFIELD_TYPE_PASSWORD, TEXTFIELD_TYPE_TEXT, TEXTFIELD_TYPE_URL } from './TextField';
import { TextFieldWithSubmit } from './TextFieldWithSubmit';
import { ServerStatusContext } from '../../utils/server-status-context';
import { AlertMessageContext } from '../../utils/alert-message-context';
@@ -11,6 +11,7 @@ import {
TEXTFIELD_PROPS_ADMIN_PASSWORD,
TEXTFIELD_PROPS_WEB_PORT,
TEXTFIELD_PROPS_VIDEO_SERVING_ENDPOINT,
+ TEXTFIELD_PROPS_RTMP_ADDRESS,
} from '../../utils/config-constants';
import { UpdateArgs } from '../../types/config-section';
import { ResetYP } from './ResetYP';
@@ -32,6 +33,7 @@ export default function EditInstanceDetails() {
yp,
socketHostOverride,
videoServingEndpoint,
+ rtmpServerAddress,
} = serverConfig;
useEffect(() => {
@@ -41,6 +43,7 @@ export default function EditInstanceDetails() {
webServerPort,
socketHostOverride,
videoServingEndpoint,
+ rtmpServerAddress
});
}, [serverConfig]);
@@ -111,6 +114,15 @@ export default function EditInstanceDetails() {
onChange={handleFieldChange}
onSubmit={showConfigurationRestartMessage}
/>
+ <TextFieldWithSubmit
+ fieldName="rtmpServerAddress"
+ {...TEXTFIELD_PROPS_RTMP_ADDRESS}
+ value={formDataValues.rtmpServerAddress}
+ initialValue={rtmpServerAddress}
+ type={TEXTFIELD_TYPE_TEXT}
+ onChange={handleFieldChange}
+ onSubmit={showConfigurationRestartMessage}
+ />
<Collapse className="advanced-settings">
<Panel header="Advanced Settings" key="1">
<Typography.Paragraph>
diff --git a/web/types/config-section.ts b/web/types/config-section.ts
index 910283763d..45a3d6f525 100644
--- a/web/types/config-section.ts
+++ b/web/types/config-section.ts
@@ -138,6 +138,7 @@ export interface ConfigDetails {
ffmpegPath: string;
instanceDetails: ConfigInstanceDetailsFields;
rtmpServerPort: string;
+ rtmpServerAddress: string;
s3: S3Field;
streamKeys: StreamKey[];
streamKeyOverridden: boolean;
diff --git a/web/utils/config-constants.tsx b/web/utils/config-constants.tsx
index bbfe9c6ec8..5ac52bca69 100644
--- a/web/utils/config-constants.tsx
+++ b/web/utils/config-constants.tsx
@@ -28,6 +28,7 @@ const API_LOGO = '/logo';
const API_FAVICON = '/favicon';
const API_NSFW_SWITCH = '/nsfw';
const API_RTMP_PORT = '/rtmpserverport';
+const API_RTMP_ADDRESS = '/rtmpserverbindaddress';
const API_SERVER_SUMMARY = '/serversummary';
const API_SERVER_WELCOME_MESSAGE = '/welcomemessage';
const API_SERVER_NAME = '/name';
@@ -175,6 +176,16 @@ export const TEXTFIELD_PROPS_RTMP_PORT = {
required: true,
hasComplexityRequirements: false,
};
+export const TEXTFIELD_PROPS_RTMP_ADDRESS = {
+ apiPath: API_RTMP_ADDRESS,
+ configPath: '',
+ maxLength: 30,
+ placeholder: '0.0.0.0',
+ label: 'RTMP address',
+ tip: 'What address/interface should accept inbound broadcasts? Default is 0.0.0.0',
+ required: true,
+ hasComplexityRequirements: false,
+};
export const TEXTFIELD_PROPS_INSTANCE_URL = {
apiPath: API_INSTANCE_URL,
configPath: 'yp',
diff --git a/web/utils/server-status-context.tsx b/web/utils/server-status-context.tsx
index ff4897eccb..9fc30b50fd 100644
--- a/web/utils/server-status-context.tsx
+++ b/web/utils/server-status-context.tsx
@@ -28,6 +28,7 @@ const initialServerConfigState: ConfigDetails = {
},
ffmpegPath: '',
rtmpServerPort: '',
+ rtmpServerAddress: '',
webServerPort: '',
socketHostOverride: null,
videoServingEndpoint: '',
diff --git a/webserver/handlers/admin/config.go b/webserver/handlers/admin/config.go
index e431ab9e49..ebe69312a2 100644
--- a/webserver/handlers/admin/config.go
+++ b/webserver/handlers/admin/config.go
@@ -470,6 +470,26 @@ func (a *Admin) SetWebServerIP(w http.ResponseWriter, r *http.Request) {
webutils.WriteSimpleResponse(w, false, "Invalid type or value, IP address must be a string")
}
+// SetRTMPServerBindAddress will handle the web config request to set the inbound RTMP server ip.
+func (a *Admin) SetRTMPServerBindAddress(w http.ResponseWriter, r *http.Request) {
+ if !requirePOST(w, r) {
+ return
+ }
+
+ configValue, success := getValueFromRequest(w, r)
+ if !success {
+ return
+ }
+
+ configRepository := a.configRepository
+ if err := configRepository.SetRTMPBindAddress(configValue.Value.(string)); err != nil {
+ webutils.WriteSimpleResponse(w, false, err.Error())
+ return
+ }
+
+ webutils.WriteSimpleResponse(w, true, "rtmp address set")
+}
+
// SetRTMPServerPort will handle the web config request to set the inbound RTMP port.
func (a *Admin) SetRTMPServerPort(w http.ResponseWriter, r *http.Request) {
if !requirePOST(w, r) {
diff --git a/webserver/handlers/admin/serverConfig.go b/webserver/handlers/admin/serverConfig.go
index 5300402755..2457e2ea6a 100644
--- a/webserver/handlers/admin/serverConfig.go
+++ b/webserver/handlers/admin/serverConfig.go
@@ -58,6 +58,7 @@ func (a *Admin) GetServerConfig(w http.ResponseWriter, r *http.Request) {
WebServerPort: a.cfg.WebServerPort,
WebServerIP: a.cfg.WebServerIP,
RTMPServerPort: configRepository.GetRTMPPortNumber(),
+ RTMPServerAddress: configRepository.GetRTMPBindAddress(),
ChatDisabled: configRepository.GetChatDisabled(),
ChatJoinMessagesEnabled: configRepository.GetChatJoinPartMessagesEnabled(),
SocketHostOverride: configRepository.GetWebsocketOverrideHost(),
@@ -123,6 +124,7 @@ type serverConfigAdminResponse struct {
StreamKeys []generated.StreamKey `json:"streamKeys"`
VideoSettings videoSettings `json:"videoSettings"`
RTMPServerPort int `json:"rtmpServerPort"`
+ RTMPServerAddress string `json:"rtmpServerAddress"`
WebServerPort int `json:"webServerPort"`
ChatDisabled bool `json:"chatDisabled"`
ChatJoinMessagesEnabled bool `json:"chatJoinMessagesEnabled"`
diff --git a/webserver/handlers/configInterface.go b/webserver/handlers/configInterface.go
index 8465c68334..911e20d0a3 100644
--- a/webserver/handlers/configInterface.go
+++ b/webserver/handlers/configInterface.go
@@ -216,6 +216,9 @@ func (s *ServerInterfaceImpl) SetWebServerIPOptions(w http.ResponseWriter, r *ht
s.h.middleware.RequireAdminAuth(s.h.admin.SetWebServerIP)(w, r)
}
+func (s *ServerInterfaceImpl) SetRTMPServerBindAddress(w http.ResponseWriter, r *http.Request) {
+ s.h.middleware.RequireAdminAuth(s.h.admin.SetRTMPServerBindAddress)(w, r)
+}
func (s *ServerInterfaceImpl) SetRTMPServerPort(w http.ResponseWriter, r *http.Request) {
s.h.middleware.RequireAdminAuth(s.h.admin.SetRTMPServerPort)(w, r)
}
@@ -223,6 +226,9 @@ func (s *ServerInterfaceImpl) SetRTMPServerPort(w http.ResponseWriter, r *http.R
func (s *ServerInterfaceImpl) SetRTMPServerPortOptions(w http.ResponseWriter, r *http.Request) {
s.h.middleware.RequireAdminAuth(s.h.admin.SetRTMPServerPort)(w, r)
}
+func (s *ServerInterfaceImpl) SetRTMPServerBindAddressOptions(w http.ResponseWriter, r *http.Request) {
+ s.h.middleware.RequireAdminAuth(s.h.admin.SetRTMPServerBindAddress)(w, r)
+}
func (s *ServerInterfaceImpl) SetSocketHostOverride(w http.ResponseWriter, r *http.Request) {
s.h.middleware.RequireAdminAuth(s.h.admin.SetSocketHostOverride)(w, r)
diff --git a/webserver/handlers/generated/generated-types.gen.go b/webserver/handlers/generated/generated-types.gen.go
index 2b9842402f..b22b2c024d 100644
--- a/webserver/handlers/generated/generated-types.gen.go
+++ b/webserver/handlers/generated/generated-types.gen.go
@@ -99,6 +99,7 @@ type AdminServerConfig struct {
HideViewerCount *bool `json:"hideViewerCount,omitempty"`
InstanceDetails *AdminWebConfig `json:"instanceDetails,omitempty"`
Notifications *AdminNotificationsConfig `json:"notifications,omitempty"`
+ RtmpServerAddress *string `json:"rtmpServerAddress,omitempty"`
RtmpServerPort *int `json:"rtmpServerPort,omitempty"`
S3 *S3Info `json:"s3,omitempty"`
SocketHostOverride *string `json:"socketHostOverride,omitempty"`
@@ -1051,6 +1052,9 @@ type SetCustomOfflineMessageJSONRequestBody = AdminConfigValue
// SetExtraPageContentJSONRequestBody defines body for SetExtraPageContent for application/json ContentType.
type SetExtraPageContentJSONRequestBody = AdminConfigValue
+// SetRTMPServerBindAddressJSONRequestBody defines body for SetRTMPServerBindAddress for application/json ContentType.
+type SetRTMPServerBindAddressJSONRequestBody = AdminConfigValue
+
// SetRTMPServerPortJSONRequestBody defines body for SetRTMPServerPort for application/json ContentType.
type SetRTMPServerPortJSONRequestBody = AdminConfigValue
diff --git a/webserver/handlers/generated/generated.gen.go b/webserver/handlers/generated/generated.gen.go
index 254242aa52..16f57f68b2 100644
--- a/webserver/handlers/generated/generated.gen.go
+++ b/webserver/handlers/generated/generated.gen.go
@@ -282,6 +282,12 @@ type ServerInterface interface {
// (POST /admin/config/pagecontent)
SetExtraPageContent(w http.ResponseWriter, r *http.Request)
+ // (OPTIONS /admin/config/rtmpserverbindaddress)
+ SetRTMPServerBindAddressOptions(w http.ResponseWriter, r *http.Request)
+ // 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)
// Update RTMP post
@@ -1185,6 +1191,17 @@ func (_ Unimplemented) SetExtraPageContent(w http.ResponseWriter, r *http.Reques
w.WriteHeader(http.StatusNotImplemented)
}
+// (OPTIONS /admin/config/rtmpserverbindaddress)
+func (_ Unimplemented) SetRTMPServerBindAddressOptions(w http.ResponseWriter, r *http.Request) {
+ w.WriteHeader(http.StatusNotImplemented)
+}
+
+// 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)
@@ -1959,6 +1976,7 @@ type MiddlewareFunc func(http.Handler) http.Handler
// GetExternalAPIUsers operation middleware
func (siw *ServerInterfaceWrapper) GetExternalAPIUsers(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -1978,6 +1996,7 @@ func (siw *ServerInterfaceWrapper) GetExternalAPIUsers(w http.ResponseWriter, 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)
}))
@@ -1991,6 +2010,7 @@ func (siw *ServerInterfaceWrapper) GetExternalAPIUsersOptions(w http.ResponseWri
// 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)
}))
@@ -2004,6 +2024,7 @@ func (siw *ServerInterfaceWrapper) CreateExternalAPIUserOptions(w http.ResponseW
// CreateExternalAPIUser operation middleware
func (siw *ServerInterfaceWrapper) CreateExternalAPIUser(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2023,6 +2044,7 @@ func (siw *ServerInterfaceWrapper) CreateExternalAPIUser(w http.ResponseWriter,
// 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)
}))
@@ -2036,6 +2058,7 @@ func (siw *ServerInterfaceWrapper) DeleteExternalAPIUserOptions(w http.ResponseW
// DeleteExternalAPIUser operation middleware
func (siw *ServerInterfaceWrapper) DeleteExternalAPIUser(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2055,6 +2078,7 @@ func (siw *ServerInterfaceWrapper) DeleteExternalAPIUser(w http.ResponseWriter,
// GetConnectedChatClients operation middleware
func (siw *ServerInterfaceWrapper) GetConnectedChatClients(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2074,6 +2098,7 @@ func (siw *ServerInterfaceWrapper) GetConnectedChatClients(w http.ResponseWriter
// 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)
}))
@@ -2087,6 +2112,7 @@ func (siw *ServerInterfaceWrapper) GetConnectedChatClientsOptions(w http.Respons
// GetChatMessagesAdmin operation middleware
func (siw *ServerInterfaceWrapper) GetChatMessagesAdmin(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2106,6 +2132,7 @@ func (siw *ServerInterfaceWrapper) GetChatMessagesAdmin(w http.ResponseWriter, 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)
}))
@@ -2119,6 +2146,7 @@ func (siw *ServerInterfaceWrapper) GetChatMessagesAdminOptions(w http.ResponseWr
// 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)
}))
@@ -2132,6 +2160,7 @@ func (siw *ServerInterfaceWrapper) UpdateMessageVisibilityAdminOptions(w http.Re
// UpdateMessageVisibilityAdmin operation middleware
func (siw *ServerInterfaceWrapper) UpdateMessageVisibilityAdmin(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2151,6 +2180,7 @@ func (siw *ServerInterfaceWrapper) UpdateMessageVisibilityAdmin(w http.ResponseW
// GetDisabledUsers operation middleware
func (siw *ServerInterfaceWrapper) GetDisabledUsers(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2170,6 +2200,7 @@ func (siw *ServerInterfaceWrapper) GetDisabledUsers(w http.ResponseWriter, r *ht
// 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)
}))
@@ -2183,6 +2214,7 @@ func (siw *ServerInterfaceWrapper) GetDisabledUsersOptions(w http.ResponseWriter
// GetIPAddressBans operation middleware
func (siw *ServerInterfaceWrapper) GetIPAddressBans(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2202,6 +2234,7 @@ func (siw *ServerInterfaceWrapper) GetIPAddressBans(w http.ResponseWriter, r *ht
// 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)
}))
@@ -2215,6 +2248,7 @@ func (siw *ServerInterfaceWrapper) GetIPAddressBansOptions(w http.ResponseWriter
// 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)
}))
@@ -2228,6 +2262,7 @@ func (siw *ServerInterfaceWrapper) BanIPAddressOptions(w http.ResponseWriter, r
// BanIPAddress operation middleware
func (siw *ServerInterfaceWrapper) BanIPAddress(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2247,6 +2282,7 @@ func (siw *ServerInterfaceWrapper) BanIPAddress(w http.ResponseWriter, r *http.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)
}))
@@ -2260,6 +2296,7 @@ func (siw *ServerInterfaceWrapper) UnbanIPAddressOptions(w http.ResponseWriter,
// UnbanIPAddress operation middleware
func (siw *ServerInterfaceWrapper) UnbanIPAddress(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2279,6 +2316,7 @@ func (siw *ServerInterfaceWrapper) UnbanIPAddress(w http.ResponseWriter, r *http
// GetModerators operation middleware
func (siw *ServerInterfaceWrapper) GetModerators(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2298,6 +2336,7 @@ func (siw *ServerInterfaceWrapper) GetModerators(w http.ResponseWriter, r *http.
// 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)
}))
@@ -2311,6 +2350,7 @@ func (siw *ServerInterfaceWrapper) GetModeratorsOptions(w http.ResponseWriter, 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)
}))
@@ -2324,6 +2364,7 @@ func (siw *ServerInterfaceWrapper) UpdateUserEnabledAdminOptions(w http.Response
// UpdateUserEnabledAdmin operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserEnabledAdmin(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2343,6 +2384,7 @@ func (siw *ServerInterfaceWrapper) UpdateUserEnabledAdmin(w http.ResponseWriter,
// 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)
}))
@@ -2356,6 +2398,7 @@ func (siw *ServerInterfaceWrapper) UpdateUserModeratorOptions(w http.ResponseWri
// UpdateUserModerator operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserModerator(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2375,6 +2418,7 @@ func (siw *ServerInterfaceWrapper) UpdateUserModerator(w http.ResponseWriter, 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)
}))
@@ -2388,6 +2432,7 @@ func (siw *ServerInterfaceWrapper) SetAdminPasswordOptions(w http.ResponseWriter
// SetAdminPassword operation middleware
func (siw *ServerInterfaceWrapper) SetAdminPassword(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2407,6 +2452,7 @@ func (siw *ServerInterfaceWrapper) SetAdminPassword(w http.ResponseWriter, r *ht
// 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)
}))
@@ -2420,6 +2466,7 @@ func (siw *ServerInterfaceWrapper) SetCustomColorVariableValuesOptions(w http.Re
// SetCustomColorVariableValues operation middleware
func (siw *ServerInterfaceWrapper) SetCustomColorVariableValues(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2439,6 +2486,7 @@ func (siw *ServerInterfaceWrapper) SetCustomColorVariableValues(w http.ResponseW
// 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)
}))
@@ -2452,6 +2500,7 @@ func (siw *ServerInterfaceWrapper) SetChatDisabledOptions(w http.ResponseWriter,
// SetChatDisabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatDisabled(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2471,6 +2520,7 @@ func (siw *ServerInterfaceWrapper) SetChatDisabled(w http.ResponseWriter, r *htt
// 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)
}))
@@ -2484,6 +2534,7 @@ func (siw *ServerInterfaceWrapper) SetEnableEstablishedChatUserModeOptions(w htt
// SetEnableEstablishedChatUserMode operation middleware
func (siw *ServerInterfaceWrapper) SetEnableEstablishedChatUserMode(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2503,6 +2554,7 @@ func (siw *ServerInterfaceWrapper) SetEnableEstablishedChatUserMode(w http.Respo
// 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)
}))
@@ -2516,6 +2568,7 @@ func (siw *ServerInterfaceWrapper) SetForbiddenUsernameListOptions(w http.Respon
// SetForbiddenUsernameList operation middleware
func (siw *ServerInterfaceWrapper) SetForbiddenUsernameList(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2535,6 +2588,7 @@ func (siw *ServerInterfaceWrapper) SetForbiddenUsernameList(w http.ResponseWrite
// 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)
}))
@@ -2548,6 +2602,7 @@ func (siw *ServerInterfaceWrapper) SetChatJoinMessagesEnabledOptions(w http.Resp
// SetChatJoinMessagesEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatJoinMessagesEnabled(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2567,6 +2622,7 @@ func (siw *ServerInterfaceWrapper) SetChatJoinMessagesEnabled(w http.ResponseWri
// 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)
}))
@@ -2580,6 +2636,7 @@ func (siw *ServerInterfaceWrapper) SetChatRequireAuthenticationOptions(w http.Re
// SetChatRequireAuthentication operation middleware
func (siw *ServerInterfaceWrapper) SetChatRequireAuthentication(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2599,6 +2656,7 @@ func (siw *ServerInterfaceWrapper) SetChatRequireAuthentication(w http.ResponseW
// 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)
}))
@@ -2612,6 +2670,7 @@ func (siw *ServerInterfaceWrapper) SetChatSlurFilterEnabledOptions(w http.Respon
// SetChatSlurFilterEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatSlurFilterEnabled(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2631,6 +2690,7 @@ func (siw *ServerInterfaceWrapper) SetChatSlurFilterEnabled(w http.ResponseWrite
// 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)
}))
@@ -2644,6 +2704,7 @@ func (siw *ServerInterfaceWrapper) SetChatSpamProtectionEnabledOptions(w http.Re
// SetChatSpamProtectionEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetChatSpamProtectionEnabled(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2663,6 +2724,7 @@ func (siw *ServerInterfaceWrapper) SetChatSpamProtectionEnabled(w http.ResponseW
// 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)
}))
@@ -2676,6 +2738,7 @@ func (siw *ServerInterfaceWrapper) SetSuggestedUsernameListOptions(w http.Respon
// SetSuggestedUsernameList operation middleware
func (siw *ServerInterfaceWrapper) SetSuggestedUsernameList(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2695,6 +2758,7 @@ func (siw *ServerInterfaceWrapper) SetSuggestedUsernameList(w http.ResponseWrite
// 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)
}))
@@ -2708,6 +2772,7 @@ func (siw *ServerInterfaceWrapper) SetCustomJavascriptOptions(w http.ResponseWri
// SetCustomJavascript operation middleware
func (siw *ServerInterfaceWrapper) SetCustomJavascript(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2727,6 +2792,7 @@ func (siw *ServerInterfaceWrapper) SetCustomJavascript(w http.ResponseWriter, 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)
}))
@@ -2740,6 +2806,7 @@ func (siw *ServerInterfaceWrapper) SetCustomStylesOptions(w http.ResponseWriter,
// SetCustomStyles operation middleware
func (siw *ServerInterfaceWrapper) SetCustomStyles(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2759,6 +2826,7 @@ func (siw *ServerInterfaceWrapper) SetCustomStyles(w http.ResponseWriter, r *htt
// 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)
}))
@@ -2772,6 +2840,7 @@ func (siw *ServerInterfaceWrapper) SetDirectoryEnabledOptions(w http.ResponseWri
// SetDirectoryEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetDirectoryEnabled(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2791,6 +2860,7 @@ func (siw *ServerInterfaceWrapper) SetDirectoryEnabled(w http.ResponseWriter, 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)
}))
@@ -2804,6 +2874,7 @@ func (siw *ServerInterfaceWrapper) SetDisableSearchIndexingOptions(w http.Respon
// SetDisableSearchIndexing operation middleware
func (siw *ServerInterfaceWrapper) SetDisableSearchIndexing(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2823,6 +2894,7 @@ func (siw *ServerInterfaceWrapper) SetDisableSearchIndexing(w http.ResponseWrite
// 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)
}))
@@ -2836,6 +2908,7 @@ func (siw *ServerInterfaceWrapper) SetExternalActionsOptions(w http.ResponseWrit
// SetExternalActions operation middleware
func (siw *ServerInterfaceWrapper) SetExternalActions(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2855,6 +2928,7 @@ func (siw *ServerInterfaceWrapper) SetExternalActions(w http.ResponseWriter, r *
// ResetFavicon operation middleware
func (siw *ServerInterfaceWrapper) ResetFavicon(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2874,6 +2948,7 @@ func (siw *ServerInterfaceWrapper) ResetFavicon(w http.ResponseWriter, r *http.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)
}))
@@ -2887,6 +2962,7 @@ func (siw *ServerInterfaceWrapper) SetFaviconOptions(w http.ResponseWriter, r *h
// SetFavicon operation middleware
func (siw *ServerInterfaceWrapper) SetFavicon(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2906,6 +2982,7 @@ func (siw *ServerInterfaceWrapper) SetFavicon(w http.ResponseWriter, r *http.Req
// 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)
}))
@@ -2919,6 +2996,7 @@ func (siw *ServerInterfaceWrapper) SetFederationBlockDomainsOptions(w http.Respo
// SetFederationBlockDomains operation middleware
func (siw *ServerInterfaceWrapper) SetFederationBlockDomains(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2938,6 +3016,7 @@ func (siw *ServerInterfaceWrapper) SetFederationBlockDomains(w http.ResponseWrit
// 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)
}))
@@ -2951,6 +3030,7 @@ func (siw *ServerInterfaceWrapper) SetFederationEnabledOptions(w http.ResponseWr
// SetFederationEnabled operation middleware
func (siw *ServerInterfaceWrapper) SetFederationEnabled(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -2970,6 +3050,7 @@ func (siw *ServerInterfaceWrapper) SetFederationEnabled(w http.ResponseWriter, 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)
}))
@@ -2983,6 +3064,7 @@ func (siw *ServerInterfaceWrapper) SetFederationGoLiveMessageOptions(w http.Resp
// SetFederationGoLiveMessage operation middleware
func (siw *ServerInterfaceWrapper) SetFederationGoLiveMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3002,6 +3084,7 @@ func (siw *ServerInterfaceWrapper) SetFederationGoLiveMessage(w http.ResponseWri
// 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)
}))
@@ -3015,6 +3098,7 @@ func (siw *ServerInterfaceWrapper) SetFederationActivityPrivateOptions(w http.Re
// SetFederationActivityPrivate operation middleware
func (siw *ServerInterfaceWrapper) SetFederationActivityPrivate(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3034,6 +3118,7 @@ func (siw *ServerInterfaceWrapper) SetFederationActivityPrivate(w http.ResponseW
// 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)
}))
@@ -3047,6 +3132,7 @@ func (siw *ServerInterfaceWrapper) SetFederationShowEngagementOptions(w http.Res
// SetFederationShowEngagement operation middleware
func (siw *ServerInterfaceWrapper) SetFederationShowEngagement(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3066,6 +3152,7 @@ func (siw *ServerInterfaceWrapper) SetFederationShowEngagement(w http.ResponseWr
// 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)
}))
@@ -3079,6 +3166,7 @@ func (siw *ServerInterfaceWrapper) SetFederationUsernameOptions(w http.ResponseW
// SetFederationUsername operation middleware
func (siw *ServerInterfaceWrapper) SetFederationUsername(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3098,6 +3186,7 @@ func (siw *ServerInterfaceWrapper) SetFederationUsername(w http.ResponseWriter,
// 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)
}))
@@ -3111,6 +3200,7 @@ func (siw *ServerInterfaceWrapper) SetFfmpegPathOptions(w http.ResponseWriter, r
// SetFfmpegPath operation middleware
func (siw *ServerInterfaceWrapper) SetFfmpegPath(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3130,6 +3220,7 @@ func (siw *ServerInterfaceWrapper) SetFfmpegPath(w http.ResponseWriter, r *http.
// 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)
}))
@@ -3143,6 +3234,7 @@ func (siw *ServerInterfaceWrapper) SetHideViewerCountOptions(w http.ResponseWrit
// SetHideViewerCount operation middleware
func (siw *ServerInterfaceWrapper) SetHideViewerCount(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3162,6 +3254,7 @@ func (siw *ServerInterfaceWrapper) SetHideViewerCount(w http.ResponseWriter, 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)
}))
@@ -3175,6 +3268,7 @@ func (siw *ServerInterfaceWrapper) SetLogoOptions(w http.ResponseWriter, r *http
// SetLogo operation middleware
func (siw *ServerInterfaceWrapper) SetLogo(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3194,6 +3288,7 @@ func (siw *ServerInterfaceWrapper) SetLogo(w http.ResponseWriter, r *http.Reques
// 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)
}))
@@ -3207,6 +3302,7 @@ func (siw *ServerInterfaceWrapper) SetServerNameOptions(w http.ResponseWriter, r
// SetServerName operation middleware
func (siw *ServerInterfaceWrapper) SetServerName(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3226,6 +3322,7 @@ func (siw *ServerInterfaceWrapper) SetServerName(w http.ResponseWriter, r *http.
// 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)
}))
@@ -3239,6 +3336,7 @@ func (siw *ServerInterfaceWrapper) SetBrowserNotificationConfigurationOptions(w
// SetBrowserNotificationConfiguration operation middleware
func (siw *ServerInterfaceWrapper) SetBrowserNotificationConfiguration(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3258,6 +3356,7 @@ func (siw *ServerInterfaceWrapper) SetBrowserNotificationConfiguration(w http.Re
// 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)
}))
@@ -3271,6 +3370,7 @@ func (siw *ServerInterfaceWrapper) SetDiscordNotificationConfigurationOptions(w
// SetDiscordNotificationConfiguration operation middleware
func (siw *ServerInterfaceWrapper) SetDiscordNotificationConfiguration(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3290,6 +3390,7 @@ func (siw *ServerInterfaceWrapper) SetDiscordNotificationConfiguration(w http.Re
// 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)
}))
@@ -3303,6 +3404,7 @@ func (siw *ServerInterfaceWrapper) SetNSFWOptions(w http.ResponseWriter, r *http
// SetNSFW operation middleware
func (siw *ServerInterfaceWrapper) SetNSFW(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3322,6 +3424,7 @@ func (siw *ServerInterfaceWrapper) SetNSFW(w http.ResponseWriter, r *http.Reques
// 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)
}))
@@ -3335,6 +3438,7 @@ func (siw *ServerInterfaceWrapper) SetCustomOfflineMessageOptions(w http.Respons
// SetCustomOfflineMessage operation middleware
func (siw *ServerInterfaceWrapper) SetCustomOfflineMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3354,6 +3458,7 @@ func (siw *ServerInterfaceWrapper) SetCustomOfflineMessage(w http.ResponseWriter
// 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)
}))
@@ -3367,6 +3472,7 @@ func (siw *ServerInterfaceWrapper) SetExtraPageContentOptions(w http.ResponseWri
// SetExtraPageContent operation middleware
func (siw *ServerInterfaceWrapper) SetExtraPageContent(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3384,8 +3490,43 @@ func (siw *ServerInterfaceWrapper) SetExtraPageContent(w http.ResponseWriter, r
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) {
+
+ ctx := r.Context()
+
+ ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
+
+ r = r.WithContext(ctx)
+
+ 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)
}))
@@ -3399,6 +3540,7 @@ func (siw *ServerInterfaceWrapper) SetRTMPServerPortOptions(w http.ResponseWrite
// SetRTMPServerPort operation middleware
func (siw *ServerInterfaceWrapper) SetRTMPServerPort(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3418,6 +3560,7 @@ func (siw *ServerInterfaceWrapper) SetRTMPServerPort(w http.ResponseWriter, r *h
// 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)
}))
@@ -3431,6 +3574,7 @@ func (siw *ServerInterfaceWrapper) SetS3ConfigurationOptions(w http.ResponseWrit
// SetS3Configuration operation middleware
func (siw *ServerInterfaceWrapper) SetS3Configuration(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3450,6 +3594,7 @@ func (siw *ServerInterfaceWrapper) SetS3Configuration(w http.ResponseWriter, 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)
}))
@@ -3463,6 +3608,7 @@ func (siw *ServerInterfaceWrapper) SetServerSummaryOptions(w http.ResponseWriter
// SetServerSummary operation middleware
func (siw *ServerInterfaceWrapper) SetServerSummary(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3482,6 +3628,7 @@ func (siw *ServerInterfaceWrapper) SetServerSummary(w http.ResponseWriter, r *ht
// 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)
}))
@@ -3495,6 +3642,7 @@ func (siw *ServerInterfaceWrapper) SetServerURLOptions(w http.ResponseWriter, r
// SetServerURL operation middleware
func (siw *ServerInterfaceWrapper) SetServerURL(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3514,6 +3662,7 @@ func (siw *ServerInterfaceWrapper) SetServerURL(w http.ResponseWriter, r *http.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)
}))
@@ -3527,6 +3676,7 @@ func (siw *ServerInterfaceWrapper) SetSocialHandlesOptions(w http.ResponseWriter
// SetSocialHandles operation middleware
func (siw *ServerInterfaceWrapper) SetSocialHandles(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3546,6 +3696,7 @@ func (siw *ServerInterfaceWrapper) SetSocialHandles(w http.ResponseWriter, r *ht
// 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)
}))
@@ -3559,6 +3710,7 @@ func (siw *ServerInterfaceWrapper) SetSocketHostOverrideOptions(w http.ResponseW
// SetSocketHostOverride operation middleware
func (siw *ServerInterfaceWrapper) SetSocketHostOverride(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3578,6 +3730,7 @@ func (siw *ServerInterfaceWrapper) SetSocketHostOverride(w http.ResponseWriter,
// 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)
}))
@@ -3591,6 +3744,7 @@ func (siw *ServerInterfaceWrapper) SetStreamKeysOptions(w http.ResponseWriter, r
// SetStreamKeys operation middleware
func (siw *ServerInterfaceWrapper) SetStreamKeys(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3610,6 +3764,7 @@ func (siw *ServerInterfaceWrapper) SetStreamKeys(w http.ResponseWriter, r *http.
// 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)
}))
@@ -3623,6 +3778,7 @@ func (siw *ServerInterfaceWrapper) SetStreamTitleOptions(w http.ResponseWriter,
// SetStreamTitle operation middleware
func (siw *ServerInterfaceWrapper) SetStreamTitle(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3642,6 +3798,7 @@ func (siw *ServerInterfaceWrapper) SetStreamTitle(w http.ResponseWriter, r *http
// 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)
}))
@@ -3655,6 +3812,7 @@ func (siw *ServerInterfaceWrapper) SetTagsOptions(w http.ResponseWriter, r *http
// SetTags operation middleware
func (siw *ServerInterfaceWrapper) SetTags(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3674,6 +3832,7 @@ func (siw *ServerInterfaceWrapper) SetTags(w http.ResponseWriter, r *http.Reques
// 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)
}))
@@ -3687,6 +3846,7 @@ func (siw *ServerInterfaceWrapper) SetVideoCodecOptions(w http.ResponseWriter, r
// SetVideoCodec operation middleware
func (siw *ServerInterfaceWrapper) SetVideoCodec(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3706,6 +3866,7 @@ func (siw *ServerInterfaceWrapper) SetVideoCodec(w http.ResponseWriter, r *http.
// 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)
}))
@@ -3719,6 +3880,7 @@ func (siw *ServerInterfaceWrapper) SetStreamLatencyLevelOptions(w http.ResponseW
// SetStreamLatencyLevel operation middleware
func (siw *ServerInterfaceWrapper) SetStreamLatencyLevel(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3738,6 +3900,7 @@ func (siw *ServerInterfaceWrapper) SetStreamLatencyLevel(w http.ResponseWriter,
// 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)
}))
@@ -3751,6 +3914,7 @@ func (siw *ServerInterfaceWrapper) SetStreamOutputVariantsOptions(w http.Respons
// SetStreamOutputVariants operation middleware
func (siw *ServerInterfaceWrapper) SetStreamOutputVariants(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3770,6 +3934,7 @@ func (siw *ServerInterfaceWrapper) SetStreamOutputVariants(w http.ResponseWriter
// 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)
}))
@@ -3783,6 +3948,7 @@ func (siw *ServerInterfaceWrapper) SetVideoServingEndpointOptions(w http.Respons
// SetVideoServingEndpoint operation middleware
func (siw *ServerInterfaceWrapper) SetVideoServingEndpoint(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3802,6 +3968,7 @@ func (siw *ServerInterfaceWrapper) SetVideoServingEndpoint(w http.ResponseWriter
// 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)
}))
@@ -3815,6 +3982,7 @@ func (siw *ServerInterfaceWrapper) SetWebServerIPOptions(w http.ResponseWriter,
// SetWebServerIP operation middleware
func (siw *ServerInterfaceWrapper) SetWebServerIP(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3834,6 +4002,7 @@ func (siw *ServerInterfaceWrapper) SetWebServerIP(w http.ResponseWriter, r *http
// 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)
}))
@@ -3847,6 +4016,7 @@ func (siw *ServerInterfaceWrapper) SetWebServerPortOptions(w http.ResponseWriter
// SetWebServerPort operation middleware
func (siw *ServerInterfaceWrapper) SetWebServerPort(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3866,6 +4036,7 @@ func (siw *ServerInterfaceWrapper) SetWebServerPort(w http.ResponseWriter, r *ht
// 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)
}))
@@ -3879,6 +4050,7 @@ func (siw *ServerInterfaceWrapper) SetServerWelcomeMessageOptions(w http.Respons
// SetServerWelcomeMessage operation middleware
func (siw *ServerInterfaceWrapper) SetServerWelcomeMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3898,6 +4070,7 @@ func (siw *ServerInterfaceWrapper) SetServerWelcomeMessage(w http.ResponseWriter
// DisconnectInboundConnection operation middleware
func (siw *ServerInterfaceWrapper) DisconnectInboundConnection(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3917,6 +4090,7 @@ func (siw *ServerInterfaceWrapper) DisconnectInboundConnection(w http.ResponseWr
// 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)
}))
@@ -3930,6 +4104,7 @@ func (siw *ServerInterfaceWrapper) DisconnectInboundConnectionOptions(w http.Res
// 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)
}))
@@ -3943,6 +4118,7 @@ func (siw *ServerInterfaceWrapper) DeleteCustomEmojiOptions(w http.ResponseWrite
// DeleteCustomEmoji operation middleware
func (siw *ServerInterfaceWrapper) DeleteCustomEmoji(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3962,6 +4138,7 @@ func (siw *ServerInterfaceWrapper) DeleteCustomEmoji(w http.ResponseWriter, r *h
// 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)
}))
@@ -3975,6 +4152,7 @@ func (siw *ServerInterfaceWrapper) UploadCustomEmojiOptions(w http.ResponseWrite
// UploadCustomEmoji operation middleware
func (siw *ServerInterfaceWrapper) UploadCustomEmoji(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -3994,6 +4172,7 @@ func (siw *ServerInterfaceWrapper) UploadCustomEmoji(w http.ResponseWriter, r *h
// GetFederatedActions operation middleware
func (siw *ServerInterfaceWrapper) GetFederatedActions(w http.ResponseWriter, r *http.Request) {
+
var err error
ctx := r.Context()
@@ -4034,6 +4213,7 @@ func (siw *ServerInterfaceWrapper) GetFederatedActions(w http.ResponseWriter, 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)
}))
@@ -4047,6 +4227,7 @@ func (siw *ServerInterfaceWrapper) GetFederatedActionsOptions(w http.ResponseWri
// GetFeatureRequests operation middleware
func (siw *ServerInterfaceWrapper) GetFeatureRequests(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4066,6 +4247,7 @@ func (siw *ServerInterfaceWrapper) GetFeatureRequests(w http.ResponseWriter, 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)
}))
@@ -4079,6 +4261,7 @@ func (siw *ServerInterfaceWrapper) SendFederatedMessageOptions(w http.ResponseWr
// SendFederatedMessage operation middleware
func (siw *ServerInterfaceWrapper) SendFederatedMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4098,6 +4281,7 @@ func (siw *ServerInterfaceWrapper) SendFederatedMessage(w http.ResponseWriter, 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)
}))
@@ -4111,6 +4295,7 @@ func (siw *ServerInterfaceWrapper) AddFederatedServerOptions(w http.ResponseWrit
// AddFederatedServer operation middleware
func (siw *ServerInterfaceWrapper) AddFederatedServer(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4130,6 +4315,7 @@ func (siw *ServerInterfaceWrapper) AddFederatedServer(w http.ResponseWriter, r *
// RemoveFederatedServer operation middleware
func (siw *ServerInterfaceWrapper) RemoveFederatedServer(w http.ResponseWriter, r *http.Request) {
+
var err error
// ------------- Path parameter "id" -------------
@@ -4160,6 +4346,7 @@ func (siw *ServerInterfaceWrapper) RemoveFederatedServer(w http.ResponseWriter,
// RemoveFederatedServerOptions operation middleware
func (siw *ServerInterfaceWrapper) RemoveFederatedServerOptions(w http.ResponseWriter, r *http.Request) {
+
var err error
// ------------- Path parameter "id" -------------
@@ -4184,6 +4371,7 @@ func (siw *ServerInterfaceWrapper) RemoveFederatedServerOptions(w http.ResponseW
// GetFollowersAdmin operation middleware
func (siw *ServerInterfaceWrapper) GetFollowersAdmin(w http.ResponseWriter, r *http.Request) {
+
var err error
ctx := r.Context()
@@ -4224,6 +4412,7 @@ func (siw *ServerInterfaceWrapper) GetFollowersAdmin(w http.ResponseWriter, r *h
// 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)
}))
@@ -4237,6 +4426,7 @@ func (siw *ServerInterfaceWrapper) GetFollowersAdminOptions(w http.ResponseWrite
// 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)
}))
@@ -4250,6 +4440,7 @@ func (siw *ServerInterfaceWrapper) ApproveFollowerOptions(w http.ResponseWriter,
// ApproveFollower operation middleware
func (siw *ServerInterfaceWrapper) ApproveFollower(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4269,6 +4460,7 @@ func (siw *ServerInterfaceWrapper) ApproveFollower(w http.ResponseWriter, r *htt
// GetBlockedAndRejectedFollowers operation middleware
func (siw *ServerInterfaceWrapper) GetBlockedAndRejectedFollowers(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4288,6 +4480,7 @@ func (siw *ServerInterfaceWrapper) GetBlockedAndRejectedFollowers(w http.Respons
// 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)
}))
@@ -4301,6 +4494,7 @@ func (siw *ServerInterfaceWrapper) GetBlockedAndRejectedFollowersOptions(w http.
// GetPendingFollowRequests operation middleware
func (siw *ServerInterfaceWrapper) GetPendingFollowRequests(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4320,6 +4514,7 @@ func (siw *ServerInterfaceWrapper) GetPendingFollowRequests(w http.ResponseWrite
// 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)
}))
@@ -4365,6 +4560,7 @@ func (siw *ServerInterfaceWrapper) RemoveFollower(w http.ResponseWriter, r *http
// GetHardwareStats operation middleware
func (siw *ServerInterfaceWrapper) GetHardwareStats(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4384,6 +4580,7 @@ func (siw *ServerInterfaceWrapper) GetHardwareStats(w http.ResponseWriter, r *ht
// 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)
}))
@@ -4397,6 +4594,7 @@ func (siw *ServerInterfaceWrapper) GetHardwareStatsOptions(w http.ResponseWriter
// GetLogs operation middleware
func (siw *ServerInterfaceWrapper) GetLogs(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4416,6 +4614,7 @@ func (siw *ServerInterfaceWrapper) GetLogs(w http.ResponseWriter, r *http.Reques
// 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)
}))
@@ -4429,6 +4628,7 @@ func (siw *ServerInterfaceWrapper) GetLogsOptions(w http.ResponseWriter, r *http
// GetWarnings operation middleware
func (siw *ServerInterfaceWrapper) GetWarnings(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4448,6 +4648,7 @@ func (siw *ServerInterfaceWrapper) GetWarnings(w http.ResponseWriter, r *http.Re
// 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)
}))
@@ -4461,6 +4662,7 @@ func (siw *ServerInterfaceWrapper) GetWarningsOptions(w http.ResponseWriter, r *
// GetVideoPlaybackMetrics operation middleware
func (siw *ServerInterfaceWrapper) GetVideoPlaybackMetrics(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4480,6 +4682,7 @@ func (siw *ServerInterfaceWrapper) GetVideoPlaybackMetrics(w http.ResponseWriter
// 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)
}))
@@ -4493,6 +4696,7 @@ func (siw *ServerInterfaceWrapper) GetVideoPlaybackMetricsOptions(w http.Respons
// 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)
}))
@@ -4506,6 +4710,7 @@ func (siw *ServerInterfaceWrapper) DeletePrometheusAPI(w http.ResponseWriter, 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)
}))
@@ -4519,6 +4724,7 @@ func (siw *ServerInterfaceWrapper) GetPrometheusAPI(w http.ResponseWriter, r *ht
// 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)
}))
@@ -4532,6 +4738,7 @@ func (siw *ServerInterfaceWrapper) OptionsPrometheusAPI(w http.ResponseWriter, 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)
}))
@@ -4545,6 +4752,7 @@ func (siw *ServerInterfaceWrapper) PostPrometheusAPI(w http.ResponseWriter, r *h
// 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)
}))
@@ -4558,6 +4766,7 @@ func (siw *ServerInterfaceWrapper) PutPrometheusAPI(w http.ResponseWriter, r *ht
// GetServerConfig operation middleware
func (siw *ServerInterfaceWrapper) GetServerConfig(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4577,6 +4786,7 @@ func (siw *ServerInterfaceWrapper) GetServerConfig(w http.ResponseWriter, r *htt
// 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)
}))
@@ -4590,6 +4800,7 @@ func (siw *ServerInterfaceWrapper) GetServerConfigOptions(w http.ResponseWriter,
// StatusAdmin operation middleware
func (siw *ServerInterfaceWrapper) StatusAdmin(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4609,6 +4820,7 @@ func (siw *ServerInterfaceWrapper) StatusAdmin(w http.ResponseWriter, r *http.Re
// 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)
}))
@@ -4622,6 +4834,7 @@ func (siw *ServerInterfaceWrapper) StatusAdminOptions(w http.ResponseWriter, r *
// AutoUpdateForceQuit operation middleware
func (siw *ServerInterfaceWrapper) AutoUpdateForceQuit(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4641,6 +4854,7 @@ func (siw *ServerInterfaceWrapper) AutoUpdateForceQuit(w http.ResponseWriter, r
// AutoUpdateForceQuitOptions operation middleware
func (siw *ServerInterfaceWrapper) AutoUpdateForceQuitOptions(w http.ResponseWriter, r *http.Request) {
+
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.AutoUpdateForceQuitOptions(w, r)
}))
@@ -4654,6 +4868,7 @@ func (siw *ServerInterfaceWrapper) AutoUpdateForceQuitOptions(w http.ResponseWri
// AutoUpdateOptions operation middleware
func (siw *ServerInterfaceWrapper) AutoUpdateOptions(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4673,6 +4888,7 @@ func (siw *ServerInterfaceWrapper) AutoUpdateOptions(w http.ResponseWriter, r *h
// AutoUpdateOptionsOptions operation middleware
func (siw *ServerInterfaceWrapper) AutoUpdateOptionsOptions(w http.ResponseWriter, r *http.Request) {
+
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.AutoUpdateOptionsOptions(w, r)
}))
@@ -4686,6 +4902,7 @@ func (siw *ServerInterfaceWrapper) AutoUpdateOptionsOptions(w http.ResponseWrite
// AutoUpdateStart operation middleware
func (siw *ServerInterfaceWrapper) AutoUpdateStart(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4705,6 +4922,7 @@ func (siw *ServerInterfaceWrapper) AutoUpdateStart(w http.ResponseWriter, r *htt
// AutoUpdateStartOptions operation middleware
func (siw *ServerInterfaceWrapper) AutoUpdateStartOptions(w http.ResponseWriter, r *http.Request) {
+
handler := http.Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
siw.Handler.AutoUpdateStartOptions(w, r)
}))
@@ -4718,6 +4936,7 @@ func (siw *ServerInterfaceWrapper) AutoUpdateStartOptions(w http.ResponseWriter,
// GetActiveViewers operation middleware
func (siw *ServerInterfaceWrapper) GetActiveViewers(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4737,6 +4956,7 @@ func (siw *ServerInterfaceWrapper) GetActiveViewers(w http.ResponseWriter, r *ht
// 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)
}))
@@ -4750,6 +4970,7 @@ func (siw *ServerInterfaceWrapper) GetActiveViewersOptions(w http.ResponseWriter
// GetViewersOverTime operation middleware
func (siw *ServerInterfaceWrapper) GetViewersOverTime(w http.ResponseWriter, r *http.Request) {
+
var err error
ctx := r.Context()
@@ -4782,6 +5003,7 @@ func (siw *ServerInterfaceWrapper) GetViewersOverTime(w http.ResponseWriter, 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)
}))
@@ -4795,6 +5017,7 @@ func (siw *ServerInterfaceWrapper) GetViewersOverTimeOptions(w http.ResponseWrit
// GetWebhooks operation middleware
func (siw *ServerInterfaceWrapper) GetWebhooks(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4814,6 +5037,7 @@ func (siw *ServerInterfaceWrapper) GetWebhooks(w http.ResponseWriter, r *http.Re
// 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)
}))
@@ -4827,6 +5051,7 @@ func (siw *ServerInterfaceWrapper) GetWebhooksOptions(w http.ResponseWriter, 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)
}))
@@ -4840,6 +5065,7 @@ func (siw *ServerInterfaceWrapper) CreateWebhookOptions(w http.ResponseWriter, r
// CreateWebhook operation middleware
func (siw *ServerInterfaceWrapper) CreateWebhook(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4859,6 +5085,7 @@ func (siw *ServerInterfaceWrapper) CreateWebhook(w http.ResponseWriter, r *http.
// 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)
}))
@@ -4872,6 +5099,7 @@ func (siw *ServerInterfaceWrapper) DeleteWebhookOptions(w http.ResponseWriter, r
// DeleteWebhook operation middleware
func (siw *ServerInterfaceWrapper) DeleteWebhook(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4891,6 +5119,7 @@ func (siw *ServerInterfaceWrapper) DeleteWebhook(w http.ResponseWriter, r *http.
// ResetYPRegistration operation middleware
func (siw *ServerInterfaceWrapper) ResetYPRegistration(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BasicAuthScopes, []string{})
@@ -4910,6 +5139,7 @@ func (siw *ServerInterfaceWrapper) ResetYPRegistration(w http.ResponseWriter, 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)
}))
@@ -4923,6 +5153,7 @@ func (siw *ServerInterfaceWrapper) ResetYPRegistrationOptions(w http.ResponseWri
// RegisterFediverseOTPRequest operation middleware
func (siw *ServerInterfaceWrapper) RegisterFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -4931,6 +5162,7 @@ func (siw *ServerInterfaceWrapper) RegisterFediverseOTPRequest(w http.ResponseWr
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -4955,6 +5187,7 @@ func (siw *ServerInterfaceWrapper) RegisterFediverseOTPRequest(w http.ResponseWr
// 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)
}))
@@ -4968,6 +5201,7 @@ func (siw *ServerInterfaceWrapper) VerifyFediverseOTPRequest(w http.ResponseWrit
// StartIndieAuthFlow operation middleware
func (siw *ServerInterfaceWrapper) StartIndieAuthFlow(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -4976,6 +5210,7 @@ func (siw *ServerInterfaceWrapper) StartIndieAuthFlow(w http.ResponseWriter, r *
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -5000,6 +5235,7 @@ func (siw *ServerInterfaceWrapper) StartIndieAuthFlow(w http.ResponseWriter, r *
// HandleIndieAuthRedirect operation middleware
func (siw *ServerInterfaceWrapper) HandleIndieAuthRedirect(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5008,6 +5244,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthRedirect(w http.ResponseWriter
// ------------- Required query parameter "state" -------------
if paramValue := r.URL.Query().Get("state"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "state"})
return
@@ -5032,6 +5269,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthRedirect(w http.ResponseWriter
// HandleIndieAuthEndpointGet operation middleware
func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWriter, r *http.Request) {
+
var err error
ctx := r.Context()
@@ -5046,6 +5284,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWri
// ------------- Required query parameter "client_id" -------------
if paramValue := r.URL.Query().Get("client_id"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "client_id"})
return
@@ -5060,6 +5299,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWri
// ------------- Required query parameter "redirect_uri" -------------
if paramValue := r.URL.Query().Get("redirect_uri"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "redirect_uri"})
return
@@ -5074,6 +5314,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWri
// ------------- Required query parameter "code_challenge" -------------
if paramValue := r.URL.Query().Get("code_challenge"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "code_challenge"})
return
@@ -5088,6 +5329,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWri
// ------------- Required query parameter "state" -------------
if paramValue := r.URL.Query().Get("state"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "state"})
return
@@ -5112,6 +5354,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointGet(w http.ResponseWri
// 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)
}))
@@ -5125,6 +5368,7 @@ func (siw *ServerInterfaceWrapper) HandleIndieAuthEndpointPost(w http.ResponseWr
// GetChatMessages operation middleware
func (siw *ServerInterfaceWrapper) GetChatMessages(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5133,6 +5377,7 @@ func (siw *ServerInterfaceWrapper) GetChatMessages(w http.ResponseWriter, r *htt
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -5157,6 +5402,7 @@ func (siw *ServerInterfaceWrapper) GetChatMessages(w http.ResponseWriter, r *htt
// UpdateMessageVisibility operation middleware
func (siw *ServerInterfaceWrapper) UpdateMessageVisibility(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5165,6 +5411,7 @@ func (siw *ServerInterfaceWrapper) UpdateMessageVisibility(w http.ResponseWriter
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -5189,6 +5436,7 @@ func (siw *ServerInterfaceWrapper) UpdateMessageVisibility(w http.ResponseWriter
// 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)
}))
@@ -5202,6 +5450,7 @@ func (siw *ServerInterfaceWrapper) RegisterAnonymousChatUserOptions(w http.Respo
// RegisterAnonymousChatUser operation middleware
func (siw *ServerInterfaceWrapper) RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5241,6 +5490,7 @@ func (siw *ServerInterfaceWrapper) RegisterAnonymousChatUser(w http.ResponseWrit
// UpdateUserEnabled operation middleware
func (siw *ServerInterfaceWrapper) UpdateUserEnabled(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5249,6 +5499,7 @@ func (siw *ServerInterfaceWrapper) UpdateUserEnabled(w http.ResponseWriter, r *h
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -5273,6 +5524,7 @@ func (siw *ServerInterfaceWrapper) UpdateUserEnabled(w http.ResponseWriter, r *h
// 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)
}))
@@ -5286,6 +5538,7 @@ func (siw *ServerInterfaceWrapper) GetWebConfig(w http.ResponseWriter, r *http.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)
}))
@@ -5299,6 +5552,7 @@ func (siw *ServerInterfaceWrapper) GetCustomEmojiList(w http.ResponseWriter, 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)
}))
@@ -5312,6 +5566,7 @@ func (siw *ServerInterfaceWrapper) GetFederatedServers(w http.ResponseWriter, r
// GetFollowers operation middleware
func (siw *ServerInterfaceWrapper) GetFollowers(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5346,6 +5601,7 @@ func (siw *ServerInterfaceWrapper) GetFollowers(w http.ResponseWriter, r *http.R
// ExternalGetChatMessages operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetChatMessages(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5365,6 +5621,7 @@ func (siw *ServerInterfaceWrapper) ExternalGetChatMessages(w http.ResponseWriter
// 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)
}))
@@ -5378,6 +5635,7 @@ func (siw *ServerInterfaceWrapper) ExternalGetChatMessagesOptions(w http.Respons
// 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)
}))
@@ -5391,6 +5649,7 @@ func (siw *ServerInterfaceWrapper) SendChatActionOptions(w http.ResponseWriter,
// SendChatAction operation middleware
func (siw *ServerInterfaceWrapper) SendChatAction(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5410,6 +5669,7 @@ func (siw *ServerInterfaceWrapper) SendChatAction(w http.ResponseWriter, r *http
// 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)
}))
@@ -5423,6 +5683,7 @@ func (siw *ServerInterfaceWrapper) ExternalUpdateMessageVisibilityOptions(w http
// ExternalUpdateMessageVisibility operation middleware
func (siw *ServerInterfaceWrapper) ExternalUpdateMessageVisibility(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5442,6 +5703,7 @@ func (siw *ServerInterfaceWrapper) ExternalUpdateMessageVisibility(w http.Respon
// 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)
}))
@@ -5455,6 +5717,7 @@ func (siw *ServerInterfaceWrapper) SendIntegrationChatMessageOptions(w http.Resp
// SendIntegrationChatMessage operation middleware
func (siw *ServerInterfaceWrapper) SendIntegrationChatMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5474,6 +5737,7 @@ func (siw *ServerInterfaceWrapper) SendIntegrationChatMessage(w http.ResponseWri
// 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)
}))
@@ -5487,6 +5751,7 @@ func (siw *ServerInterfaceWrapper) SendSystemMessageOptions(w http.ResponseWrite
// SendSystemMessage operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5506,6 +5771,7 @@ func (siw *ServerInterfaceWrapper) SendSystemMessage(w http.ResponseWriter, r *h
// SendSystemMessageToConnectedClientOptions operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessageToConnectedClientOptions(w http.ResponseWriter, r *http.Request) {
+
var err error
// ------------- Path parameter "clientId" -------------
@@ -5530,6 +5796,7 @@ func (siw *ServerInterfaceWrapper) SendSystemMessageToConnectedClientOptions(w h
// SendSystemMessageToConnectedClient operation middleware
func (siw *ServerInterfaceWrapper) SendSystemMessageToConnectedClient(w http.ResponseWriter, r *http.Request) {
+
var err error
// ------------- Path parameter "clientId" -------------
@@ -5560,6 +5827,7 @@ func (siw *ServerInterfaceWrapper) SendSystemMessageToConnectedClient(w http.Res
// 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)
}))
@@ -5573,6 +5841,7 @@ func (siw *ServerInterfaceWrapper) SendUserMessageOptions(w http.ResponseWriter,
// SendUserMessage operation middleware
func (siw *ServerInterfaceWrapper) SendUserMessage(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5592,6 +5861,7 @@ func (siw *ServerInterfaceWrapper) SendUserMessage(w http.ResponseWriter, r *htt
// ExternalGetConnectedChatClients operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetConnectedChatClients(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5611,6 +5881,7 @@ func (siw *ServerInterfaceWrapper) ExternalGetConnectedChatClients(w http.Respon
// 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)
}))
@@ -5624,6 +5895,7 @@ func (siw *ServerInterfaceWrapper) ExternalGetConnectedChatClientsOptions(w http
// ExternalGetUserDetails operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetUserDetails(w http.ResponseWriter, r *http.Request) {
+
var err error
// ------------- Path parameter "userId" -------------
@@ -5654,6 +5926,7 @@ func (siw *ServerInterfaceWrapper) ExternalGetUserDetails(w http.ResponseWriter,
// ExternalGetStatus operation middleware
func (siw *ServerInterfaceWrapper) ExternalGetStatus(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5673,6 +5946,7 @@ func (siw *ServerInterfaceWrapper) ExternalGetStatus(w http.ResponseWriter, r *h
// 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)
}))
@@ -5686,6 +5960,7 @@ func (siw *ServerInterfaceWrapper) ExternalSetStreamTitleOptions(w http.Response
// ExternalSetStreamTitle operation middleware
func (siw *ServerInterfaceWrapper) ExternalSetStreamTitle(w http.ResponseWriter, r *http.Request) {
+
ctx := r.Context()
ctx = context.WithValue(ctx, BearerAuthScopes, []string{})
@@ -5705,6 +5980,7 @@ func (siw *ServerInterfaceWrapper) ExternalSetStreamTitle(w http.ResponseWriter,
// 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)
}))
@@ -5718,6 +5994,7 @@ func (siw *ServerInterfaceWrapper) ReportPlaybackMetrics(w http.ResponseWriter,
// GetUserDetails operation middleware
func (siw *ServerInterfaceWrapper) GetUserDetails(w http.ResponseWriter, r *http.Request) {
+
var err error
// ------------- Path parameter "userId" -------------
@@ -5735,6 +6012,7 @@ func (siw *ServerInterfaceWrapper) GetUserDetails(w http.ResponseWriter, r *http
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -5759,6 +6037,7 @@ func (siw *ServerInterfaceWrapper) GetUserDetails(w http.ResponseWriter, r *http
// RegisterForLiveNotifications operation middleware
func (siw *ServerInterfaceWrapper) RegisterForLiveNotifications(w http.ResponseWriter, r *http.Request) {
+
var err error
// Parameter object where we will unmarshal all parameters from the context
@@ -5767,6 +6046,7 @@ func (siw *ServerInterfaceWrapper) RegisterForLiveNotifications(w http.ResponseW
// ------------- Required query parameter "accessToken" -------------
if paramValue := r.URL.Query().Get("accessToken"); paramValue != "" {
+
} else {
siw.ErrorHandlerFunc(w, r, &RequiredParamError{ParamName: "accessToken"})
return
@@ -5791,6 +6071,7 @@ func (siw *ServerInterfaceWrapper) RegisterForLiveNotifications(w http.ResponseW
// 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)
}))
@@ -5804,6 +6085,7 @@ func (siw *ServerInterfaceWrapper) Ping(w http.ResponseWriter, r *http.Request)
// 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)
}))
@@ -5817,6 +6099,7 @@ func (siw *ServerInterfaceWrapper) RemoteFollow(w http.ResponseWriter, r *http.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)
}))
@@ -5830,6 +6113,7 @@ func (siw *ServerInterfaceWrapper) GetAllSocialPlatforms(w http.ResponseWriter,
// 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)
}))
@@ -5843,6 +6127,7 @@ func (siw *ServerInterfaceWrapper) GetStatus(w http.ResponseWriter, r *http.Requ
// 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)
}))
@@ -5856,6 +6141,7 @@ func (siw *ServerInterfaceWrapper) GetVideoStreamOutputVariants(w http.ResponseW
// 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)
}))
@@ -6247,6 +6533,12 @@ func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handl
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/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/rtmpserverport", wrapper.SetRTMPServerPortOptions)
})