Documentation
¶
Index ¶
- type Group
- type ID
- type Member
- type Option
- func WithApplication(application string) Option
- func WithJoinTimeout(timeout time.Duration) Option
- func WithMemberID(memberID string) Option
- func WithNamespace(namespace string) Option
- func WithPeerHost(host string) Option
- func WithPeerPort(port int) Option
- func WithScope(scope string) Option
- func WithService(service Service) Option
- type Peer
- type Service
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
Group manages the peer group for a client
type Member ¶
type Member struct {
*Peer
// contains filtered or unexported fields
}
Member is a local group member
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option provides a client option
func WithApplication ¶
WithApplication configures the application name for the client Deprecated: Use WithScope instead
func WithJoinTimeout ¶
WithJoinTimeout configures the client's join timeout
func WithMemberID ¶
WithMemberID configures the client's member ID
func WithNamespace ¶
WithNamespace configures the client's partition group namespace
func WithPeerHost ¶
WithPeerHost configures the client's peer host
func WithPeerPort ¶
WithPeerPort configures the client's peer port
func WithService ¶
WithService configures a peer-to-peer service
Click to show internal directories.
Click to hide internal directories.