Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CacheFactory ¶
type CacheFactory struct {
// contains filtered or unexported fields
}
func NewCacheFactory ¶
func NewCacheFactory(createHandler CreateHandler, dLogConfigDriver dlog.ConfigDriver) *CacheFactory
func (*CacheFactory) Destroy ¶
func (c *CacheFactory) Destroy(name string)
func (*CacheFactory) Driver ¶
func (c *CacheFactory) Driver() string
func (*CacheFactory) Get ¶
func (c *CacheFactory) Get(name string, config string, f log.Formatter) (log.EntryTransporter, error)
type CreateHandler ¶
type CreateHandler func(config interface{}, formatter log.Formatter) (TransporterReset, error)
type Drivers ¶
type Drivers struct {
// contains filtered or unexported fields
}
func NewDrivers ¶
func (*Drivers) Cache ¶
func (d *Drivers) Cache(caches map[string]TransportEx)
type TransportEx ¶
type TransportEx interface {
log.EntryTransporter
Driver() string
}
func NewTransportEx ¶
func NewTransportEx(entryTransporter log.EntryTransporter, driverName string) TransportEx
type TransporterReset ¶
type TransporterReset interface {
log.EntryTransporter
Reset(config interface{}, formatter log.Formatter) error
}
Click to show internal directories.
Click to hide internal directories.