gopherdir

package
v0.0.0-...-5fdec1d Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name string `require:"true"`
}

type FileManager

type FileManager interface {
	GetFileNames(ctx context.Context) ([]File, error)
	CreateFile(ctx context.Context, file io.Reader, filename string) error
	GetFileSystem() fs.FS
}

type UIRenderer

type UIRenderer interface {
	Render(ctx context.Context, files []File, w io.Writer) error
}

UIRenderer is responsible for rendering UI for the application

Jump to

Keyboard shortcuts

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