func (s *Server) FederationClient(deployment *docker.Deployment) *gomatrixserverlib.FederationClient {
	f := gomatrixserverlib.NewFederationClient(
		gomatrixserverlib.ServerName(s.ServerName), s.KeyID, s.Priv,
		gomatrixserverlib.WithTransport(&docker.RoundTripper{Deployment: deployment}),
	)
	return f
}
// FederationClient returns a client which will sign requests using this server's key.
//
// The requests will be routed according to the deployment map in `deployment`.
FederationClient returns a client which will sign requests using this server's key.

The requests will be routed according to the deployment map in `deployment`.
// FederationClient returns a client which will sign requests using this server ' s key . // // The requests will be routed according to the deployment map in ` deployment ` .
func (s *Server) FederationClient(deployment *docker.Deployment) *gomatrixserverlib.FederationClient {
	f := gomatrixserverlib.NewFederationClient(
		gomatrixserverlib.ServerName(s.ServerName), s.KeyID, s.Priv,
		gomatrixserverlib.WithTransport(&docker.RoundTripper{Deployment: deployment}),
	)
	return f
}
func ( s * Server ) FederationClient ( deployment * docker . Deployment ) * gomatrixserverlib . FederationClient { f := gomatrixserverlib . NewFederationClient ( gomatrixserverlib . ServerName ( s . ServerName ) , s . KeyID , s . Priv , gomatrixserverlib . WithTransport ( & docker . RoundTripper { Deployment : deployment } ) , ) return f }
FederationClient returns a client which will sign requests using this server's key.
FederationClient returns a client which will sign requests using this server ' s key .