Mohamed MHAMDI
1db36357d5
feat(logger): add logger option to all micro components (override DefaultLogger) closes #2556 ( #2559 )
...
* feat(logger): add logger option to all components
* fix: refactor api/rpc.go
* fix: refactor api/stream.go
* fix: api/options.go comment
* fix(logger): do not use logger.Helper internally
* fix(logger): fix comments
* fix(logger): use level.Enabled method
* fix: rename mlogger to log
* fix: run go fmt
* fix: log level
* fix: factories
Co-authored-by: Mohamed MHAMDI <mmhamdi@hubside.com>
Co-authored-by: Davincible <david.brouwer.99@gmail.com>
2022-09-29 16:44:53 +02:00
Asim Aslam
0c2041e439
add events package ( #2341 )
...
* add events package
* update go version
2021-11-08 08:52:39 +00:00
Asim Aslam
1cd7cfaa6c
go-micro.dev/v4 ( #2305 )
2021-10-12 12:55:53 +01:00
JeffreyBool
acc3f5479f
fix service default logger ( #2171 )
...
* Update http.go
Exit before deregister is executed
* Create http.go
Exit before deregister is executed
* Solve the problem that the resources have not been fully released due to early exit
* Optimize some code
* Optimize some code
* Optimize some code
* fix service default logger
2021-05-23 08:38:20 +01:00
Asim Aslam
d94936f6c9
v3 ( #2104 )
...
* v3
* revert plugins
* fixup some issues
2021-01-20 13:54:31 +00:00
Asim Aslam
a29676b86a
Registration Retry / Interval ( #1651 )
...
* Change the default ttl to 90 seconds
* add retries to registration
* Add retry to web register
2020-05-20 11:49:09 +01:00
Asim Aslam
19a03babc4
Update server.go
2020-05-12 11:32:01 +01:00
Janos Dobronszki
075d7d4fef
Renaming ShutdownSignals -> Shutdown ( #1553 )
2020-04-21 14:14:20 +02:00
Janos Dobronszki
e5c215556e
Add SIGKILL to shutdown signals ( #1552 )
...
* Add SIGKILL to shutdown signals
* go mod tidy
* Add missing file
2020-04-21 14:00:12 +02:00
Vasiliy Tolstov
7b385bf163
minimize allocations in logger and tunnel code ( #1323 )
...
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-11 17:55:39 +00:00
Vasiliy Tolstov
117f56ebf7
prune util/log and user logger ( #1237 )
...
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
Vasiliy Tolstov
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Asim Aslam
6d636b7ab3
whoa bad commit, bad asim
2020-01-22 17:07:56 +00:00
Asim Aslam
009c598049
Change version to latest
2020-01-22 17:03:38 +00:00
Asim Aslam
0a37767127
Fix service registration with registry service
2020-01-18 19:53:51 +00:00
Astone
29fb58db39
improve code quality
2019-12-03 20:59:02 +08:00
Asim Aslam
080363e8c4
The mega cruft proxy PR ( #974 )
...
* the mega cruft proxy PR
* Rename broker id
* add protocol=grpc
* fix compilation breaks
* Add the tunnel broker to the network
* fix broker id
* continue to be backwards compatible in the protocol
2019-11-25 16:31:43 +00:00
Asim Aslam
fa0d020556
Set register ttl and interval by default
2019-09-23 17:59:34 +01:00
Asim Aslam
ac5eb5da47
Remove fmt
2019-09-22 15:31:07 +01:00
Asim Aslam
2434c7b2a7
replace version format
2019-09-22 15:21:22 +01:00
Asim Aslam
c6e15ef2d1
rename server, set version to timestamp
2019-08-21 15:43:46 +01:00
Asim Aslam
7884e889f4
Don't publish the process rpc call and embed the router handler in the network
2019-07-31 16:36:53 +01:00
Asim Aslam
4035ab5c7b
Change go-log links
2019-05-31 00:38:05 +01:00
Vasiliy Tolstov
a13cdfcc34
add RegisterCheck server option for internal health checks
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-05-15 15:34:34 +03:00
Asim Aslam
6819989195
change default name/version
2019-02-15 16:14:41 +00:00
Asim Aslam
31fc8df2ba
add server request body
2019-02-04 13:13:03 +00:00
Asim Aslam
a5015692e3
Merge pull request #400 from micro/interval
...
Move RegisterInterval into the server
2019-01-24 13:55:05 +00:00
Asim Aslam
539b8c1a3b
Move RegisterInterval into the server
2019-01-24 13:22:17 +00:00
Vasiliy Tolstov
ac1afea7fc
add context to server.SubscriberOptions and broker.SubscribeOption
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-01-24 15:36:01 +03:00
Asim Aslam
2cd2258731
For the legacy
2019-01-18 10:12:57 +00:00
Asim Aslam
bfd341a269
Execute wrappers before router
2019-01-11 15:49:54 +00:00
Asim Aslam
9adebfcf1e
rename method to endpoint
2019-01-10 21:25:31 +00:00
Asim Aslam
6e0e4a684c
Further crufting
2019-01-09 19:28:13 +00:00
Asim Aslam
873fc6d663
rewriting a lot
2019-01-09 19:11:47 +00:00
Asim Aslam
d004c9624b
Add router modifications
2019-01-09 16:20:57 +00:00
Asim Aslam
f46828be33
Add Router interface
2019-01-08 20:32:47 +00:00
Asim Aslam
c9963cb870
rename
2019-01-07 18:20:47 +00:00
Asim Aslam
46ece968d4
rename service to router
2019-01-07 14:44:40 +00:00
Asim Aslam
0d917bbf37
move location of handler
2018-11-26 14:51:42 +00:00
Shulhan
415fb3a730
all: replace "pborman/uuid" with "google/uuid"
...
Internally, "pborman/uuid.NewUUID()" is calling "google/uuid.New()"
that return nil when there is an error [1].
Both package use the same license.
[1] https://github.com/pborman/uuid/blob/master/version1.go#L17
2018-11-21 17:29:21 +07:00
Asim Aslam
0315b4480f
revert some changes
2018-04-17 11:00:22 +01:00
Asim Aslam
d00d76bf7c
Move publication to message
2018-04-14 18:21:02 +01:00
Asim Aslam
65068e8b82
rename Streamer to Stream
2018-04-14 18:15:09 +01:00
Asim Aslam
c9b40cb33b
switch to stdlib context
2018-03-03 11:53:52 +00:00
Asim Aslam
bab586b71e
make use of micro/go-log
2017-05-11 20:43:42 +01:00
Asim Aslam
71d717a06d
strip doc.go files
2016-12-14 15:41:48 +00:00
Asim
1254a87286
Add package comments
2016-05-24 22:22:46 +01:00
Asim
bfe20d81d0
More linting fun
2016-04-06 18:03:27 +01:00
Asim
d1eae8fabe
remove use of glog
2016-03-14 11:01:10 +00:00
Asim
f812613973
Add implementation for internal handlers and subscribers. They are not advertised to discovery
2016-01-08 14:02:32 +00:00