Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCircuitBreaker ¶
func WithCircuitBreaker(service string, watcher monitor.ConfigMonitor) []kitexclient.Option
WithCircuitBreaker returns a server.Option that sets the circuit breaker for the client
func WithRPCTimeout ¶
func WithRPCTimeout(watcher monitor.ConfigMonitor) []kitexclient.Option
WithRPCTimeout returns a server.Option that sets the timeout provider for the client.
func WithRetryPolicy ¶
func WithRetryPolicy(watcher monitor.ConfigMonitor) []kitexclient.Option
WithRetryPolicy returns a server.Option that sets the retry policies for the client
Types ¶
type FileConfigClientSuite ¶
type FileConfigClientSuite struct {
// contains filtered or unexported fields
}
func NewSuite ¶
func NewSuite(service, key string, watcher filewatcher.FileWatcher) *FileConfigClientSuite
NewSuite service is the destination service.
func (*FileConfigClientSuite) Options ¶
func (s *FileConfigClientSuite) Options() []kitexclient.Option
Options return a list client.Option
Click to show internal directories.
Click to hide internal directories.