{"hierarchy":{"paths":[["doc:\/\/swift-gopher\/documentation\/swift_gopher","doc:\/\/swift-gopher\/documentation\/swift_gopher\/swiftGopher"]]},"metadata":{"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"gopherHostName"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"host","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"port"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"text":"gopherDataDir","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":", "},{"kind":"externalParam","text":"disableSearch"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"disableGophermap"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"text":")","kind":"text"}],"symbolKind":"init","modules":[{"name":"swift-gopher"}],"externalID":"s:12swift_gopher0A6GopherV0B8HostName4host4port0B7DataDir13disableSearch0J9GophermapACSS_SSSiSSS2btcfc","role":"symbol","roleHeading":"Initializer","title":"init(gopherHostName:host:port:gopherDataDir:disableSearch:disableGophermap:)"},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"languages":["swift"],"tokens":[{"kind":"keyword","text":"init"},{"text":"(","kind":"text"},{"text":"gopherHostName","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":" = Option(name: [.short, .long], help: \"Hostname used for generating selectors\"), "},{"text":"host","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":" = Option(name: [.short, .long]), ","kind":"text"},{"kind":"externalParam","text":"port"},{"kind":"text","text":": "},{"text":"Int","preciseIdentifier":"s:Si","kind":"typeIdentifier"},{"text":" = Option(name: [.short, .long]), ","kind":"text"},{"kind":"externalParam","text":"gopherDataDir"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" = Option(name: [.customShort(\"d\"), .long], help: \"Data directory to map\"), ","kind":"text"},{"text":"disableSearch","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":" = Flag(help: \"Disable full-text search feature\"), ","kind":"text"},{"kind":"externalParam","text":"disableGophermap"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":" = Flag(help: \"Disable reading gophermap files to override automatic generation\"))"}]}]}],"sections":[],"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/swift_gopher\/swiftgopher\/init(gopherhostname:host:port:gopherdatadir:disablesearch:disablegophermap:)"]}],"identifier":{"url":"doc:\/\/swift-gopher\/documentation\/swift_gopher\/swiftGopher\/init(gopherHostName:host:port:gopherDataDir:disableSearch:disableGophermap:)","interfaceLanguage":"swift"},"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://swift-gopher/documentation/swift_gopher/swiftGopher":{"title":"swiftGopher","kind":"symbol","navigatorTitle":[{"text":"swiftGopher","kind":"identifier"}],"type":"topic","abstract":[],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"swiftGopher","kind":"identifier"}],"role":"symbol","identifier":"doc:\/\/swift-gopher\/documentation\/swift_gopher\/swiftGopher","url":"\/documentation\/swift_gopher\/swiftgopher"},"doc://swift-gopher/documentation/swift_gopher":{"identifier":"doc:\/\/swift-gopher\/documentation\/swift_gopher","url":"\/documentation\/swift_gopher","abstract":[],"title":"swift-gopher","kind":"symbol","role":"collection","type":"topic"},"doc://swift-gopher/documentation/swift_gopher/swiftGopher/init(gopherHostName:host:port:gopherDataDir:disableSearch:disableGophermap:)":{"type":"topic","identifier":"doc:\/\/swift-gopher\/documentation\/swift_gopher\/swiftGopher\/init(gopherHostName:host:port:gopherDataDir:disableSearch:disableGophermap:)","abstract":[],"fragments":[{"text":"init","kind":"identifier"},{"kind":"text","text":"("},{"text":"gopherHostName","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"text":", ","kind":"text"},{"text":"host","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"port"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"kind":"text","text":", "},{"kind":"externalParam","text":"gopherDataDir"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"disableSearch"},{"kind":"text","text":": "},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"disableGophermap","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Sb","text":"Bool","kind":"typeIdentifier"},{"kind":"text","text":")"}],"kind":"symbol","url":"\/documentation\/swift_gopher\/swiftgopher\/init(gopherhostname:host:port:gopherdatadir:disablesearch:disablegophermap:)","title":"init(gopherHostName:host:port:gopherDataDir:disableSearch:disableGophermap:)","role":"symbol"}}}