Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
A Pool is used to retrieve pooled connections via it's Get method. When the pool is no longer in use - Close should be called to ensure all resources are released
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
Sink can be used to sync zap logs with redis
func NewSink ¶
NewSink construct a useful instance of zap logger sync that can be used to write logs to a remote redis instance
Click to show internal directories.
Click to hide internal directories.