Documentation ¶ Index ¶ Variables func Delete(ctx context.Context, path string) error func Exist(ctx context.Context, path string) (bool, error) func Load(ctx context.Context, path string) (io.ReadCloser, error) func Register(v Interface) func Save(ctx context.Context, path string, r io.Reader) error type Interface Constants ¶ This section is empty. Variables ¶ View Source var NotFound = errors.New("not found") Functions ¶ func Delete ¶ func Delete(ctx context.Context, path string) error func Exist ¶ func Exist(ctx context.Context, path string) (bool, error) func Load ¶ func Load(ctx context.Context, path string) (io.ReadCloser, error) func Register ¶ func Register(v Interface) func Save ¶ func Save(ctx context.Context, path string, r io.Reader) error Types ¶ type Interface ¶ type Interface interface { Load(context.Context, string) (io.ReadCloser, error) Save(context.Context, string, io.Reader) error Delete(context.Context, string) error Exist(context.Context, string) (bool, error) } Source Files ¶ View all Source files interface.go Directories ¶ Show internal Expand all Path Synopsis mem mini Click to show internal directories. Click to hide internal directories.