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

Function RunUnix

ginS/gins.go:150–152  ·  view source on GitHub ↗

RunUnix attaches to a http.Server and starts listening and serving HTTP requests through the specified unix socket (i.e. a file) Note: this method will block the calling goroutine indefinitely unless an error happens.

(file string)

Source from the content-addressed store, hash-verified

148// through the specified unix socket (i.e. a file)
149// Note: this method will block the calling goroutine indefinitely unless an error happens.
150func RunUnix(file string) (err error) {
151 return engine().RunUnix(file)
152}
153
154// RunFd attaches the router to a http.Server and starts listening and serving HTTP requests
155// through the specified file descriptor.

Callers

nothing calls this directly

Calls 1

RunUnixMethod · 0.80

Tested by

no test coverage detected