Documentation
¶
Overview ¶
This package exists purely to override the net.Listener used by the application's http server. This is necessary for certain versions of firmware which errantly put an 0x0a (LF) following PASSKEY for AmbientWeather type http reporting.
This needs to be fixed upstream by Ambient Weather and is a complete hack that should never be necessary. Without this, the http server will silently crank back an HTTP:400
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LFStrippingConn ¶
type LFStrippingListener ¶
Listener encapsulates LFStrippingConn to perform infuriating strip of newline character present after PASSKEY sent errantly by specific versions of firmware sending updates in AmbientWeather protocol
func (*LFStrippingListener) Addr ¶
func (l *LFStrippingListener) Addr() net.Addr
func (*LFStrippingListener) Close ¶
func (l *LFStrippingListener) Close() error
Click to show internal directories.
Click to hide internal directories.