# Functions
GetTransactionFromRelay implements GET /_matrix/federation/v1/relay_txn/{userID} This endpoint can be extracted into a separate relay server service.
MakeRelayAPI makes an http.Handler that checks matrix relay authentication.
SendTransactionToRelay implements PUT /_matrix/federation/v1/send_relay/{txnID}/{userID} This endpoint can be extracted into a separate relay server service.
Setup registers HTTP handlers with the given ServeMux.