Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage defines an filesystem resources storage.
func (*Storage) Add ¶
func (s *Storage) Add(ctx context.Context, filename string, mimetype string, reader io.Reader) error
Add saves the resource into the resources system.
Click to show internal directories.
Click to hide internal directories.