backend

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func NewBackend

func NewBackend() (*Backend, error)

func (*Backend) Create

func (b *Backend) Create(namespace string, name string, revision string, resource interface{}) error

func (*Backend) Read

func (b *Backend) Read(namespace string, name string, revision string, resource interface{}) error

func (*Backend) Write

func (b *Backend) Write(root string, rev string, content []byte) error

type Metadata

type Metadata struct {
	Namespace string
	Name      string
	Revision  string
}

Jump to

Keyboard shortcuts

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