machat: github.com/minaandrawos/machat Index | Files | Directories

package machat

import "github.com/minaandrawos/machat"

Index

Package Files

gotcpchat.go gowschat.go

func RunTCP Uses

func RunTCP(connection string) error

RunTCP will start chat tcp server on the provided connection string

func RunTCPWithExistingAPI Uses

func RunTCPWithExistingAPI(connection string, chat *chatapi.ChatAPI) error

RunTCPWithExistingAPI will start chat tcp server on the provided connection string using an existing chat api session

func RunWSChat Uses

func RunWSChat(url, address string, Rbsize, Wbsize int) error

RunWSChat starts a websocket chat server

func RunWSChatWithExistingAPI Uses

func RunWSChatWithExistingAPI(url, address string, Rbsize, Wbsize int, chat *chatapi.ChatAPI) error

RunWSChatWithExistingAPI starts a websocket chat server with an existing chat api session

Directories

PathSynopsis
chatapi
dblayer
dblayer/impl

Package machat imports 6 packages (graph). Updated 2018-01-26. Refresh now. Tools for package owners.