mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
controller: internal client support for TCP and TLS connections
This commit is contained in:
@ -54,7 +54,7 @@ async fn main() -> Result<()> {
|
||||
|
||||
let args = ControllerArgs::parse();
|
||||
let stream = UnixStream::connect(&args.connection).await?;
|
||||
let transport = KrataClientTransport::new(stream).await?;
|
||||
let transport = KrataClientTransport::from_unix(stream).await?;
|
||||
let client = KrataClient::new(transport).await?;
|
||||
|
||||
match args.command {
|
||||
|
Reference in New Issue
Block a user