Skip to content

Tags

Tags

v0.0.2

Toggle v0.0.2's commit message

Verified

This commit was signed with the committer’s verified signature.
myleshorton Myles Horton
Add Serve(net.Listener) for external listener support

Allows callers to provide their own net.Listener (e.g. from sing-box's
listener.Listener) instead of requiring the server to create one via
ListenAndServe. Follows the http.Server.Serve() convention.

ListenAddr validation is moved from NewServer to ListenAndServe so
Serve() callers don't need to set it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.0.1

Toggle v0.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
myleshorton Myles Horton
moved example code in README