noop impl (#32)
* improve logger usage * add noop client and server Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
DefaultServer Server
|
||||
DefaultServer Server = newServer()
|
||||
)
|
||||
|
||||
// Server is a simple micro server abstraction
|
||||
@@ -138,7 +138,7 @@ type Option func(*Options)
|
||||
|
||||
var (
|
||||
DefaultAddress = ":0"
|
||||
DefaultName = "go.micro.server"
|
||||
DefaultName = "server"
|
||||
DefaultVersion = "latest"
|
||||
DefaultId = uuid.New().String()
|
||||
DefaultRegisterCheck = func(context.Context) error { return nil }
|
||||
|
||||
Reference in New Issue
Block a user