room

package
v0.0.0-...-ddaadf8 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2018 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGRPC

func RegisterGRPC(grsv *grpc.Server)

Types

type Room

type Room struct {
	// contains filtered or unexported fields
}

func (*Room) Join

func (r *Room) Join(u user.User) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

func (*Server) Create

func (s *Server) Create(ctx context.Context, u *pb.User) (*pb.RoomInfo, error)

func (*Server) Join

func (s *Server) Join(ctx context.Context, info *pb.RoomJoinRequest) (*pb.RoomInfo, error)

Jump to

Keyboard shortcuts

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