1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00

Strip MetadataKey global var

This commit is contained in:
Asim Aslam
2020-04-12 11:16:08 +01:00
parent cf67d460b7
commit 962588b649
4 changed files with 15 additions and 15 deletions

View File

@ -28,10 +28,10 @@ type Sync interface {
// Leader provides leadership election
type Leader interface {
// resign leadership
Resign() error
// status returns when leadership is lost
Status() chan bool
// resign leadership
Resign() error
// status returns when leadership is lost
Status() chan bool
}
type Options struct {
@ -41,7 +41,7 @@ type Options struct {
type Option func(o *Options)
type LeaderOptions struct {}
type LeaderOptions struct{}
type LeaderOption func(o *LeaderOptions)