Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExists = storageprovider.ErrAlreadyExists
View Source
var ErrIncorrectSnippetType = errors.New("invalid snipppet type/id provided")
View Source
var ErrNotFound = storageprovider.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type SnippetController ¶
type SnippetController interface { NewSnippet(snippet io.Reader, hexuuid string, st types.SnippetType) error FindSnippet(name string, st types.SnippetType) (*Snippet, error) }
func NewS3SnippetController ¶
func NewS3SnippetController(sp *storageprovider.S3Provider) SnippetController
Click to show internal directories.
Click to hide internal directories.