Server represents an HTTP or HTTPS server.
| 21 | |
| 22 | // Server represents an HTTP or HTTPS server. |
| 23 | type Server interface { |
| 24 | // Start blocks and runs the server. |
| 25 | Start(ctx context.Context) error |
| 26 | } |
| 27 | |
| 28 | // Opts contains the information required to set up the server. |
| 29 | type Opts struct { |
no outgoing calls
no test coverage detected