libs5-go/metadata/media_meta_links.go

18 lines
342 B
Go
Raw Normal View History

2024-01-05 13:58:13 +00:00
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,
}
}