Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChatServiceServerImpl ¶
func NewChatServiceServerImpl() service.ChatServiceServer
Types ¶
type ChatServiceServerImpl ¶
type ChatServiceServerImpl struct {
Message chan string
}
ChatServiceServer is implementation of v1.ChatServiceServer proto interface
func (*ChatServiceServerImpl) Send ¶
func (server *ChatServiceServerImpl) Send(ctx context.Context, req *wrappers.StringValue) (*empty.Empty, error)
func (*ChatServiceServerImpl) Subscribe ¶
func (server *ChatServiceServerImpl) Subscribe(req *empty.Empty, srv service.ChatService_SubscribeServer) error
Click to show internal directories.
Click to hide internal directories.