Documentation ¶
Overview ¶
Package fileConf is a generated protocol buffer package.
It is generated from these files:
logConf.proto
It has these top-level messages:
LogConf
Index ¶
- Variables
- type LogConf
- type LogConfInfo
- func (*LogConfInfo) Descriptor() ([]byte, []int)
- func (m *LogConfInfo) GetLabel() string
- func (m *LogConfInfo) GetPath() string
- func (m *LogConfInfo) GetRows() int32
- func (m *LogConfInfo) GetValue() string
- func (*LogConfInfo) ProtoMessage()
- func (m *LogConfInfo) Reset()
- func (m *LogConfInfo) String() string
- type LogConfOperInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CurLogConfMap 当前日志参数配置 CurLogConfMap sync.Map // ConfOperChan 新增/修改/删除配置信息的通道 ConfOperChan chan *LogConfOperInfo )
Functions ¶
This section is empty.
Types ¶
type LogConf ¶
type LogConf struct {
ConfMap map[string]*LogConfInfo `` /* 134-byte string literal not displayed */
}
func (*LogConf) Descriptor ¶
func (*LogConf) GetConfMap ¶
func (m *LogConf) GetConfMap() map[string]*LogConfInfo
func (*LogConf) ProtoMessage ¶
func (*LogConf) ProtoMessage()
type LogConfInfo ¶
type LogConfInfo struct { Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` Label string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"` Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` Rows int32 `protobuf:"varint,4,opt,name=rows" json:"rows,omitempty"` }
func (*LogConfInfo) Descriptor ¶
func (*LogConfInfo) Descriptor() ([]byte, []int)
func (*LogConfInfo) GetLabel ¶
func (m *LogConfInfo) GetLabel() string
func (*LogConfInfo) GetPath ¶
func (m *LogConfInfo) GetPath() string
func (*LogConfInfo) GetRows ¶
func (m *LogConfInfo) GetRows() int32
func (*LogConfInfo) GetValue ¶
func (m *LogConfInfo) GetValue() string
func (*LogConfInfo) ProtoMessage ¶
func (*LogConfInfo) ProtoMessage()
func (*LogConfInfo) Reset ¶
func (m *LogConfInfo) Reset()
func (*LogConfInfo) String ¶
func (m *LogConfInfo) String() string
type LogConfOperInfo ¶
type LogConfOperInfo struct { ConfMap map[string]*LogConfInfo RspChan chan string }
LogConfOperInfo 更新日志文件配置信息
Click to show internal directories.
Click to hide internal directories.