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

@@ -9,7 +9,6 @@ import (
"strings"
"github.com/unistack-org/micro/v3/metadata"
"github.com/unistack-org/micro/v3/router/registry"
"github.com/unistack-org/micro/v3/selector/random"
)
@@ -46,9 +45,7 @@ func WriteInternalServerError(w http.ResponseWriter, err error) {
}
func NewRoundTripper(opts ...Option) http.RoundTripper {
options := Options{
Router: registry.NewRouter(),
}
options := Options{}
for _, o := range opts {
o(&options)
}

View File

@@ -1,3 +1,5 @@
// +build ignore
package http
import (