MCPcopy Index your code
hub / github.com/puma/puma-dev / pruneSub

Function pruneSub

dev/app.go:556–563  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

554}
555
556func pruneSub(name string) string {
557 dot := strings.IndexByte(name, '.')
558 if dot == -1 {
559 return ""
560 }
561
562 return name[dot+1:]
563}
564
565func (a *AppPool) FindAppByDomainName(name string) (*App, error) {
566 var (

Callers 1

FindAppByDomainNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected