Start starts given Handler with HTTP(s) server.
(ctx stdContext.Context, h http.Handler)
| 62 | |
| 63 | // Start starts given Handler with HTTP(s) server. |
| 64 | func (sc StartConfig) Start(ctx stdContext.Context, h http.Handler) error { |
| 65 | return sc.start(ctx, h) |
| 66 | } |
| 67 | |
| 68 | // StartTLS starts given Handler with HTTPS server. |
| 69 | // If `certFile` or `keyFile` is `string` the values are treated as file paths. |