20 lines
390 B
Swift
20 lines
390 B
Swift
|
//
|
||
|
// Service.swift
|
||
|
// Remote
|
||
|
//
|
||
|
// Created by Javier Cicchelli on 13/04/2023.
|
||
|
// Copyright © 2023 Röck+Cöde. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
public protocol Service {
|
||
|
|
||
|
// MARK: Functions
|
||
|
|
||
|
/// Retrieve a set of locations.
|
||
|
/// - Returns: The set of locations represented as a `Location` instances.
|
||
|
func getLocations() async throws -> [Location]
|
||
|
|
||
|
}
|