Files
ttstd-infinite-canvas/backend/internal/app/channel_outbound.go
2026-09-14 01:11:56 +08:00

18 lines
462 B
Go

package app
import (
"net/http"
"net/url"
"time"
)
// ValidateChannelOutboundURL keeps all provider channels on the server-side
// outbound policy. Local desktop endpoints are intentionally unsupported.
func (s *Service) ValidateChannelOutboundURL(rawURL string) (*url.URL, error) {
return ValidateOutboundURL(rawURL)
}
func (s *Service) OutboundHTTPClientForChannel(timeout time.Duration, _ *url.URL) *http.Client {
return OutboundHTTPClient(timeout)
}