Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeFunc ¶
type ChangeFunc func() error
type GetInstanceOptions ¶ added in v0.4.0
type Instance ¶ added in v0.4.0
type Instance struct {
// contains filtered or unexported fields
}
type Provider ¶
type Provider interface { Watch() error SetOnChanged(ChangeFunc) }
type ServiceDiscovery ¶ added in v0.4.0
type ServiceDiscovery interface { GetInstances(ctx context.Context, options GetInstanceOptions) ([]Instancer, error) Watch(ctx context.Context, options GetInstanceOptions) (<-chan []Instancer, error) }
Click to show internal directories.
Click to hide internal directories.