# An interface composed of a `name`:`port`
class Interface
# Name of this interface (such as "localhost", "example.org", etc.)
var name: String
# The port to open
var port: Int
redef fun to_s do return "{name}:{port}"
end
lib/nitcorn/server_config.nit:48,1--57,3