libs5-go/metadata/media_meta_links.go

18 lines
342 B
Go

package metadata
import "git.lumeweb.com/LumeWeb/libs5-go/encoding"
type MediaMetadataLinks struct {
Count int
Head []*encoding.CID
Collapsed []*encoding.CID
Tail []*encoding.CID
}
func NewMediaMetadataLinks(head []*encoding.CID) *MediaMetadataLinks {
return &MediaMetadataLinks{
Count: len(head),
Head: head,
}
}