storage

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Write(string, string) error
	Read(string, int) ([]string, error)
	Destroy(string) error
	Reopen() error
}

Adapter is an interface for pluggable components that store log messages.

func NewAdapter

func NewAdapter(storeageAdapterType string, numLines int) (Adapter, error)

NewAdapter returns a pointer to an appropriate implementation of the Adapter interface, as determined by the storeageAdapterType string it is passed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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