MCPcopy
hub / github.com/labstack/echo / Start

Method Start

server.go:64–66  ·  view source on GitHub ↗

Start starts given Handler with HTTP(s) server.

(ctx stdContext.Context, h http.Handler)

Source from the content-addressed store, hash-verified

62
63// Start starts given Handler with HTTP(s) server.
64func (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.

Calls 1

startMethod · 0.95