service

package
v0.0.0-...-f86259b Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FullDateFormat = "2006-01-02T15:04:05.999-07:00"
)

Variables

Functions

This section is empty.

Types

type Writer

type Writer interface {
	WriteRead(entry *entry.Entry) error
	WriteSearch(entry *search.SearchResponse) error
	io.Closer
}

func NewCsvWriter

func NewCsvWriter(wr io.WriteCloser) Writer

func NewJsonWriter

func NewJsonWriter(wr io.WriteCloser) Writer

func NewTextWriter

func NewTextWriter(wr io.WriteCloser) Writer

func NewWriter

func NewWriter(t string, wr io.WriteCloser) (Writer, error)

Jump to

Keyboard shortcuts

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