Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { Meta metaComment `json:"meta" bson:"meta"` // contains filtered or unexported fields }
Comment struct contains the media comment field which should be returned in a response.
type MediaType ¶
type MediaType struct { Meta struct { Type string `json:"type" bson:"type"` } `json:"meta" bson:"meta"` }
MediaType defines the field which should be checked type Media.
type Post ¶
type Post struct { Meta metaPost `json:"meta" bson:"meta"` // contains filtered or unexported fields }
Post struct contains the media post field which should be returned in a response.
type ReplyComment ¶
type ReplyComment struct { Meta metaReplyComment `json:"meta" bson:"meta"` // contains filtered or unexported fields }
ReplyComment struct contains the media reply-comment field which should be returned in a response.
type RequestFindByListID ¶
type RequestFindByListID struct {
IDS []string `json:"ids" validate:"required,min=1,max=100" minLength:"1" maxLength:"100" example:"6929046813118876930,6929047870637441025"` // Request body `IDS` are array
}
RequestFindByListID defines the field which should be the request payload.
Click to show internal directories.
Click to hide internal directories.