Documentation
¶
Index ¶
- Constants
- func GetIOWriterFromContext(ctx context.Context) (io.Writer, error)
- func RegisterWriter(ctx context.Context, scheme string, f WriterInitializeFunc) error
- func SetIOWriterWithContext(ctx context.Context, wr io.Writer) (context.Context, error)
- type IOWriter
- type StdoutWriter
- type Writer
- type WriterInitializeFunc
Constants ¶
View Source
const IOWRITER_TARGET_KEY string = "github.com/sfomuseum/go-geojson-geotag#io_writer"
Variables ¶
This section is empty.
Functions ¶
func GetIOWriterFromContext ¶ added in v0.0.12
func RegisterWriter ¶
func RegisterWriter(ctx context.Context, scheme string, f WriterInitializeFunc) error
Types ¶
type StdoutWriter ¶
type StdoutWriter struct {
Writer
}
func (*StdoutWriter) Close ¶ added in v0.0.16
func (wr *StdoutWriter) Close(ctx context.Context) error
func (*StdoutWriter) WriteFeature ¶
func (wr *StdoutWriter) WriteFeature(ctx context.Context, uri string, f *geotag.GeotagFeature) error
Click to show internal directories.
Click to hide internal directories.