Versions in this module Expand all Collapse all v0 v0.15.1 Jul 8, 2026 v0.15.0 Jul 8, 2026 Changes in this version + func FormatNPTTime(d time.Duration) string + type Clip struct + Begin *time.Duration + End *time.Duration + func (c Clip) MediaFragment() string + type GuidedNavigationDescription struct + AudioRef url.URL + ImgRef url.URL + Text GuidedNavigationText + TextRef url.URL + VideoRef url.URL + func NewTextDescription(text string) GuidedNavigationDescription + func (d *GuidedNavigationDescription) UnmarshalJSON(data []byte) error + func (d GuidedNavigationDescription) AudioClip() *Clip + func (d GuidedNavigationDescription) AudioFile() url.URL + func (d GuidedNavigationDescription) Empty() bool + func (d GuidedNavigationDescription) ImageFile() url.URL + func (d GuidedNavigationDescription) ImagePolygon() *Polygon + func (d GuidedNavigationDescription) ImageRegion() *Region + func (d GuidedNavigationDescription) MarshalJSON() ([]byte, error) + func (d GuidedNavigationDescription) TextFile() url.URL + func (d GuidedNavigationDescription) TextFragmentID() string + func (d GuidedNavigationDescription) TextFragments() []TextFragment + func (d GuidedNavigationDescription) VideoClip() *Clip + func (d GuidedNavigationDescription) VideoFile() url.URL + func (d GuidedNavigationDescription) VideoRegion() *Region + type GuidedNavigationDocument struct + Guided []GuidedNavigationObject + Links manifest.LinkList + type GuidedNavigationObject struct + AudioRef url.URL + Children []GuidedNavigationObject + Description GuidedNavigationDescription + ID string + ImgRef url.URL + Role []GuidedNavigationRole + Text GuidedNavigationText + TextRef url.URL + VideoRef url.URL + func (o GuidedNavigationObject) AudioClip() *Clip + func (o GuidedNavigationObject) AudioFile() url.URL + func (o GuidedNavigationObject) ChildrenOnly() bool + func (o GuidedNavigationObject) Empty() bool + func (o GuidedNavigationObject) ImageFile() url.URL + func (o GuidedNavigationObject) ImagePolygon() *Polygon + func (o GuidedNavigationObject) ImageRegion() *Region + func (o GuidedNavigationObject) MarshalJSON() ([]byte, error) + func (o GuidedNavigationObject) TextFile() url.URL + func (o GuidedNavigationObject) TextFragmentID() string + func (o GuidedNavigationObject) TextFragments() []TextFragment + func (o GuidedNavigationObject) TextOnly() bool + func (o GuidedNavigationObject) VideoClip() *Clip + func (o GuidedNavigationObject) VideoFile() url.URL + func (o GuidedNavigationObject) VideoRegion() *Region + type GuidedNavigationRole string + const RoleAbstract + const RoleAcknowledgments + const RoleAfterword + const RoleAppendix + const RoleArticle + const RoleAside + const RoleAudio + const RoleBacklink + const RoleBibliography + const RoleBiblioref + const RoleBlockquote + const RoleBody + const RoleCaption + const RoleCell + const RoleChapter + const RoleColophon + const RoleColumnHeader + const RoleComplementary + const RoleConclusion + const RoleCover + const RoleCredit + const RoleCredits + const RoleDedication + const RoleDefinition + const RoleDetails + const RoleEndnotes + const RoleEpigraph + const RoleEpilogue + const RoleErrata + const RoleExample + const RoleFigure + const RoleFootnote + const RoleForeword + const RoleGlossary + const RoleGlossref + const RoleHeader + const RoleHeading1 + const RoleHeading2 + const RoleHeading3 + const RoleHeading4 + const RoleHeading5 + const RoleHeading6 + const RoleImage + const RoleIndex + const RoleIntroduction + const RoleLandmarks + const RoleList + const RoleListItem + const RoleLoa + const RoleLoi + const RoleLot + const RoleLov + const RoleMain + const RoleMath + const RoleNavigation + const RoleNone + const RoleNoteref + const RoleNotice + const RolePagebreak + const RolePagelist + const RoleParagraph + const RolePart + const RolePreface + const RolePreformatted + const RolePresentation + const RolePrologue + const RolePullquote + const RoleQna + const RoleRegion + const RoleRow + const RoleRowHeader + const RoleSection + const RoleSeparator + const RoleSequence + const RoleSubtitle + const RoleSummary + const RoleTable + const RoleTerm + const RoleTip + const RoleToc + const RoleVideo + type GuidedNavigationText struct + Language string + Plain string + SSML string + func (t *GuidedNavigationText) UnmarshalJSON(data []byte) error + func (t GuidedNavigationText) Empty() bool + func (t GuidedNavigationText) MarshalJSON() ([]byte, error) + type Point struct + X float64 + Y float64 + type Polygon struct + Points []Point + Unit RegionUnit + type Region struct + Height float64 + Unit RegionUnit + Width float64 + X float64 + Y float64 + type RegionUnit string + const RegionUnitPercent + const RegionUnitPixel + type TextFragment struct + Prefix string + Suffix string + TextEnd string + TextStart string