type Server interface {
// ListenAndServe start the server ListenAndServe(context.Context) error// Port returns the port on which the server listens to Port() string
}
Server provides a similar interfaces as http.Server to start and stop a TCP server.