libs5-go/metadata/web_app_reference.go

16 lines
359 B
Go
Raw Normal View History

2024-01-05 14:02:26 +00:00
package metadata
import "git.lumeweb.com/LumeWeb/libs5-go/encoding"
type WebAppMetadataFileReference struct {
2024-01-05 14:02:58 +00:00
ContentType string
2024-01-05 14:02:26 +00:00
Cid *encoding.CID
}
2024-01-05 14:02:58 +00:00
func NewWebAppMetadataFileReference(cid *encoding.CID, contentType string) *WebAppMetadataFileReference {
2024-01-05 14:02:26 +00:00
return &WebAppMetadataFileReference{
Cid: cid,
ContentType: contentType,
}
}