mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-29 23:22:45 +00:00
13 lines
274 B
Go
13 lines
274 B
Go
|
package transport
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"net/url"
|
||
|
)
|
||
|
|
||
|
func (t *transport) Dereference(c context.Context, iri *url.URL) ([]byte, error) {
|
||
|
l := t.log.WithField("func", "Dereference")
|
||
|
l.Debugf("performing GET to %s", iri.String())
|
||
|
return t.sigTransport.Dereference(c, iri)
|
||
|
}
|