all repos — homestead @ 6148b0c03ac228c1aa85b795fca6a33a0ea1b0fa

Code for my website

storage: allow any read-seekable data as encoded content

Alan Pearce
commit

6148b0c03ac228c1aa85b795fca6a33a0ea1b0fa

parent

64abf5b1a11060b0a559e284a471d7f3a9f0adf2

1 file changed, 2 insertions(+), 3 deletions(-)

changed files
M internal/storage/file.gointernal/storage/file.go
@@ -1,9 +1,8 @@
package storage import ( + "io" "time" - - "go.alanpearce.eu/website/internal/buffer" ) type File struct {
@@ -11,7 +10,7 @@ Path string
ContentType string LastModified time.Time Etag string - Encodings map[string]*buffer.Buffer + Encodings map[string]io.ReadSeeker } func (f *File) AvailableEncodings() []string {