Home | History | Annotate | Download | only in net

Lines Matching refs:service

7 // parsePort parses service as a decimal integer and returns the
9 // parse service as a non-decimal integer when needsLookup is true.
15 func parsePort(service string) (port int, needsLookup bool) {
16 if service == "" {
26 if service[0] == '+' {
27 service = service[1:]
28 } else if service[0] == '-' {
30 service = service[1:]
33 for _, d := range service {