package
0.7.2
Repository: https://github.com/lucasbfernandes/go-client.git
Documentation: pkg.go.dev

# Functions

NewGroup creates a new peer group.
NewGroupWithContext creates a new peer group.
NewMember returns a new local group member.
NewPeer returns a new group peer.
WithDialOption creates a dial option for the gRPC connection.
WithDialOptions creates a dial option for the gRPC connection.
WithHost configures the peer's host.
WithJoinTimeout configures the client's join timeout.
WithMemberID configures the peer's member ID.
WithNamespace configures the client's partition group namespace.
WithPort configures the peer's port.
WithScope configures the application scope for the client.
WithServerOption configures a server option.
WithServerOptions configures server options.
WithService configures a peer-to-peer service.
WithServices configures peer-to-peer services.

# Structs

Group manages the peer group for a client.
Member is a local group member.
Peer is a peers group peer.

# Interfaces

ConnectOption is an option for connecting to a peer.
Option provides a peer option.

# Type aliases

ID is a peer identifier.
Service is a peer-to-peer primitive service.
Set is a set of peers.