broker

package
v0.0.0-...-69029ee Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 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 Broker

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

Broker type

func New

func New(welcome string) *Broker

New create a new Broker

func (*Broker) Serve

func (b *Broker) Serve(ln net.Listener) error

Serve serves connections from the listener

Jump to

Keyboard shortcuts

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