chat

package
v0.0.0-...-bcb826e Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(addr, nickname string) (*client, error)

func NewServer

func NewServer() (*server, error)

Types

type Message

type Message struct {
	Nickname string
	Text     string
}

func (*Message) Read

func (m *Message) Read(r io.Reader) error

func (*Message) Write

func (m *Message) Write(w io.Writer) error

Jump to

Keyboard shortcuts

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