mess about with some structure to help w/ deref

This commit is contained in:
tsmethurst 2021-06-25 18:58:19 +02:00
commit f2041f9be3
13 changed files with 594 additions and 402 deletions

View file

@ -0,0 +1,12 @@
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)
}