writer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLWriter

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

Types

type SQLWriter

type SQLWriter struct {
	wof_writer.Writer
	// contains filtered or unexported fields
}

SQLWriter implements the `whosonfirst/go-writer/v3.Writer` interface for `database/sql` compatible Who's On First databases.

func (*SQLWriter) Close

func (wr *SQLWriter) Close(ctx context.Context) error

func (*SQLWriter) Flush

func (wr *SQLWriter) Flush(ctx context.Context) error

func (*SQLWriter) SetLogger

func (wr *SQLWriter) SetLogger(ctx context.Context, logger *log.Logger) error

func (*SQLWriter) Write

func (wr *SQLWriter) Write(ctx context.Context, path string, r io.ReadSeeker) (int64, error)

func (*SQLWriter) WriterURI

func (wr *SQLWriter) WriterURI(ctx context.Context, uri string) string

Jump to

Keyboard shortcuts

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