// SPDX-License-Identifier: EUPL-1.2 package api // Option configures an Engine during construction. type Option func(*Engine) // WithAddr sets the listen address for the server. func WithAddr(addr string) Option { return func(e *Engine) { e.addr = addr } }