Discover Packages
github.com/ruizlenato/smudgelord
internal
modules
medias
downloader
bluesky
package
Version:
v0.0.0-...-0a55d2d
Opens a new window with list of versions in this module.
Published: Nov 6, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AspectRatio struct {
Height int `json:"height"`
Width int `json:"width"`
}
type Author struct {
Handle string `json:"handle"`
DisplayName string `json:"displayName"`
}
type BlueskyData *struct {
Thread Thread `json:"thread"`
}
type Embed struct {
Type string `json:"$type"`
Media Media `json:"media"`
Images []Image `json:"images"`
Playlist *string `json:"playlist"`
Thumbnail *string `json:"thumbnail"`
AspectRatio AspectRatio `json:"aspectRatio"`
}
type Image struct {
Thumb string `json:"thumb"`
Fullsize string `json:"fullsize"`
Alt string `json:"alt"`
AspectRatio AspectRatio `json:"aspectRatio"`
}
type Media struct {
Type string `json:"$type"`
Images []Image `json:"images"`
Playlist string `json:"playlist"`
Thumbnail string `json:"thumbnail"`
}
type Post struct {
URI string `json:"uri"`
Cid string `json:"cid"`
Author Author `json:"author"`
Record Record `json:"record"`
Embed Embed `json:"embed"`
}
type Record struct {
Text string `json:"text"`
}
type Thread struct {
Post Post `json:"post"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.