package
0.0.0-20211102154319-53df4c209bd9
Repository: https://github.com/matthewpi/cosmos.git
Documentation: pkg.go.dev

# Packages

Package listener ...

# Functions

FromLexer .
New .
WithConfig overwrites the config for the server.
WithListener adds another listener to the server.

# Variables

ErrAlreadyServing is returned by Server.Serve() when there are already servers listening.
ErrMissingListener is returned by Server.Serve() when the number of listeners created by Server.Listen() doesn't match the number of listeners set in Config.Listeners.
ErrNoListeners is returned when Server.Serve() is called before Server.Listen().

# Structs

Config represents the configuration for a Server.
Server .

# Type aliases

Opt is a configuration option to initialize a server.