1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-30 08:06:40 +02:00
Commit Graph

3806 Commits

Author SHA1 Message Date
asim
6e393f6abf move cmd package back to top level. Strip grpc plugin 2024-07-07 22:38:11 +01:00
asim
90531337db . 2024-07-07 19:14:04 +01:00
asim
e756fd32e6 Fix panic 2024-07-07 19:09:19 +01:00
asim
7c3f272001 remove sync package 2024-07-07 19:03:18 +01:00
asim
66b3fd8893 fix retry test 2024-07-07 19:01:43 +01:00
asim
c64cb1cb03 more references to runtime 2024-07-07 18:50:52 +01:00
asim
8876002e57 more references to runtime 2024-07-07 18:49:39 +01:00
asim
a3809afbdf more references to runtime 2024-07-07 18:44:18 +01:00
asim
563e0d265d meh 2024-07-07 18:40:24 +01:00
asim
3d5f87c01b no one is using that 2024-07-07 18:40:15 +01:00
asim
bac34aaec1 still more fixes 2024-07-07 18:36:04 +01:00
asim
db0fa9fe1f fix bugs 2024-07-07 18:32:26 +01:00
asim
3676232df1 strip runtime 2024-07-07 18:30:48 +01:00
asim
29d79d748d remove runtime that no one uses 2024-07-07 18:28:38 +01:00
asim
627066baf9 remove events entirely 2024-07-07 18:26:30 +01:00
asim
d84da9a8eb meh 2024-07-07 18:19:50 +01:00
asim
6c0a073e33 Merge branch 'master' of ssh://github.com/micro/go-micro 2024-07-07 18:19:19 +01:00
asim
12e8fcd057 Fix parallel test 2024-07-07 18:18:43 +01:00
Asim Aslam
4dcf2e58c0
Update README.md (#2720) 2024-07-07 08:05:08 +01:00
Asim Aslam
b56cfaf818
Revert license to Apache 2 2024-07-07 08:04:29 +01:00
Asim Aslam
ff52e9f5d0
Delete .github/FUNDING.yml 2024-07-07 07:18:47 +01:00
Asim Aslam
c05c11e0c3
Update README.md (#2719) 2024-07-04 10:29:05 +01:00
asim
fc614aef2d add back generator 2024-07-04 09:18:52 +01:00
Ak-Army
1515db5240
Fix stream eos error (#2716)
* [fix] etcd config source prefix issue (#2389)

* http transport data race issue (#2436)

* [fix] #2431 http transport data race issue

* [feature] Ability to close connection while receiving.
Ability to send messages while receiving.
Icreased r channel limit to 100 to more fluently communication.
Do not dropp sent request if r channel is full.

* [fix] Do not send error when stream send eos header, just close the connection

* [fix] Do not overwrite the error in http client

---------

Co-authored-by: Johnson C <chengqiaosheng@gmail.com>
2024-07-02 13:06:14 +01:00
littlecoderonway
4d5b3b084f
Fix registry cache broken (#2715)
* services is shared between routines, when application change services returned by get function may lead to other routine set a changed services to cache

* services is shared between routines, when application change services returned by get function may lead to other routine set a changed services to cache

---------

Co-authored-by: Shuaihu Liu <shuaihu.liu@shopee.com>
2024-07-02 09:30:51 +01:00
Asim Aslam
e9ceb66e32
Update README.md 2024-06-05 18:28:17 +01:00
asim
610c00859f v5 2024-06-04 21:40:43 +01:00
Asim Aslam
e11395c8f5
Update LICENSE (#2712)
BSL license
2024-06-04 21:37:52 +01:00
Di Wu
63f2507944
fix(sec): CVE-2024-24786 (#2699) 2024-06-04 20:23:15 +01:00
Asim Aslam
0c6c907c58
Delete CHANGELOG.md
Not being maintained
2024-06-04 20:21:45 +01:00
Asim Aslam
53f691da30
Update README.md (#2711) 2024-06-04 20:21:05 +01:00
Asim Aslam
8f43ae86dd
Update FUNDING.yml (#2710) 2024-06-04 20:01:41 +01:00
dependabot[bot]
f9ce51c522
chore(deps): bump github.com/opencontainers/runc from 1.1.5 to 1.1.12 (#2706)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.5 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.5...v1.1.12)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 18:51:46 +01:00
dependabot[bot]
08d98adcd2
chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#2705)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 13:56:58 +01:00
guangwu
186b8351dc
fix: close dockerfile (#2703) 2024-04-17 07:45:39 +01:00
Z.Q.K
b1e58a1fe8
fix typo (#2701) 2024-03-26 03:39:45 +00:00
Ak-Army
f1a8b39309
Fix double close in stream client (#2693)
* [fix] etcd config source prefix issue (#2389)

* http transport data race issue (#2436)

* [fix] #2431 http transport data race issue

* [feature] Ability to close connection while receiving.
Ability to send messages while receiving.
Icreased r channel limit to 100 to more fluently communication.
Do not dropp sent request if r channel is full.

* [fix] Do not close the transport client twice in stream connection , the transport client is closed in the rpc codec

---------

Co-authored-by: Johnson C <chengqiaosheng@gmail.com>
Co-authored-by: Hunyadvári Péter <peter.hunyadvari@vcc.live>
2024-02-15 20:26:36 +00:00
Asim Aslam
6e55bb1a0e
Update README.md (#2692) 2024-02-10 18:47:38 +00:00
Morya
f28468a59c
feat: allow to set API listen address (#2680) 2023-12-18 10:29:47 +00:00
Asim Aslam
3a4790b3c5
Update tests.yaml (#2681) 2023-12-18 10:28:44 +00:00
Eng Zer Jun
cbd45b12dc
Avoid allocations with (*regexp.Regexp).MatchString (#2679)
We should use `(*regexp.Regexp).MatchString` instead of
`(*regexp.Regexp).Match([]byte(...))` when matching string to avoid
unnecessary `[]byte` conversions and reduce allocations.

func BenchmarkMatch(b *testing.B) {
	for i := 0; i < b.N; i++ {
		if match := versionRe.Match([]byte("v1")); !match {
			b.Fail()
		}
	}
}

func BenchmarkMatchString(b *testing.B) {
	for i := 0; i < b.N; i++ {
		if match := versionRe.MatchString("v1"); !match {
			b.Fail()
		}
	}
}

goos: linux
goarch: amd64
pkg: go-micro.dev/v4/api/handler/event
cpu: AMD Ryzen 7 PRO 4750U with Radeon Graphics
BenchmarkMatch-16          	11430127	       127.4 ns/op	       2 B/op	       1 allocs/op
BenchmarkMatchString-16    	12220628	        97.54 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	go-micro.dev/v4/api/handler/event	3.822s

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-12-04 16:00:01 +00:00
guangwu
252385e39c
chore: replace for loop with call to copy (#2678) 2023-11-30 11:18:05 +00:00
ChengDaqi2023
68c026c5d8
update golang.org/x/net v0.8.0 to 0.17.0 (#2677) 2023-11-29 10:24:36 +00:00
Elmut
ca6190f5f2
append to subscribers (#2640)
* append to subscribers

* Update rpc_router.go

error correction log
2023-11-26 11:08:28 +01:00
Guillaume Bour
674b9822e0
util/addr: Fixes findIP to return public IP if present. (#2673) 2023-11-26 11:06:55 +01:00
Christian Richter
7392705af8
bump urfave cli & fix race condition (#2659)
* bump urfave cli

Signed-off-by: Christian Richter <crichter@owncloud.com>

* Fix race condition

Co-authored-by: André Duffeck <andre.duffeck@firondu.de>

Signed-off-by: Christian Richter <crichter@owncloud.com>

---------

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-10-09 10:33:57 +01:00
Asim Aslam
27c488712e
Update README.md (#2652) 2023-08-07 09:46:15 +01:00
Asim Aslam
c3d7c65c88
Update README.md (#2650) 2023-07-20 07:49:53 +01:00
Asim Aslam
384814c885
Update README.md (#2648) 2023-07-17 09:33:34 +01:00
Asim Aslam
8a3a98a8b8
Update README.md (#2647) 2023-07-16 12:02:53 +01:00