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 ¶ added in v0.3.0
BuildTarget builds grpc target string with given namespace and service.
func Register ¶ added in v0.4.0
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 ¶ added in v0.5.0
type Opt func(*builder)
func WithHealthStatusFilter ¶ added in v0.4.0
func WithMaxResults ¶ added in v0.4.0
func WithRefreshInterval ¶ added in v0.4.0
func WithSession ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.