Documentation ¶
Overview ¶
Actual application code lives here, for example, arg parsing. This keeps the non-unit-testable 'main' package as small as possible.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PeerWriter ¶
type PeerWriter struct { RealWriter io.Writer Hostname string Client Publisher // DEJE client or compatible API }
Tees a write, so that it is both written to the underlying writer, and to the WAMP network.
func NewPeerWriter ¶
func NewPeerWriter(conf ServerConfig) PeerWriter
func (PeerWriter) GetLogger ¶
func (pw PeerWriter) GetLogger() *log.Logger
Click to show internal directories.
Click to hide internal directories.