dmr

package
v0.0.0-...-161b4be Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service represents DMR (Danish Motor Registry).

func NewService

func NewService() *Service

NewService returns a service that can parse DMR data.

func (*Service) LoadNew

func (service *Service) LoadNew(rc io.ReadCloser) (vehicles chan vehicle.Vehicle, done chan bool)

LoadNew loads all new vehicles from DMR and returns them on a channel. It will send True on channel "done" once all vehicles have been processed.

Jump to

Keyboard shortcuts

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