MCPcopy Create free account
hub / github.com/actix/examples / CliArguments

Class CliArguments

http-proxy/src/main.rs:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116#[derive(clap::Parser, Debug)]
117struct CliArguments {
118 listen_addr: String,
119 listen_port: u16,
120 forward_addr: String,
121 forward_port: u16,
122}
123
124#[actix_web::main]
125async fn main() -> io::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected