package
2.3.0
Repository: https://github.com/petomalina/xrpc.git
Documentation: pkg.go.dev

# Functions

New creates a new server instance on the given port with the given timeout If no port is given, RandomPort is used instead.
Start bootstraps a default http server and starts handling requests.
WithHost sets the host that the server binds to.

# Constants

DefaultTimeout represent a default value for the timeout option of the Server.
RandomPort is a constant used to let the system decide on the port for the server.

# Structs

Server wraps an implementation of a HTTP server with graceful shutdown.

# Type aliases

Option is an extendable builder for server options.