service

package
v0.0.0-...-8634f68 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoomService

type RoomService interface {
	Create(context.Context, *model.CreateRoom) (*model.Room, error)
	HandleUserEvent(context.Context, string, model.UserEvent) (model.ServerEvent, error)
	StreamServerEvent(context.Context, string) (model.ServerEvent, error)
}

func NewRoomService

func NewRoomService(repository repository.RoomRepository) RoomService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳