Struct tunapanel::ServerConfig [] [src]

pub struct ServerConfig {
    pub verbose: bool,
    pub listen_on: String,
}

Server configuration.

Fields

Whether to print messages, such as the listen address.

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]

Returns the "default value" for a type. Read more