ServerOption configures a Server.
func(*Server)
| 56 | |
| 57 | // ServerOption configures a Server. |
| 58 | type ServerOption func(*Server) |
| 59 | |
| 60 | // WithPort sets the port for the server. |
| 61 | func WithPort(port int) ServerOption { |
nothing calls this directly
no outgoing calls
no test coverage detected