Struct tunapanel::ServerConfig
[−]
[src]
pub struct ServerConfig { pub verbose: bool, pub listen_on: String, }
Server configuration.
Fields
verbose: bool
Whether to print messages, such as the listen address.
listen_on: String
IP address and port on which to listen.
This is a string of the form "127.0.0.1:1337"
.
Use "0.0.0.0:1337"
to listen on all network
interfaces.
Trait Implementations
impl Default for ServerConfig
[src]
fn default() -> ServerConfig
Returns the "default value" for a type. Read more