Documentation ¶
Index ¶
- type Asset
- type Mention
- type Module
- func (self Module) AsyncAssetDownload(o Parseable) bool
- func (self Module) FetchAssetsHelper(ls []string) map[string]string
- func (self Module) FetchUsersHelper(ls []string) map[string]string
- func (self Module) NotifyMentionsAsync(o Parseable, ls []Mention)
- func (self Module) Parse(o Parseable) error
- func (self Module) ParseAssetTags(o Parseable, tags []Tag) bool
- func (self Module) ParseContentMentions(o Parseable) bool
- func (self Module) ParseMentionTags(o Parseable, tags []Tag) bool
- func (self Module) ParseTags(o Parseable) error
- func (self Module) RegisterOwnAsset(remoteUrl string, o Parseable) *Asset
- type Parseable
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { Id bson.ObjectId `bson:"_id,omitempty" json:"id,omitempty"` Original string `bson:"original" json:"original"` Hosted string `bson:"hosted" json:"hosted"` MD5 string `bson:"hash" json:"hash"` Status string `bson:"status" json:"status"` Created time.Time `bson:"created_at" json:"created_at"` Updated time.Time `bson:"updated_at" json:"updated_at"` }
type Module ¶
type Module struct { Errors *exceptions.ExceptionsModule `inject:""` S3 *s3.Bucket `inject:""` Config *config.Config `inject:""` Notifications *notifications.NotificationsModule `inject:""` Redis *goredis.Redis `inject:""` }
func (Module) AsyncAssetDownload ¶
func (Module) FetchAssetsHelper ¶
func (Module) NotifyMentionsAsync ¶
func (Module) ParseContentMentions ¶
Click to show internal directories.
Click to hide internal directories.