32 lines
833 B
Swift
32 lines
833 B
Swift
//
|
|
// Network.swift
|
|
// List
|
|
//
|
|
// Created by Saveliy Stavitsky on 7/28/20.
|
|
// Copyright © 2020 List. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum Network {
|
|
enum Model {
|
|
enum Blockchain {}
|
|
enum API {}
|
|
}
|
|
fileprivate static let shared = Service()
|
|
}
|
|
|
|
extension Network.Service {
|
|
enum Blockchain {}
|
|
}
|
|
|
|
extension Network {
|
|
static var cities: Network.Service.Cities { shared.cities }
|
|
static var balance: Network.Service.Balance { shared.balance }
|
|
static var actions: Network.Service.Actions { shared.actions }
|
|
static var table: Network.Service.Table { shared.table }
|
|
static var accounts: Network.Service.Accounts { shared.accounts }
|
|
static var webSockets: Network.Service.WebSockets { shared.webSockets }
|
|
static var graphQL: Network.Service.GraphQL { shared.graphpql }
|
|
}
|