Documentation ¶
Index ¶
Constants ¶
View Source
const ( MIMEContentDispositionKey = "Content-Disposition" MIMEContentTypeKey = "Content-Type" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audio ¶
type BlockedToken ¶ added in v0.0.4
type BlockedToken struct { ID vo.ID `json:"id,omitempty" bson:"_id,omitempty,inline"` Value string `bson:"value"` BlockedAt time.Time `bson:"blockedAt"` }
func (BlockedToken) GetID ¶ added in v0.0.4
func (r BlockedToken) GetID() vo.ID
type Resource ¶
type Resource struct { ID vo.ID `json:"id" bson:",inline"` Name string `json:"name" bson:"name"` // original filename Filename string `json:"filename" bson:"filename"` // uploaded filename Filepath string `json:"filepath" bson:"filepath"` // path to uploaded file Filetype string `json:"filetype" bson:"filetype"` // filetype Filesize int64 `json:"filesize" bson:"filesize"` // size of uploaded file }
func (Resource) GetFilename ¶ added in v0.0.4
func (Resource) GetFilepath ¶ added in v0.0.4
func (Resource) GetFilesize ¶ added in v0.0.4
func (Resource) GetFiletype ¶ added in v0.0.4
type User ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.