writers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSWriter

type FSWriter struct {
	Root string
}

FSWriter is implementation of Writer interface for writing blobs to the file system

func (*FSWriter) Write

func (f *FSWriter) Write(name, path string, docBlob []byte, node *api.Node) error

type Writer

type Writer interface {
	Write(name, path string, resourceContent []byte, node *api.Node) error
}

Writer writes blobs with name to a given path

Jump to

Keyboard shortcuts

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