MCPcopy
hub / github.com/gin-gonic/gin / RunFd

Function RunFd

ginS/gins.go:157–159  ·  view source on GitHub ↗

RunFd attaches the router to a http.Server and starts listening and serving HTTP requests through the specified file descriptor. Note: the method will block the calling goroutine indefinitely unless an error happens.

(fd int)

Source from the content-addressed store, hash-verified

155// through the specified file descriptor.
156// Note: the method will block the calling goroutine indefinitely unless an error happens.
157func RunFd(fd int) (err error) {
158 return engine().RunFd(fd)
159}

Callers

nothing calls this directly

Calls 1

RunFdMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…