localstorage

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalStorage

type LocalStorage struct {
	// contains filtered or unexported fields
}

LocalStorage allows saving files to disk

func NewLocalStorage

func NewLocalStorage(logger logger.Logger) *LocalStorage

NewLocalStorage returns a new LocalStorage instance

func (*LocalStorage) Init

func (ls *LocalStorage) Init(metadata bindings.Metadata) error

Init performs metadata parsing

func (*LocalStorage) Invoke

Invoke is called for output bindings

func (*LocalStorage) Operations

func (ls *LocalStorage) Operations() []bindings.OperationKind

Operations enumerates supported binding operations

type Metadata

type Metadata struct {
	RootPath string `json:"rootPath"`
}

Metadata defines the metadata

Jump to

Keyboard shortcuts

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