adapters

package
v0.0.0-...-ba3ee0b Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVBAdapter

type KVBAdapter struct{}

func NewKVBAdapter

func NewKVBAdapter() *KVBAdapter

func (*KVBAdapter) GetDeparturesForStationID

func (adapter *KVBAdapter) GetDeparturesForStationID(ctx context.Context, stationID int) (domains.Departures, error)

type StationMapperAdapter

type StationMapperAdapter struct{}

func NewStationMapperAdapter

func NewStationMapperAdapter() *StationMapperAdapter

func (*StationMapperAdapter) GetStationIDForName

func (adapter *StationMapperAdapter) GetStationIDForName(ctx context.Context, name string) (int, error)

Jump to

Keyboard shortcuts

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