package
0.0.0-20250117041237-e2de24876479
Repository: https://github.com/ansoncht/flight-microservices.git
Documentation: pkg.go.dev

# Functions

NewFlightFetcher creates a new instance of FlightFetcher with the provided BaseFetcher client.
NewRouteFetcher creates a new instance of RouteFetcher with the provided BaseFetcher client.
ProcessFlights fetches flight data for a specified airport, processes the data to retrieve route information, and sends the flight details to a gRPC client for further processing.

# Structs

FlightFetcher is responsible for fetching flight list from an external API.
RouteFetcher is responsible for fetching route from an external API.

# Interfaces

Fetcher interface for fetching data.