Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileReader ¶
type FileReader struct {
Reader
// contains filtered or unexported fields
}
func (*FileReader) Read ¶
func (r *FileReader) Read(ctx context.Context, path string) (io.ReadCloser, error)
func (*FileReader) URI ¶
func (r *FileReader) URI(path string) string
type NullReader ¶
type NullReader struct {
Reader
}
func (*NullReader) Read ¶
func (r *NullReader) Read(ctx context.Context, uri string) (io.ReadCloser, error)
func (*NullReader) URI ¶
func (r *NullReader) URI(uri string) string
Click to show internal directories.
Click to hide internal directories.