Documentation ¶
Index ¶
Constants ¶
View Source
const (
BUFFER_SIZE = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
func NewDecoder ¶
func NewDecoder( eventType common.EventType, inQueue queue.QueueReader, eventWriter *dbwriter.EventWriter, config *config.Config, ) *Decoder
func (*Decoder) GetCounter ¶
func (d *Decoder) GetCounter() interface{}
type ResourceInfo ¶
type ResourceInfoTable ¶
type ResourceInfoTable struct { GrpcSession *grpc.GrpcSession // contains filtered or unexported fields }
func NewResourceInfoTable ¶
func NewResourceInfoTable(ips []net.IP, port, rpcMaxMsgSize int) *ResourceInfoTable
func (*ResourceInfoTable) Close ¶
func (p *ResourceInfoTable) Close()
func (*ResourceInfoTable) QueryResourceInfo ¶
func (p *ResourceInfoTable) QueryResourceInfo(resourceType uint32, resourceID uint32) *ResourceInfo
func (*ResourceInfoTable) Reload ¶
func (p *ResourceInfoTable) Reload() error
func (*ResourceInfoTable) Start ¶
func (p *ResourceInfoTable) Start()
Click to show internal directories.
Click to hide internal directories.