Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunClient ¶
func RunClient(ctx context.Context, chatInput <-chan string, cl chatterbox.ChatterBoxClient) error
RunClient is an example of a gRPC client for a two-way bidi stream.
func RunMonitor ¶
func RunMonitor(ctx context.Context, cl chatterbox.ChatterBoxClient) error
RunMonitor is an example of a gRPC client for a one-way server stream.
Types ¶
type MembersClient ¶
type MembersClient struct {
// contains filtered or unexported fields
}
type MembersMonitor ¶
type MembersMonitor struct {
// contains filtered or unexported fields
}
func (*MembersMonitor) GetMembers ¶
func (mm *MembersMonitor) GetMembers() []string
GetMembers returns the current list of members (at all times) to the rest of the application.
Click to show internal directories.
Click to hide internal directories.