package
0.6.6
Repository: https://github.com/katallaxie/pkg.git
Documentation: pkg.go.dev

# Functions

NewError returns a new error.
WithContext is creating a new server with a context.

# Variables

DefaultEnv is the default environment variables to lookup the service name.
ErrUnimplemented is returned when a listener is not implemented.
Service is used to configure the service.

# Structs

Error ...
Unimplemented is the default implementation.

# Interfaces

Listener is the interface to a listener, so starting and shutdown of a listener, or any routine.
Server is the interface to be implemented to run the server.

# Type aliases

Name is used to return the service name.
ReadyFunc is the function that is called by Listener to signal that it is ready and the next Listener can be called.
RunFunc is a function that is called to attach more routines to the server.
ServiceEnv is a list of environment variables to lookup the service name.