package
1.21.0
Repository: https://github.com/ardagan/tchannel-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewClient creates a new Hyperbahn client using the given channel.

# Constants

Advertised is triggered when the initial advertisement for a service is successful.
FailStrategyFatal will call Fatalf on the channel's logger after triggering handler.OnError.
FailStrategyIgnore will only call handler.OnError, even after many errors, and will continue to retry forever.
Readvertised is triggered on periodic advertisements.
SendAdvertise is triggered when the Hyperbahn client tries to advertise.
UnknownEvent should never be used.

# Structs

AdRequest is the Ad request sent to Hyperbahn.
AdResponse is the Ad response from Hyperbahn.
Client manages Hyperbahn connections and registrations.
ClientOptions are used to configure this Hyperbahn client.
Configuration is the initial configuration.
ErrAdvertiseFailed is triggered when advertise fails.

# Interfaces

Handler is the interface for handling Hyperbahn events and errors.

# Type aliases

Event describes different events that Client can trigger.
FailStrategy is the strategy to use when registration fails maxRegistrationFailures times consecutively in the background.