Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
pb.UnimplementedAuthServiceServer
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(cfg *config.Config, mongoDB *mongo.Client, jwtManager *service.JWTManager) *AuthHandler
func (*AuthHandler) Login ¶
func (h *AuthHandler) Login(ctx context.Context, request *pb.LoginRequest) (*pb.LoginResponse, error)
func (*AuthHandler) Register ¶
func (h *AuthHandler) Register(ctx context.Context, request *pb.RegisterRequest) (*pb.RegisterResponse, error)
type MultiplayerHandler ¶
type MultiplayerHandler struct {
pb.UnimplementedMultiplayerServiceServer
// contains filtered or unexported fields
}
func NewMultiplayerHandler ¶
func NewMultiplayerHandler(cfg *config.Config, mongoDB *mongo.Client, jwtManager *service.JWTManager) *MultiplayerHandler
func (*MultiplayerHandler) RoomConnect ¶
func (h *MultiplayerHandler) RoomConnect(ctx context.Context, request *pb.RoomConnectRequest) (*pb.RoomConnectResponse, error)
func (*MultiplayerHandler) RoomStream ¶
func (h *MultiplayerHandler) RoomStream(stream pb.MultiplayerService_RoomStreamServer) error
Click to show internal directories.
Click to hide internal directories.