writer

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWriter

func RegisterWriter(ctx context.Context, scheme string, f WriterInitializeFunc) error

Types

type StdoutWriter

type StdoutWriter struct {
	Writer
}

func (*StdoutWriter) WriteFeature

func (wr *StdoutWriter) WriteFeature(ctx context.Context, uri string, f *geotag.GeotagFeature) error

type Writer

type Writer interface {
	WriteFeature(context.Context, string, *geotag.GeotagFeature) error
}

func NewStdoutWriter

func NewStdoutWriter(ctx context.Context, uri string) (Writer, error)

func NewWriter

func NewWriter(ctx context.Context, uri string) (Writer, error)

type WriterInitializeFunc

type WriterInitializeFunc func(ctx context.Context, uri string) (Writer, error)

Jump to

Keyboard shortcuts

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