mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 18:31:54 +00:00
15 lines
359 B
TypeScript
15 lines
359 B
TypeScript
import { Effects } from "../types"
|
|
import { LocalPort } from "./LocalPort"
|
|
import { TorHostname } from "./TorHostname"
|
|
|
|
export class NetworkBuilder {
|
|
static of(effects: Effects) {
|
|
return new NetworkBuilder(effects)
|
|
}
|
|
private constructor(private effects: Effects) {}
|
|
|
|
getTorHostName(id: string) {
|
|
return new TorHostname(this.effects, id)
|
|
}
|
|
}
|