package
0.3.2
Repository: https://github.com/raystack/salt.git
Documentation: pkg.go.dev

# README

Mux

mux package provides helpers for starting multiple servers. HTTP and gRPC servers are supported currently.

Usage

Refer _example/ for usage reference.

# Functions

Serve starts TCP listeners and serves the registered protocol servers of the given serveTarget(s) and blocks until the servers exit.
WithGracePeriod sets the wait duration for graceful shutdown.
No description provided by the author
No description provided by the author

# Type aliases

Option values can be used with Serve() for customisation.