storage

package
v0.0.0-...-9677058 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package storage gonna be implementation that stream io processing for memory performance.

Package storage gonna be implementation that stream io processing for memory performance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject(ctx context.Context, env util.Environment, g *inject.Graph, rt interface{})

Inject injects dependencies

Types

type Storage

type Storage interface {
	Write(filename string, data []byte) error
	Read(filename string) ([]byte, error)
	Merge(filename string, data []byte) error
	Files(ptn string) ([]string, error)
}

Storage provides interface for writes some of kinda data.

Jump to

Keyboard shortcuts

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