MCPcopy
hub / github.com/puma/puma-dev / Address

Method Address

dev/app.go:78–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (a *App) Address() string {
79 if a.Port == 0 {
80 return a.Host
81 }
82
83 return fmt.Sprintf("%s:%d", a.Host, a.Port)
84}
85
86func (a *App) Kill(reason string) error {
87 a.eventAdd("killing_app",

Callers 4

watchMethod · 0.95
readProxyMethod · 0.95
ServeHTTPMethod · 0.80
statusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected