package
3.0.0-beta+incompatible
Repository: https://github.com/azber/iris.git
Documentation: pkg.go.dev
# README
Package information
I decide to split the whole server from the main iris package because these files don't depends on any of the iris' types.
That's it.
# Functions
New returns a pointer to a Server object, and set it's options if any, nothing more.
# Variables
ErrParsedAddr returns an error with message: 'ListeningAddr error, for TCP and UDP, the syntax of ListeningAddr is host:port, like 127.0.0.1:8080.
ErrServerAlreadyStarted returns an error with message: 'Server is already started and listening'.
ErrServerChmod returns an error with message: 'Cannot chmod +mode for +host:+specific error.
ErrServerIsClosed returns an error with message: 'Can't close the server, propably is already closed or never started'.
ErrServerOptionsMissing returns an error with message: 'You have to pass iris.ServerOptions'.
ErrServerPortAlreadyUsed returns an error with message: 'Server can't run, port is already used'.
ErrServerRemoveUnix returns an error with message: 'Unexpected error when trying to remove unix socket file +filename: +specific error"'.
ErrServerTLSOptionsMissing returns an error with message: 'You have to set CertFile and KeyFile to iris.ServerOptions before ListenTLS'.
ErrServerUnknown returns an error with message: 'Unknown reason from Server, please report this as bug!'.