pkg

package
v0.0.0-...-b1362c9 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GPSFromReader

func GPSFromReader(r io.Reader, opts ...func(*GPSOptions))

func WithDialer

func WithDialer(d proxy.Dialer) func(*GPSOptions)

func WithOutputChannel

func WithOutputChannel(ch chan string) func(*GPSOptions)

func WithOutputSeparator

func WithOutputSeparator(separator string) func(*GPSOptions)

func WithOutputToWriter

func WithOutputToWriter(w io.Writer) func(*GPSOptions)

Types

type GPSOptions

type GPSOptions struct {
	OutputSeparator string
	OutputToWriter  io.Writer
	OutputToChannel chan string
	Dialer          proxy.Dialer
}

type Location

type Location struct {
	Lat string `json:"lat"`
	Lon string `json:"lon"`
}

Jump to

Keyboard shortcuts

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