service

package
v0.0.0-...-8ea7061 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatServer

type ChatServer struct {
	sync.RWMutex

	pb.UnimplementedChatRoomServer
	// contains filtered or unexported fields
}

func New

func New() *ChatServer

func (*ChatServer) Chat

func (c *ChatServer) Chat(srv pb.ChatRoom_ChatServer) error

func (*ChatServer) Tell

func (c *ChatServer) Tell(ctx context.Context, req *pb.Message) (*pb.Empty, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL