files

package
v2.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(f File) (io.ReadCloser, error)

Types

type File

type File js.Value

func New

func New(name string, data []byte, mimetype string, lastmod time.Time) File

func NewFromJS

func NewFromJS(file js.Value) File

func (File) LastModified

func (f File) LastModified() time.Time

func (File) MarshalJS

func (f File) MarshalJS() js.Value

func (File) MimeType

func (f File) MimeType() string

func (File) Name

func (f File) Name() string

func (File) Size

func (f File) Size() int

Jump to

Keyboard shortcuts

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