Impossible to design a protocol at this point. And there's just no way I would take that php scripter fantasy crap as the fundamentum for this lib, no matter how crippled already it is by inherited scripter stupidity.
Signed-off-by: Adam Rocska <adam.rocska@adams.solutions>
This commit is contained in:
parent
cb2b939085
commit
f92a0daf79
|
@ -1,9 +0,0 @@
|
||||||
import Foundation
|
|
||||||
|
|
||||||
public protocol Reader {
|
|
||||||
|
|
||||||
associatedtype Model
|
|
||||||
|
|
||||||
func lookup(_ ip: IpAddress) -> Model
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
import Foundation
|
|
||||||
|
|
||||||
protocol ReaderFileBased: Reader {
|
|
||||||
var metadata: DbMetadata { get }
|
|
||||||
}
|
|
Loading…
Reference in New Issue