You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
294 B

package sriracha
import "io"
// ExtensionAttach defines the interface for extensions that handle attaching
// files when creating a post.
type ExtensionAttach interface {
// Attach handles an uploaded file.
Attach(file io.Reader, size int64, mime string) (*Attachment, error)