move implementations to external repos (#17)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-25 13:44:41 +03:00
committed by GitHub
parent c4a303190a
commit 0f4b1435d9
238 changed files with 151 additions and 37364 deletions

View File

@@ -5,7 +5,6 @@ import (
"github.com/google/uuid"
"github.com/unistack-org/micro/v3/registry"
"github.com/unistack-org/micro/v3/registry/mdns"
)
// Options are router options
@@ -71,9 +70,8 @@ func Precache() Option {
// DefaultOptions returns router default options
func DefaultOptions() Options {
return Options{
Id: uuid.New().String(),
Network: DefaultNetwork,
Registry: mdns.NewRegistry(),
Context: context.Background(),
Id: uuid.New().String(),
Network: DefaultNetwork,
Context: context.Background(),
}
}