Documentation ¶
Index ¶
Constants ¶
View Source
const ( PhotoType = AttachmentType("photo") PostType = AttachmentType("post") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment interface { GetType() AttachmentType GetId() uint GetOwnerId() int GetAccessKey() string BuildString() string }
type AttachmentType ¶
type AttachmentType string
type Image ¶
func (*Image) BuildString ¶
func (*Image) GetAccessKey ¶
func (*Image) GetOwnerId ¶
func (*Image) GetType ¶
func (image *Image) GetType() AttachmentType
type Post ¶ added in v1.3.0
func (*Post) BuildString ¶ added in v1.3.0
func (*Post) GetAccessKey ¶ added in v1.3.0
func (*Post) GetOwnerId ¶ added in v1.3.0
func (*Post) GetType ¶ added in v1.3.0
func (post *Post) GetType() AttachmentType
Click to show internal directories.
Click to hide internal directories.