1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

15 Commits

Author SHA1 Message Date
hshe
e176ddfcdd
feat(internal/host): prefer ipv4 than ipv6 (#2342)
* feat:prefer ipv4 than ipv6

* feat:prefer ipv4 than ipv6

* feat:prefer ipv4 than ipv6

* feat:prefer ipv4 than ipv6
2022-09-07 11:43:55 +08:00
icylight
cbfb6db9cf
fix(internal/host): Extract can't return the minium index ip (#2298)
* fix(internal/host): Extract can't return the minium index ip

* rollback

* fix index
2022-08-31 21:35:59 +08:00
songzhibin97
2ee49311c1
Update host.go (#2013) 2022-05-20 22:36:18 +08:00
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
hshe
7aa9f352f8
fix:internal/host:选择ip未判断ip是否可用&&返回序号最小的ip(#1686) (#1687) 2021-12-16 22:41:44 +08:00
letian
2ce8f22fac
fix bug of host.Extract (#1481) 2021-09-15 18:02:26 +08:00
Kagaya
f7588a47de
fix: ci lint error (#1391)
* fix lint check

* fix lll lint error

* fix build error

* fix gomnd

* fix shadow declaration

* add make test command

* update
2021-08-31 10:14:57 +08:00
yuemoxi
a67ec16bf0
test(internal/context,internal/host) add test (#1334)
* test(internal/context,internal/host) add test
2021-08-25 23:56:28 +08:00
longxboy
87eb5ed5c0
add http ip port support (#1115)
* add http ip port support

* fix example
2021-06-28 10:20:48 +08:00
Tony Chen
7f72b72ddb
fix endpoint extract (#1061) 2021-06-15 11:39:28 +08:00
longXboy
156146036b fix test 2021-05-31 17:17:33 +08:00
longXboy
f69cf59537 fix loopback addr 2021-05-31 16:55:30 +08:00
Cluas
e1b9dd5244
host: optimize isPrivateIP (#817) 2021-04-08 17:45:11 +08:00
Tony Chen
f86c91849b
fix lint check (#746) 2021-03-05 22:40:38 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00