ptypes

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 Shelf

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.

func UUID

func UUID(id *protocommon.UUID) uuid.UUID

UUID deoodes a UUID.

func UUIDProto

func UUIDProto(id uuid.UUID) *protocommon.UUID

UUIDProto encodes a UUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL