chat

package
v0.0.0-...-b3bf091 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package chat implements a basic chat room.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Room

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

Room contains a set of networked client connections.

func New

func New() *Room

New creates a new chatroom.

func (*Room) Close

func (r *Room) Close() error

Close shutdown the chatroom and closes all connections.

Directories

Path Synopsis
This sample program demonstrates how to create a simple chat system.
This sample program demonstrates how to create a simple chat system.

Jump to

Keyboard shortcuts

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