===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
influxdb-1.6.4/.hooks/pre-commit-2-
influxdb-1.6.4/.hooks/pre-commit:3:fmtcount=`git ls-files | grep '.go$' | xargs gofmt -l 2>&1 | wc -l`
influxdb-1.6.4/.hooks/pre-commit-4-if [ $fmtcount -gt 0 ]; then
##############################################
influxdb-1.6.4/CHANGELOG.md-2413--	[Issue #988](https://github.com/influxdata/influxdb/issues/988). Check the arguments of `top()` and `bottom()`
influxdb-1.6.4/CHANGELOG.md:2414:-	[Issue #1021](https://github.com/influxdata/influxdb/issues/1021). Make redirecting to standard output and standard error optional instead of going to `/dev/null`. This can now be configured by setting `$STDOUT` in `/etc/default/influxdb`
influxdb-1.6.4/CHANGELOG.md-2415--	[Issue #985](https://github.com/influxdata/influxdb/issues/985). Make sure we drop a shard only when there's no one using it. Otherwise, the shard can be closed when another goroutine is writing to it which will cause random errors and possibly corruption of the database.
##############################################
influxdb-1.6.4/CONTRIBUTING.md-43-
influxdb-1.6.4/CONTRIBUTING.md:44:InfluxDB follows standard Go project structure. This means that all your Go development are done in `$GOPATH/src`. GOPATH can be any directory under which InfluxDB and all its dependencies will be cloned. For full details on the project structure, follow along below.
influxdb-1.6.4/CONTRIBUTING.md-45-
##############################################
influxdb-1.6.4/CONTRIBUTING.md-106-
influxdb-1.6.4/CONTRIBUTING.md:107:You can add the line `export GOPATH=$HOME/gocodez` to your bash/zsh file to be set for every shell instead of having to manually run it everytime.
influxdb-1.6.4/CONTRIBUTING.md-108-
##############################################
influxdb-1.6.4/CONTRIBUTING.md-119-
influxdb-1.6.4/CONTRIBUTING.md:120:Retaining the directory structure `$GOPATH/src/github.com/influxdata` is necessary so that Go imports work correctly.
influxdb-1.6.4/CONTRIBUTING.md-121-
##############################################
influxdb-1.6.4/CONTRIBUTING.md-136-```
influxdb-1.6.4/CONTRIBUTING.md:137:The binaries will be located in `$GOPATH/bin`. Please note that the InfluxDB binary is named `influxd`, not `influxdb`.
influxdb-1.6.4/CONTRIBUTING.md-138-
##############################################
influxdb-1.6.4/CONTRIBUTING.md-144-
influxdb-1.6.4/CONTRIBUTING.md:145:where `$VERSION` is the version, `$BRANCH` is the branch, and `$COMMIT` is the git commit hash.
influxdb-1.6.4/CONTRIBUTING.md-146-
##############################################
influxdb-1.6.4/README.md-24-* `systemctl start influxdb` if you have installed InfluxDB using an official Debian or RPM package, and are running a distro with `systemd`. For example, Ubuntu 15 or later.
influxdb-1.6.4/README.md:25:* `$GOPATH/bin/influxd` if you have built InfluxDB from source.
influxdb-1.6.4/README.md-26-
##############################################
influxdb-1.6.4/client/influxdb.go-806-// Addr provides the current url as a string of the server the client is connected to.
influxdb-1.6.4/client/influxdb.go:807:func (c *Client) Addr() string {
influxdb-1.6.4/client/influxdb.go-808-	if c.unixSocket != "" {
##############################################
influxdb-1.6.4/client/v2/client_test.go-69-
influxdb-1.6.4/client/v2/client_test.go:70:func TestUDPClient_BadAddr(t *testing.T) {
influxdb-1.6.4/client/v2/client_test.go-71-	config := UDPConfig{Addr: "foobar@wahoo"}
##############################################
influxdb-1.6.4/client/v2/udp.go-30-	var udpAddr *net.UDPAddr
influxdb-1.6.4/client/v2/udp.go:31:	udpAddr, err := net.ResolveUDPAddr("udp", conf.Addr)
influxdb-1.6.4/client/v2/udp.go-32-	if err != nil {
##############################################
influxdb-1.6.4/cmd/influx/cli/cli.go-135-		}
influxdb-1.6.4/cmd/influx/cli/cli.go:136:		return fmt.Errorf("Failed to connect to %s: %s\n%s", c.Client.Addr(), err.Error(), msg)
influxdb-1.6.4/cmd/influx/cli/cli.go-137-	}
##############################################
influxdb-1.6.4/cmd/influx/cli/cli.go-193-	if len(c.ServerVersion) == 0 {
influxdb-1.6.4/cmd/influx/cli/cli.go:194:		fmt.Printf("WARN: Connected to %s, but found no server version.\n", c.Client.Addr())
influxdb-1.6.4/cmd/influx/cli/cli.go-195-		fmt.Printf("Are you sure an InfluxDB server is listening at the given address?\n")
influxdb-1.6.4/cmd/influx/cli/cli.go-196-	} else {
influxdb-1.6.4/cmd/influx/cli/cli.go:197:		fmt.Printf("Connected to %s version %s\n", c.Client.Addr(), c.ServerVersion)
influxdb-1.6.4/cmd/influx/cli/cli.go-198-	}
##############################################
influxdb-1.6.4/cmd/integration_config_test.go-27-			c, err := client.NewHTTPClient(client.HTTPConfig{
influxdb-1.6.4/cmd/integration_config_test.go:28:				Addr: "http://" + cmd.BoundHTTPAddr(),
influxdb-1.6.4/cmd/integration_config_test.go-29-			})
##############################################
influxdb-1.6.4/cmd/integration_test.go-69-	cl, err := client.NewHTTPClient(client.HTTPConfig{
influxdb-1.6.4/cmd/integration_test.go:70:		Addr: "http://" + c.BoundHTTPAddr(),
influxdb-1.6.4/cmd/integration_test.go-71-	})
##############################################
influxdb-1.6.4/cmd/integration_test.go-78-// BoundHTTPAddr returns the bind address of the HTTP service, in form "localhost:65432".
influxdb-1.6.4/cmd/integration_test.go:79:func (c *TestRunCommand) BoundHTTPAddr() string {
influxdb-1.6.4/cmd/integration_test.go-80-	for _, s := range c.Command.Server.Services {
influxdb-1.6.4/cmd/integration_test.go-81-		if s, ok := s.(*httpd.Service); ok {
influxdb-1.6.4/cmd/integration_test.go:82:			return s.BoundHTTPAddr()
influxdb-1.6.4/cmd/integration_test.go-83-		}
##############################################
influxdb-1.6.4/importer/v8/importer.go-72-	if _, _, e := i.client.Ping(); e != nil {
influxdb-1.6.4/importer/v8/importer.go:73:		return fmt.Errorf("failed to connect to %s\n", i.client.Addr())
influxdb-1.6.4/importer/v8/importer.go-74-	}
##############################################
influxdb-1.6.4/pkg/deep/equal.go-72-
influxdb-1.6.4/pkg/deep/equal.go:73:	if v1.CanAddr() && v2.CanAddr() && hard(v1.Kind()) {
influxdb-1.6.4/pkg/deep/equal.go:74:		addr1 := v1.UnsafeAddr()
influxdb-1.6.4/pkg/deep/equal.go:75:		addr2 := v2.UnsafeAddr()
influxdb-1.6.4/pkg/deep/equal.go-76-		if addr1 > addr2 {
##############################################
influxdb-1.6.4/scripts/init.sh-45-PIDFILE=/var/run/influxdb/influxd.pid
influxdb-1.6.4/scripts/init.sh:46:PIDDIR=`dirname $PIDFILE`
influxdb-1.6.4/scripts/init.sh-47-if [ ! -d "$PIDDIR" ]; then
##############################################
influxdb-1.6.4/services/collectd/service.go-177-	// Resolve our address.
influxdb-1.6.4/services/collectd/service.go:178:	addr, err := net.ResolveUDPAddr("udp", s.Config.BindAddress)
influxdb-1.6.4/services/collectd/service.go-179-	if err != nil {
##############################################
influxdb-1.6.4/services/collectd/service.go-198-
influxdb-1.6.4/services/collectd/service.go:199:	s.Logger.Info("Listening on UDP", zap.Stringer("addr", conn.LocalAddr()))
influxdb-1.6.4/services/collectd/service.go-200-
##############################################
influxdb-1.6.4/services/collectd/service.go-323-// Addr returns the listener's address. It returns nil if listener is closed.
influxdb-1.6.4/services/collectd/service.go:324:func (s *Service) Addr() net.Addr {
influxdb-1.6.4/services/collectd/service.go:325:	return s.conn.LocalAddr()
influxdb-1.6.4/services/collectd/service.go-326-}
##############################################
influxdb-1.6.4/services/collectd/service_test.go-217-			// Get the address & port the service is listening on for collectd data.
influxdb-1.6.4/services/collectd/service_test.go:218:			addr := s.Service.Addr()
influxdb-1.6.4/services/collectd/service_test.go-219-			conn, err := net.Dial("udp", addr.String())
##############################################
influxdb-1.6.4/services/collectd/service_test.go-284-	// Get the address & port the service is listening on for collectd data.
influxdb-1.6.4/services/collectd/service_test.go:285:	addr := s.Service.Addr()
influxdb-1.6.4/services/collectd/service_test.go-286-	conn, err := net.Dial("udp", addr.String())
##############################################
influxdb-1.6.4/services/collectd/service_test.go-346-	// Get the address & port the service is listening on for collectd data.
influxdb-1.6.4/services/collectd/service_test.go:347:	addr := s.Service.Addr()
influxdb-1.6.4/services/collectd/service_test.go-348-	conn, err := net.Dial("udp", addr.String())
##############################################
influxdb-1.6.4/services/graphite/service.go-307-// Addr returns the address the Service binds to.
influxdb-1.6.4/services/graphite/service.go:308:func (s *Service) Addr() net.Addr {
influxdb-1.6.4/services/graphite/service.go-309-	return s.addr
##############################################
influxdb-1.6.4/services/graphite/service.go-337-	}()
influxdb-1.6.4/services/graphite/service.go:338:	return ln.Addr(), nil
influxdb-1.6.4/services/graphite/service.go-339-}
##############################################
influxdb-1.6.4/services/graphite/service.go-371-	defer s.tcpConnectionsMu.Unlock()
influxdb-1.6.4/services/graphite/service.go:372:	s.tcpConnections[c.RemoteAddr().String()] = &tcpConnection{
influxdb-1.6.4/services/graphite/service.go-373-		conn:        c,
##############################################
influxdb-1.6.4/services/graphite/service.go-379-	defer s.tcpConnectionsMu.Unlock()
influxdb-1.6.4/services/graphite/service.go:380:	delete(s.tcpConnections, c.RemoteAddr().String())
influxdb-1.6.4/services/graphite/service.go-381-}
##############################################
influxdb-1.6.4/services/graphite/service.go-384-func (s *Service) openUDPServer() (net.Addr, error) {
influxdb-1.6.4/services/graphite/service.go:385:	addr, err := net.ResolveUDPAddr("udp", s.bindAddress)
influxdb-1.6.4/services/graphite/service.go-386-	if err != nil {
##############################################
influxdb-1.6.4/services/graphite/service.go-421-	}()
influxdb-1.6.4/services/graphite/service.go:422:	return s.udpConn.LocalAddr(), nil
influxdb-1.6.4/services/graphite/service.go-423-}
##############################################
influxdb-1.6.4/services/graphite/service.go-485-	for _, v := range s.tcpConnections {
influxdb-1.6.4/services/graphite/service.go:486:		d.Rows = append(d.Rows, []interface{}{v.conn.LocalAddr().String(), v.conn.RemoteAddr().String(), v.connectTime})
influxdb-1.6.4/services/graphite/service.go-487-	}
##############################################
influxdb-1.6.4/services/graphite/service_test.go-176-	// Connect to the graphite endpoint we just spun up
influxdb-1.6.4/services/graphite/service_test.go:177:	_, port, _ := net.SplitHostPort(service.Service.Addr().String())
influxdb-1.6.4/services/graphite/service_test.go-178-	conn, err := net.Dial("tcp", "127.0.0.1:"+port)
##############################################
influxdb-1.6.4/services/graphite/service_test.go-237-	// Connect to the graphite endpoint we just spun up
influxdb-1.6.4/services/graphite/service_test.go:238:	_, port, _ := net.SplitHostPort(service.Service.Addr().String())
influxdb-1.6.4/services/graphite/service_test.go-239-	conn, err := net.Dial("udp", "127.0.0.1:"+port)
##############################################
influxdb-1.6.4/services/httpd/listen_test.go-24-func (*fakeListener) Close() error   { return nil }
influxdb-1.6.4/services/httpd/listen_test.go:25:func (*fakeListener) Addr() net.Addr { return nil }
influxdb-1.6.4/services/httpd/listen_test.go-26-
##############################################
influxdb-1.6.4/services/httpd/listen_test.go-36-}
influxdb-1.6.4/services/httpd/listen_test.go:37:func (*fakeConn) LocalAddr() net.Addr              { return nil }
influxdb-1.6.4/services/httpd/listen_test.go:38:func (*fakeConn) RemoteAddr() net.Addr             { return nil }
influxdb-1.6.4/services/httpd/listen_test.go-39-func (*fakeConn) SetDeadline(time.Time) error      { return nil }
##############################################
influxdb-1.6.4/services/httpd/service.go-128-	s.Logger.Info("Listening on HTTP",
influxdb-1.6.4/services/httpd/service.go:129:		zap.Stringer("addr", s.ln.Addr()),
influxdb-1.6.4/services/httpd/service.go-130-		zap.Bool("https", s.https))
##############################################
influxdb-1.6.4/services/httpd/service.go-159-		s.Logger.Info("Listening on unix socket",
influxdb-1.6.4/services/httpd/service.go:160:			zap.Stringer("addr", listener.Addr()))
influxdb-1.6.4/services/httpd/service.go-161-		s.unixSocketListener = listener
##############################################
influxdb-1.6.4/services/httpd/service.go-173-	for {
influxdb-1.6.4/services/httpd/service.go:174:		if s.ln.Addr() != nil {
influxdb-1.6.4/services/httpd/service.go-175-			break
##############################################
influxdb-1.6.4/services/httpd/service.go-216-// Addr returns the listener's address. Returns nil if listener is closed.
influxdb-1.6.4/services/httpd/service.go:217:func (s *Service) Addr() net.Addr {
influxdb-1.6.4/services/httpd/service.go-218-	if s.ln != nil {
influxdb-1.6.4/services/httpd/service.go:219:		return s.ln.Addr()
influxdb-1.6.4/services/httpd/service.go-220-	}
##############################################
influxdb-1.6.4/services/httpd/service.go-230-// This is useful if you start an ephemeral server in test with bind address localhost:0.
influxdb-1.6.4/services/httpd/service.go:231:func (s *Service) BoundHTTPAddr() string {
influxdb-1.6.4/services/httpd/service.go:232:	return s.ln.Addr().String()
influxdb-1.6.4/services/httpd/service.go-233-}
##############################################
influxdb-1.6.4/services/httpd/service.go-250-	if err != nil && !strings.Contains(err.Error(), "closed") {
influxdb-1.6.4/services/httpd/service.go:251:		s.err <- fmt.Errorf("listener failed: addr=%s, err=%s", s.Addr(), err)
influxdb-1.6.4/services/httpd/service.go-252-	}
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1528-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1529:func (m *RemovePeerCommand) GetAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1530-	if m != nil && m.Addr != nil {
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1556-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1557:func (m *CreateMetaNodeCommand) GetHTTPAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1558-	if m != nil && m.HTTPAddr != nil {
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1563-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1564:func (m *CreateMetaNodeCommand) GetTCPAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1565-	if m != nil && m.TCPAddr != nil {
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1597-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1598:func (m *CreateDataNodeCommand) GetHTTPAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1599-	if m != nil && m.HTTPAddr != nil {
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1604-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1605:func (m *CreateDataNodeCommand) GetTCPAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1606-	if m != nil && m.TCPAddr != nil {
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1761-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1762:func (m *SetMetaNodeCommand) GetHTTPAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1763-	if m != nil && m.HTTPAddr != nil {
##############################################
influxdb-1.6.4/services/meta/internal/meta.pb.go-1768-
influxdb-1.6.4/services/meta/internal/meta.pb.go:1769:func (m *SetMetaNodeCommand) GetTCPAddr() string {
influxdb-1.6.4/services/meta/internal/meta.pb.go-1770-	if m != nil && m.TCPAddr != nil {
##############################################
influxdb-1.6.4/services/opentsdb/handler.go-179-// Addr returns the network address of the listener.
influxdb-1.6.4/services/opentsdb/handler.go:180:func (ln *chanListener) Addr() net.Addr { return ln.addr }
influxdb-1.6.4/services/opentsdb/handler.go-181-
##############################################
influxdb-1.6.4/services/opentsdb/service.go-153-	s.Logger.Info("Listening on TCP",
influxdb-1.6.4/services/opentsdb/service.go:154:		zap.Stringer("addr", s.ln.Addr()),
influxdb-1.6.4/services/opentsdb/service.go-155-		zap.Bool("tls", s.tls))
influxdb-1.6.4/services/opentsdb/service.go:156:	s.httpln = newChanListener(s.ln.Addr())
influxdb-1.6.4/services/opentsdb/service.go-157-
##############################################
influxdb-1.6.4/services/opentsdb/service.go-291-// Addr returns the listener's address. Returns nil if listener is closed.
influxdb-1.6.4/services/opentsdb/service.go:292:func (s *Service) Addr() net.Addr {
influxdb-1.6.4/services/opentsdb/service.go-293-	if s.ln == nil {
##############################################
influxdb-1.6.4/services/opentsdb/service.go-295-	}
influxdb-1.6.4/services/opentsdb/service.go:296:	return s.ln.Addr()
influxdb-1.6.4/services/opentsdb/service.go-297-}
##############################################
influxdb-1.6.4/services/opentsdb/service.go-356-	// Get connection details.
influxdb-1.6.4/services/opentsdb/service.go:357:	remoteAddr := conn.RemoteAddr().String()
influxdb-1.6.4/services/opentsdb/service.go-358-
##############################################
influxdb-1.6.4/services/opentsdb/service_test.go-170-	// Open connection to the service.
influxdb-1.6.4/services/opentsdb/service_test.go:171:	conn, err := net.Dial("tcp", s.Service.Addr().String())
influxdb-1.6.4/services/opentsdb/service_test.go-172-	if err != nil {
##############################################
influxdb-1.6.4/services/opentsdb/service_test.go-233-	// Write HTTP request to server.
influxdb-1.6.4/services/opentsdb/service_test.go:234:	resp, err := http.Post("http://"+s.Service.Addr().String()+"/api/put", "application/json", strings.NewReader(`{"metric":"sys.cpu.nice", "timestamp":1346846400, "value":18, "tags":{"host":"web01", "dc":"lga"}}`))
influxdb-1.6.4/services/opentsdb/service_test.go-235-	if err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/client_test.go-75-
influxdb-1.6.4/services/snapshotter/client_test.go:76:	c := snapshotter.NewClient(l.Addr().String())
influxdb-1.6.4/services/snapshotter/client_test.go-77-	_, err = c.MetastoreBackup()
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-121-
influxdb-1.6.4/services/snapshotter/service_test.go:122:	conn, err := net.Dial("tcp", l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-123-	if err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-170-
influxdb-1.6.4/services/snapshotter/service_test.go:171:	conn, err := net.Dial("tcp", l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-172-	if err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-177-
influxdb-1.6.4/services/snapshotter/service_test.go:178:	c := snapshotter.NewClient(l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-179-	if got, err := c.MetastoreBackup(); err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-220-
influxdb-1.6.4/services/snapshotter/service_test.go:221:	conn, err := net.Dial("tcp", l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-222-	if err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-274-
influxdb-1.6.4/services/snapshotter/service_test.go:275:	conn, err := net.Dial("tcp", l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-276-	if err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-338-
influxdb-1.6.4/services/snapshotter/service_test.go:339:	conn, err := net.Dial("tcp", l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-340-	if err != nil {
##############################################
influxdb-1.6.4/services/snapshotter/service_test.go-392-
influxdb-1.6.4/services/snapshotter/service_test.go:393:	conn, err := net.Dial("tcp", l.Addr().String())
influxdb-1.6.4/services/snapshotter/service_test.go-394-	if err != nil {
##############################################
influxdb-1.6.4/services/storage/predicate_test.go-220-	assert.NoError(t, err, "NodeToExpr failed")
influxdb-1.6.4/services/storage/predicate_test.go:221:	assert.Equal(t, expr.String(), `host = 'host1' AND _field =~ /^us-west/ AND "$" = 0.500`)
influxdb-1.6.4/services/storage/predicate_test.go-222-
##############################################
influxdb-1.6.4/services/storage/series_cursor_test.go-19-
influxdb-1.6.4/services/storage/series_cursor_test.go:20:	cond, err := influxql.ParseExpr(`(_name = 'cpu' AND (_field = 'user' OR _field = 'system')) OR (_name = 'mem' AND "$" = 0)`)
influxdb-1.6.4/services/storage/series_cursor_test.go-21-	if err != nil {
##############################################
influxdb-1.6.4/services/storage/yarpc_server.go-36-func (s *yarpcServer) serve(ln net.Listener) {
influxdb-1.6.4/services/storage/yarpc_server.go:37:	s.logger.Info("yarpc listening", zap.String("address", ln.Addr().String()))
influxdb-1.6.4/services/storage/yarpc_server.go-38-	s.rpc.Serve(ln)
##############################################
influxdb-1.6.4/services/subscriber/udp.go-22-	var con *net.UDPConn
influxdb-1.6.4/services/subscriber/udp.go:23:	addr, err = net.ResolveUDPAddr("udp", u.addr)
influxdb-1.6.4/services/subscriber/udp.go-24-	if err != nil {
##############################################
influxdb-1.6.4/services/udp/service.go-92-
influxdb-1.6.4/services/udp/service.go:93:	s.addr, err = net.ResolveUDPAddr("udp", s.config.BindAddress)
influxdb-1.6.4/services/udp/service.go-94-	if err != nil {
##############################################
influxdb-1.6.4/services/udp/service.go-311-// Addr returns the listener's address.
influxdb-1.6.4/services/udp/service.go:312:func (s *Service) Addr() net.Addr {
influxdb-1.6.4/services/udp/service.go-313-	return s.addr
##############################################
influxdb-1.6.4/tcp/mux.go-146-			conn.Close()
influxdb-1.6.4/tcp/mux.go:147:			mux.Logger.Printf("tcp.Mux: handler not registered: %d. Connection from %s closed", typ[0], conn.RemoteAddr())
influxdb-1.6.4/tcp/mux.go-148-			return
##############################################
influxdb-1.6.4/tcp/mux.go-275-		conn.Close()
influxdb-1.6.4/tcp/mux.go:276:		ln.mux.Logger.Printf("tcp.Mux: handler not ready: %d. Connection from %s closed", handlerID, conn.RemoteAddr())
influxdb-1.6.4/tcp/mux.go-277-		return
##############################################
influxdb-1.6.4/tcp/mux.go-281-// Addr returns the Addr of the listener
influxdb-1.6.4/tcp/mux.go:282:func (ln *listener) Addr() net.Addr {
influxdb-1.6.4/tcp/mux.go-283-	if ln.mux == nil {
##############################################
influxdb-1.6.4/tcp/mux.go-293-
influxdb-1.6.4/tcp/mux.go:294:	return ln.mux.ln.Addr()
influxdb-1.6.4/tcp/mux.go-295-}
##############################################
influxdb-1.6.4/tcp/mux_test.go-92-		// Write message to TCP listener and read OK response.
influxdb-1.6.4/tcp/mux_test.go:93:		conn, err := net.Dial("tcp", tcpListener.Addr().String())
influxdb-1.6.4/tcp/mux_test.go-94-		if err != nil {
##############################################
influxdb-1.6.4/tests/backup_restore_test.go-282-	defer l.Close()
influxdb-1.6.4/tests/backup_restore_test.go:283:	return l.Addr().String()
influxdb-1.6.4/tests/backup_restore_test.go-284-}
##############################################
influxdb-1.6.4/tests/server_bench_test.go-92-	if useRegex {
influxdb-1.6.4/tests/server_bench_test.go:93:		condition = `host =~ /^server-487$/`
influxdb-1.6.4/tests/server_bench_test.go-94-	}
##############################################
influxdb-1.6.4/tests/server_test.go-6433-			params:  url.Values{"db": []string{"db0"}},
influxdb-1.6.4/tests/server_test.go:6434:			command: `select value from cpu where host =~ /^server01$/`,
influxdb-1.6.4/tests/server_test.go-6435-			exp:     `{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["time","value"],"values":[["2009-11-10T23:00:03Z",2]]}]}]}`,
##############################################
influxdb-1.6.4/tests/server_test.go-6439-			params:  url.Values{"db": []string{"db0"}},
influxdb-1.6.4/tests/server_test.go:6440:			command: `select value from cpu where host =~ /(?i)^SeRvEr01$/`,
influxdb-1.6.4/tests/server_test.go-6441-			exp:     `{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["time","value"],"values":[["2009-11-10T23:00:03Z",2]]}]}]}`,
##############################################
influxdb-1.6.4/tests/server_test.go-6445-			params:  url.Values{"db": []string{"db0"}},
influxdb-1.6.4/tests/server_test.go:6446:			command: `select value from cpu where host !~ /^server01$/`,
influxdb-1.6.4/tests/server_test.go-6447-			exp:     `{"results":[{"statement_id":0,"series":[{"name":"cpu","columns":["time","value"],"values":[["2009-11-10T23:00:02Z",1]]}]}]}`,
##############################################
influxdb-1.6.4/tests/server_helpers.go-291-		if service, ok := service.(*httpd.Service); ok {
influxdb-1.6.4/tests/server_helpers.go:292:			return "http://" + service.Addr().String()
influxdb-1.6.4/tests/server_helpers.go-293-		}
##############################################
influxdb-1.6.4/toml/toml.go-156-	// check the address to see if it implements encoding.TextUnmarshaler.
influxdb-1.6.4/toml/toml.go:157:	if spec.Kind() != reflect.Ptr && spec.Type().Name() != "" && spec.CanAddr() {
influxdb-1.6.4/toml/toml.go:158:		v := spec.Addr()
influxdb-1.6.4/toml/toml.go-159-		if u, ok := v.Interface().(encoding.TextUnmarshaler); ok {
##############################################
influxdb-1.6.4/.pc/disable-reporting.patch/tests/server_helpers.go-291-		if service, ok := service.(*httpd.Service); ok {
influxdb-1.6.4/.pc/disable-reporting.patch/tests/server_helpers.go:292:			return "http://" + service.Addr().String()
influxdb-1.6.4/.pc/disable-reporting.patch/tests/server_helpers.go-293-		}