Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoteRead ¶
func RemoteRead(w http.ResponseWriter, r *http.Request)
func RemoteWrite ¶
func RemoteWrite(w http.ResponseWriter, r *http.Request)
func Server ¶
func Server(endpoint string)
Server starts an HTTP listener on endpoint and waits for connections. This function simply calls ServerTLS without any certificates.
func ServerTLS ¶
ServerTLS starts an HTTP or HTTPS listener on endpoint and waits for connections.
If endpoint is unspecified, ":12350" is used.
If a server certificate is specified, HTTPS is enabled. Simple HTTP is used otherwise.
If a CA certificate is specified, mTLS (mutual TLS) is enabled. Connecting clients must pass a valid client certificate signed by the CA.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.