chatservice

package
v0.0.0-...-6e4093b Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatService

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

func NewChatService

func NewChatService(
	userRepository userRepository,
	roomRepository roomRepository,
	clientFactory client.Factory,
) *ChatService

func (*ChatService) HandleWSConn

func (c *ChatService) HandleWSConn(wsConn *websocket.Conn, processedData map[string]interface{}) (err error)

func (*ChatService) ProcessData

func (c *ChatService) ProcessData(data map[string]interface{}) (processedData map[string]interface{}, err error)

Jump to

Keyboard shortcuts

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