package
Version:
v0.1.21
Opens a new window with list of versions in this module.
Published: Jul 31, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetNodeID returns the node ID of the client
GetRemoteAddr returns the remote address of the client
GetUserID returns the user ID of the client
New returns a new HTTP handler with the given auth handler and additional request context fields
Handler represents an HTTP handler that also adds remote client address and node ID to the request context
ServeHTTP serves an HTTP request with the added client remote address and node ID in the request context
RemoteAddr client address
Source Files
¶
Click to show internal directories.
Click to hide internal directories.