diff options
Diffstat (limited to 'resources/resource/resourcetypes.go')
-rw-r--r-- | resources/resource/resourcetypes.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/resources/resource/resourcetypes.go b/resources/resource/resourcetypes.go index 206ce8de8..8ab77e436 100644 --- a/resources/resource/resourcetypes.go +++ b/resources/resource/resourcetypes.go @@ -155,11 +155,7 @@ type OpenReadSeekCloser func() (hugio.ReadSeekCloser, error) // ReadSeekCloserResource is a Resource that supports loading its content. type ReadSeekCloserResource interface { MediaType() media.Type - ReadSeekCloserProvider -} - -type ReadSeekCloserProvider interface { - ReadSeekCloser() (hugio.ReadSeekCloser, error) + hugio.ReadSeekCloserProvider } // LengthProvider is a Resource that provides a length |