Documentation ¶
Index ¶
Constants ¶
View Source
const ( Scheme = "cloudmap" HealthStatusFilterAll = servicediscovery.HealthStatusFilterAll HealthStatusFilterHealthy = servicediscovery.HealthStatusFilterHealthy HealthStatusFilterUnhealthy = servicediscovery.HealthStatusFilterUnhealthy )
Variables ¶
This section is empty.
Functions ¶
func BuildTarget ¶
BuildTarget builds grpc target string with given namespace and service.
func Register ¶
func Register(opts ...Opt)
Register builds builder with given opts and register it to the resolver map. If you don't give any options, the builder will be registered with default options listed below.
The default builder was already registered by the init function, so you don't need to call this function to register the default builder.
Default Options:
Session: session.NewSession() HealthStatusFilter: HealthStatusFilterHealthy MaxResults: 100 RefreshInterval: 30s
Types ¶
type Opt ¶
type Opt func(*builder)
func WithHealthStatusFilter ¶
func WithMaxResults ¶
func WithRefreshInterval ¶
func WithSession ¶
Click to show internal directories.
Click to hide internal directories.