Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWriterOption ¶
func (FileWriterOption) NewFileWriter ¶
func (o FileWriterOption) NewFileWriter() *lumberjack.Logger
NewFileWriter 创建一个文件日志写入器
type NATSWriter ¶
type NATSWriter struct {
// contains filtered or unexported fields
}
type NATSWriterOption ¶
type NATSWriterOption struct { // NATS client Connection *nats.Conn Subject string }
func (NATSWriterOption) NewNATSWriter ¶
func (o NATSWriterOption) NewNATSWriter() *NATSWriter
NewNATSWriter 创建一个NATS写入器
Click to show internal directories.
Click to hide internal directories.