people

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Unlicense Imports: 6 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 {
	DwpClient peopleClient
	Cities    map[string]haversine.Coord
	Logger    logging.Logger
}

func (Service) RetrievePeople

func (s Service) RetrievePeople(ctx context.Context) (dwp.People, error)

func (Service) RetrievePeopleByCity

func (s Service) RetrievePeopleByCity(ctx context.Context, city string, distance int) (dwp.People, error)

Jump to

Keyboard shortcuts

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