Documentation ¶
Index ¶
- func Gallery(g *protomedia.Gallery) gallery.JSONGallery
- func GalleryImage(img *protomedia.StackImage) gallery.Image
- func GalleryImageProto(img gallery.Image) *protomedia.StackImage
- func GalleryProto(g gallery.JSONGallery) *protomedia.Gallery
- func GalleryStack(s *protomedia.Stack) gallery.Stack
- func GalleryStackProto(s gallery.Stack) *protomedia.Stack
- func Shelf(s *protomedia.Shelf) document.JSONShelf
- func ShelfDocument(doc *protomedia.ShelfDocument) document.Document
- func ShelfDocumentProto(doc document.Document) *protomedia.ShelfDocument
- func ShelfProto(s document.JSONShelf) *protomedia.Shelf
- func StorageDocument(doc *protomedia.StorageDocument) media.Document
- func StorageDocumentProto(doc media.Document) *protomedia.StorageDocument
- func StorageFile(f *protomedia.StorageFile) media.File
- func StorageFileProto(f media.File) *protomedia.StorageFile
- func StorageImage(img *protomedia.StorageImage) media.Image
- func StorageImageProto(img media.Image) *protomedia.StorageImage
- func UUID(id *protocommon.UUID) uuid.UUID
- func UUIDProto(id uuid.UUID) *protocommon.UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Gallery ¶
func Gallery(g *protomedia.Gallery) gallery.JSONGallery
func GalleryImage ¶
func GalleryImage(img *protomedia.StackImage) gallery.Image
func GalleryImageProto ¶
func GalleryImageProto(img gallery.Image) *protomedia.StackImage
func GalleryProto ¶
func GalleryProto(g gallery.JSONGallery) *protomedia.Gallery
func GalleryStack ¶
func GalleryStack(s *protomedia.Stack) gallery.Stack
func GalleryStackProto ¶
func GalleryStackProto(s gallery.Stack) *protomedia.Stack
func ShelfDocument ¶
func ShelfDocument(doc *protomedia.ShelfDocument) document.Document
ShelfDocument decodes a Document.
func ShelfDocumentProto ¶
func ShelfDocumentProto(doc document.Document) *protomedia.ShelfDocument
ShelfDocumentProto encodes a Document.
func ShelfProto ¶
func ShelfProto(s document.JSONShelf) *protomedia.Shelf
func StorageDocument ¶
func StorageDocument(doc *protomedia.StorageDocument) media.Document
StorageDocument decodes a Document.
func StorageDocumentProto ¶
func StorageDocumentProto(doc media.Document) *protomedia.StorageDocument
StorageDocumentProto encodes a Document.
func StorageFile ¶
func StorageFile(f *protomedia.StorageFile) media.File
StorageFile decodes a File.
func StorageFileProto ¶
func StorageFileProto(f media.File) *protomedia.StorageFile
StorageFileProto encodes a File.
func StorageImage ¶
func StorageImage(img *protomedia.StorageImage) media.Image
StorageImage decodes an Image.
func StorageImageProto ¶
func StorageImageProto(img media.Image) *protomedia.StorageImage
StorageImageProto encodes an Image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.