Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeartbeatInterval = 1000 * time.Millisecond ServiceTTL = 5 )
Variables ¶
View Source
var ( ErrServiceNotFound = errors.New("roster: No matching service found") ErrLocalIpNotFound = errors.New("roster: No non loopback local IP address could be found") )
View Source
var (
ErrRegistryNotActive = errors.New("roster: Registry table has taken longer than expected to reach ACTIVE state")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Registry *Registry // contains filtered or unexported fields }
func NewClient ¶
func NewClient(config ClientConfig) *Client
func (*Client) GetLocalIP ¶
Returns the non loopback local IP of the host the client is running on
type ClientConfig ¶
func (ClientConfig) GetConfig ¶
func (cc ClientConfig) GetConfig() *aws.Config
func (ClientConfig) GetRegistryName ¶
func (cc ClientConfig) GetRegistryName() *string
Click to show internal directories.
Click to hide internal directories.