storage

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2018 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Write(path string) ([]byte, error)
	Read(path string) ([]byte, error)
}

Controller implements the methods required to interact with the WordPress Directories Implemented via external HTTP API and local SVN client

func Init

func Init(cType string) Controller

Init returns a connector used to communicate with the WordPress Directory SVN repositories. Implemented via an external HTTP API or local SVN client

type Local

type Local struct{}

func (*Local) Read

func (l *Local) Read(path string) ([]byte, error)

func (*Local) Write

func (l *Local) Write(path string) ([]byte, error)

Jump to

Keyboard shortcuts

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