Permalink
Browse files

Deps

  • Loading branch information...
s32x committed Jan 2, 2019
1 parent 5aea412 commit 5d45c2254474c07c34c37383d12b2842fb510c0c
Showing with 1,519 additions and 1,448 deletions.
  1. +4 −4 glide.lock
  2. +6 −6 ipdata/client.go
  3. +1 −1 service/service.go
  4. +8 −0 vendor/github.com/gobuffalo/packr/v2/_fixtures/import_pkg/import_pkg.go
  5. +22 −0 vendor/github.com/gobuffalo/packr/v2/_fixtures/import_pkg/import_pkg_test.go
  6. 0 vendor/github.com/gobuffalo/packr/v2/_fixtures/import_pkg/pkg_test/1.txt
  7. 0 vendor/github.com/gobuffalo/packr/v2/_fixtures/import_pkg/pkg_test/2.txt
  8. +31 −15 vendor/github.com/gobuffalo/packr/v2/box.go
  9. +16 −0 vendor/github.com/gobuffalo/packr/v2/box_import_test.go
  10. +2 −0 vendor/github.com/gobuffalo/packr/v2/travis.sh
  11. +62 −0 vendor/github.com/sirupsen/logrus/level_test.go
  12. +25 −17 vendor/github.com/sirupsen/logrus/logrus.go
  13. +0 −13 vendor/github.com/sirupsen/logrus/logrus_test.go
  14. +14 −14 vendor/golang.org/x/sys/unix/mkall.sh
  15. +190 −0 vendor/golang.org/x/sys/unix/mksysnum.go
  16. +0 −39 vendor/golang.org/x/sys/unix/mksysnum_darwin.pl
  17. +0 −50 vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl
  18. +0 −50 vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl
  19. +0 −58 vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl
  20. +0 −50 vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl
  21. +8 −1 vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
  22. +15 −15 vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
  23. +15 −15 vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
  24. +1 −1 vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
  25. +1 −1 vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
  26. +1 −1 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
  27. +1 −1 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
  28. +88 −88 vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
  29. +226 −226 vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
  30. +226 −226 vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
  31. +226 −226 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
  32. +2 −2 vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
  33. +2 −2 vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
  34. +2 −2 vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
  35. +108 −108 vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
  36. +108 −108 vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
  37. +108 −108 vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -29,6 +29,12 @@ func NewClient() (*Client, error) {
return c, nil
}

// Close performs the final task of closing the maxminddb Readers
func (c *Client) Close() {
c.city.Close()
c.asn.Close()
}

// updateReaders concurrently retrieves and populates the databases using the
// urls on the Client
func (c *Client) updateReaders() error {
@@ -42,12 +48,6 @@ func (c *Client) updateReaders() error {
return g.Wait()
}

// Close performs the final task of closing the maxminddb Readers
func (c *Client) Close() {
c.city.Close()
c.asn.Close()
}

// readMMDB takes a compressed MaxMind database URL, downloads, decompresses,
// and generates a maxmindb.Reader
func readMMDB(url string, out *maxminddb.Reader) func() error {
@@ -35,9 +35,9 @@ func Start(port, env string) {
}

// Bind remaining middleware
e.Pre(middleware.Secure())
e.Use(middleware.Logger())
e.Use(middleware.Recover())
e.Pre(middleware.Secure())
e.Use(middleware.Gzip())

// Serve the static web content on the base echo instance

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 5d45c22

Please sign in to comment.