Documentation ¶
Overview ¶
Watermill is a Golang library for working efficiently with message streams.
It is intended for building event driven applications, enabling event sourcing, RPC over messages, sagas and basically whatever else comes to your mind.
You can use conventional pub/sub implementations like Kafka or RabbitMQ, but also HTTP or MySQL binlog if that fits your use case.
Website with detailed documentation: https://watermill.io/
Getting started guide: https://watermill.io/docs/getting-started/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerAdapter ¶
type LoggerAdapter interface { Error(msg string, err error, fields LogFields) Info(msg string, fields LogFields) Debug(msg string, fields LogFields) Trace(msg string, fields LogFields) }
func NewStdLogger ¶
func NewStdLogger(debug, trace bool) LoggerAdapter
type StdLoggerAdapter ¶
type StdLoggerAdapter struct { ErrorLogger *log.Logger InfoLogger *log.Logger DebugLogger *log.Logger TraceLogger *log.Logger }
func (*StdLoggerAdapter) Debug ¶
func (l *StdLoggerAdapter) Debug(msg string, fields LogFields)
func (*StdLoggerAdapter) Error ¶
func (l *StdLoggerAdapter) Error(msg string, err error, fields LogFields)
func (*StdLoggerAdapter) Info ¶
func (l *StdLoggerAdapter) Info(msg string, fields LogFields)
func (*StdLoggerAdapter) Trace ¶
func (l *StdLoggerAdapter) Trace(msg string, fields LogFields)
Directories ¶
Path | Synopsis |
---|---|
_examples
|
|
dev
|
|
update-examples-deps
Module
|
|
validate-examples
Module
|
|
wait-for
Module
|
|
docs
|
|
content/docs/getting-started/go-channel
Sources for https://watermill.io/docs/getting-started/
|
Sources for https://watermill.io/docs/getting-started/ |
content/docs/getting-started/router
Sources for https://watermill.io/docs/getting-started/
|
Sources for https://watermill.io/docs/getting-started/ |
internal
|
|
tools
|
|
mill
Module
|
|
pq
Module
|
Click to show internal directories.
Click to hide internal directories.