Documentation ¶
Overview ¶
Package server implements a server for Chat service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection stores the streams for active userss
type Server ¶
type Server struct { pb.UnimplementedBroadcastServer Connection map[string]*Connection }
func (*Server) BroadcastMessage ¶
func (*Server) CreateStream ¶
Click to show internal directories.
Click to hide internal directories.