stories

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildCollectionOptions

type BuildCollectionOptions struct {
	Footer           Footer
	Sources          []string
	TemplateFilename string
	TargetDir        string
}

type BuildStorieOptions

type BuildStorieOptions struct {
	Footer           Footer
	TemplateFilename string
	SourceURL        string
	TargetDir        string
}

func (BuildStorieOptions) Template

type Collection

type Collection []Story

func BuildCollection

func BuildCollection(ctx context.Context, opt BuildCollectionOptions) (Collection, error)

func (Collection) RemoveAll

func (c Collection) RemoveAll() error
type Footer stages.Footer

type Story

type Story struct {
	Stage stages.Stage
	Video string
	Hash  string
}

func BuildStory

func BuildStory(ctx context.Context, opt BuildStorieOptions) (Story, error)

func (Story) MoveVideo

func (s Story) MoveVideo(target string) error

func (Story) RemoveAll

func (s Story) RemoveAll() error

func (Story) RemoveStage

func (s Story) RemoveStage() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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