fileConf

package
v0.0.0-...-b9a802f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2018 License: LGPL-3.0 Imports: 7 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*LogConf) GetConfMap

func (m *LogConf) GetConfMap() map[string]*LogConfInfo

func (*LogConf) ProtoMessage

func (*LogConf) ProtoMessage()

func (*LogConf) Reset

func (m *LogConf) Reset()

func (*LogConf) String

func (m *LogConf) String() string

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 更新日志文件配置信息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL