fix repocard issues (#20)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-25 14:33:36 +03:00
committed by GitHub
parent dd78ae8658
commit 8076e410a9
18 changed files with 72 additions and 51 deletions

View File

@@ -6,6 +6,7 @@ import (
"github.com/unistack-org/micro/v3/router"
)
// Options for proxy
type Options struct {
// Specific endpoint to always call
Endpoint string
@@ -17,6 +18,7 @@ type Options struct {
Links map[string]client.Client
}
// Option func signature
type Option func(o *Options)
// WithEndpoint sets a proxy endpoint