Documentation
¶
Index ¶
- type ClientTest
- func (c *ClientTest) ForceLeave(node string) error
- func (c *ClientTest) Join(addrs []string, replay bool) (int, error)
- func (c *ClientTest) Leave() error
- func (c *ClientTest) ListKeys() (map[string]int, int, map[string]string, error)
- func (c *ClientTest) Members() ([]SerfClient.Member, error)
- func (c *ClientTest) Stats() (map[string]map[string]string, error)
- func (c *ClientTest) UseKey(key string) (map[string]string, error)
- func (c *ClientTest) UserEvent(name string, payload []byte, coalesce bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientTest ¶
type ClientTest struct { UserEventCalled bool ListKeysCalled bool StatsCalled bool UseKeyCalled bool LeaveCalled bool ForceLeaveCalled bool JoinCalled bool MembersCalled bool }
func NewClientTest ¶
func NewClientTest() *ClientTest
func (*ClientTest) ForceLeave ¶
func (c *ClientTest) ForceLeave(node string) error
func (*ClientTest) Leave ¶
func (c *ClientTest) Leave() error
func (*ClientTest) Members ¶
func (c *ClientTest) Members() ([]SerfClient.Member, error)
Click to show internal directories.
Click to hide internal directories.