Documentation
¶
Index ¶
- type ACounter
- func (*ACounter) Descriptor() ([]byte, []int)
- func (m *ACounter) GetAreaId() uint32
- func (m *ACounter) GetAreaName() string
- func (m *ACounter) GetCount() int32
- func (m *ACounter) GetTs() *timestamp.Timestamp
- func (*ACounter) ProtoMessage()
- func (m *ACounter) Reset()
- func (m *ACounter) String() string
- func (m *ACounter) XXX_DiscardUnknown()
- func (m *ACounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ACounter) XXX_Merge(src proto.Message)
- func (m *ACounter) XXX_Size() int
- func (m *ACounter) XXX_Unmarshal(b []byte) error
- type ACounters
- func (*ACounters) Descriptor() ([]byte, []int)
- func (m *ACounters) GetAcs() []*ACounter
- func (m *ACounters) GetIntervalSec() uint32
- func (*ACounters) ProtoMessage()
- func (m *ACounters) Reset()
- func (m *ACounters) String() string
- func (m *ACounters) XXX_DiscardUnknown()
- func (m *ACounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ACounters) XXX_Merge(src proto.Message)
- func (m *ACounters) XXX_Size() int
- func (m *ACounters) XXX_Unmarshal(b []byte) error
- type PCounter
- func (*PCounter) Descriptor() ([]byte, []int)
- func (m *PCounter) GetData() []*PEvent
- func (m *PCounter) GetDeviceId() string
- func (m *PCounter) GetHardware() string
- func (m *PCounter) GetHostname() string
- func (m *PCounter) GetIp() string
- func (m *PCounter) GetIpVpn() string
- func (m *PCounter) GetLocation() string
- func (m *PCounter) GetMac() string
- func (m *PCounter) GetProtocol() string
- func (m *PCounter) GetTimezone() string
- func (m *PCounter) GetTs() *timestamp.Timestamp
- func (*PCounter) ProtoMessage()
- func (m *PCounter) Reset()
- func (m *PCounter) String() string
- func (m *PCounter) XXX_DiscardUnknown()
- func (m *PCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PCounter) XXX_Merge(src proto.Message)
- func (m *PCounter) XXX_Size() int
- func (m *PCounter) XXX_Unmarshal(b []byte) error
- type PCounters
- func (*PCounters) Descriptor() ([]byte, []int)
- func (m *PCounters) GetPcs() []*PCounter
- func (*PCounters) ProtoMessage()
- func (m *PCounters) Reset()
- func (m *PCounters) String() string
- func (m *PCounters) XXX_DiscardUnknown()
- func (m *PCounters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PCounters) XXX_Merge(src proto.Message)
- func (m *PCounters) XXX_Size() int
- func (m *PCounters) XXX_Unmarshal(b []byte) error
- type PEvent
- func (*PEvent) Descriptor() ([]byte, []int)
- func (m *PEvent) GetDir() string
- func (m *PEvent) GetDwellTime() float32
- func (m *PEvent) GetExpDwellTime() float32
- func (m *PEvent) GetFillLevel() uint32
- func (m *PEvent) GetHeight() uint32
- func (m *PEvent) GetId() string
- func (m *PEvent) GetObjectId() uint32
- func (m *PEvent) GetSeq() uint32
- func (m *PEvent) GetTs() *timestamp.Timestamp
- func (m *PEvent) GetTsExit() *timestamp.Timestamp
- func (m *PEvent) GetTyp() string
- func (*PEvent) ProtoMessage()
- func (m *PEvent) Reset()
- func (m *PEvent) String() string
- func (m *PEvent) XXX_DiscardUnknown()
- func (m *PEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PEvent) XXX_Merge(src proto.Message)
- func (m *PEvent) XXX_Size() int
- func (m *PEvent) XXX_Unmarshal(b []byte) error
- type Retrieve
- func (*Retrieve) Descriptor() ([]byte, []int)
- func (m *Retrieve) GetAcRes() *ACounters
- func (m *Retrieve) GetDuration() *duration.Duration
- func (m *Retrieve) GetFrom() *timestamp.Timestamp
- func (m *Retrieve) GetPcRes() *PCounters
- func (m *Retrieve) GetQuery() string
- func (m *Retrieve) GetResult() isRetrieve_Result
- func (*Retrieve) ProtoMessage()
- func (m *Retrieve) Reset()
- func (m *Retrieve) String() string
- func (m *Retrieve) XXX_DiscardUnknown()
- func (m *Retrieve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Retrieve) XXX_Merge(src proto.Message)
- func (*Retrieve) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Retrieve) XXX_Size() int
- func (m *Retrieve) XXX_Unmarshal(b []byte) error
- type Retrieve_AcRes
- type Retrieve_PcRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACounter ¶ added in v0.0.5
type ACounter struct { Ts *timestamp.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` AreaName string `protobuf:"bytes,2,opt,name=areaName,proto3" json:"areaName,omitempty"` AreaId uint32 `protobuf:"varint,3,opt,name=areaId,proto3" json:"areaId,omitempty"` Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Area counter
func (*ACounter) Descriptor ¶ added in v0.0.5
func (*ACounter) GetAreaName ¶ added in v0.0.5
func (*ACounter) ProtoMessage ¶ added in v0.0.5
func (*ACounter) ProtoMessage()
func (*ACounter) XXX_DiscardUnknown ¶ added in v0.0.5
func (m *ACounter) XXX_DiscardUnknown()
func (*ACounter) XXX_Marshal ¶ added in v0.0.5
func (*ACounter) XXX_Unmarshal ¶ added in v0.0.5
type ACounters ¶ added in v0.0.5
type ACounters struct { Acs []*ACounter `protobuf:"bytes,1,rep,name=acs,proto3" json:"acs,omitempty"` IntervalSec uint32 `protobuf:"varint,2,opt,name=intervalSec,proto3" json:"intervalSec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ACounters) Descriptor ¶ added in v0.0.5
func (*ACounters) GetIntervalSec ¶ added in v0.0.5
func (*ACounters) ProtoMessage ¶ added in v0.0.5
func (*ACounters) ProtoMessage()
func (*ACounters) XXX_DiscardUnknown ¶ added in v0.0.5
func (m *ACounters) XXX_DiscardUnknown()
func (*ACounters) XXX_Marshal ¶ added in v0.0.5
func (*ACounters) XXX_Unmarshal ¶ added in v0.0.5
type PCounter ¶
type PCounter struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Timezone string `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` Mac string `protobuf:"bytes,5,opt,name=mac,proto3" json:"mac,omitempty"` Hardware string `protobuf:"bytes,6,opt,name=hardware,proto3" json:"hardware,omitempty"` Protocol string `protobuf:"bytes,7,opt,name=protocol,proto3" json:"protocol,omitempty"` Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"` IpVpn string `protobuf:"bytes,9,opt,name=ip_vpn,json=ipVpn,proto3" json:"ip_vpn,omitempty"` Ts *timestamp.Timestamp `protobuf:"bytes,10,opt,name=ts,proto3" json:"ts,omitempty"` Data []*PEvent `protobuf:"bytes,11,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
People Counter Service message
func (*PCounter) Descriptor ¶
func (*PCounter) GetDeviceId ¶
func (*PCounter) GetHardware ¶
func (*PCounter) GetHostname ¶
func (*PCounter) GetLocation ¶
func (*PCounter) GetProtocol ¶
func (*PCounter) GetTimezone ¶
func (*PCounter) ProtoMessage ¶
func (*PCounter) ProtoMessage()
func (*PCounter) XXX_DiscardUnknown ¶
func (m *PCounter) XXX_DiscardUnknown()
func (*PCounter) XXX_Marshal ¶
func (*PCounter) XXX_Unmarshal ¶
type PCounters ¶ added in v0.0.4
type PCounters struct { Pcs []*PCounter `protobuf:"bytes,1,rep,name=pcs,proto3" json:"pcs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PCounters) Descriptor ¶ added in v0.0.4
func (*PCounters) ProtoMessage ¶ added in v0.0.4
func (*PCounters) ProtoMessage()
func (*PCounters) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *PCounters) XXX_DiscardUnknown()
func (*PCounters) XXX_Marshal ¶ added in v0.0.4
func (*PCounters) XXX_Unmarshal ¶ added in v0.0.4
type PEvent ¶
type PEvent struct { Typ string `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Seq uint32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Dir string `protobuf:"bytes,5,opt,name=dir,proto3" json:"dir,omitempty"` Ts *timestamp.Timestamp `protobuf:"bytes,6,opt,name=ts,proto3" json:"ts,omitempty"` TsExit *timestamp.Timestamp `protobuf:"bytes,7,opt,name=ts_exit,json=tsExit,proto3" json:"ts_exit,omitempty"` FillLevel uint32 `protobuf:"varint,8,opt,name=fillLevel,proto3" json:"fillLevel,omitempty"` DwellTime float32 `protobuf:"fixed32,9,opt,name=dwellTime,proto3" json:"dwellTime,omitempty"` ExpDwellTime float32 `protobuf:"fixed32,10,opt,name=expDwellTime,proto3" json:"expDwellTime,omitempty"` ObjectId uint32 `protobuf:"varint,11,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PEvent) Descriptor ¶
func (*PEvent) GetDwellTime ¶
func (*PEvent) GetExpDwellTime ¶
func (*PEvent) GetFillLevel ¶
func (*PEvent) GetObjectId ¶
func (*PEvent) ProtoMessage ¶
func (*PEvent) ProtoMessage()
func (*PEvent) XXX_DiscardUnknown ¶
func (m *PEvent) XXX_DiscardUnknown()
func (*PEvent) XXX_Marshal ¶
func (*PEvent) XXX_Unmarshal ¶
type Retrieve ¶ added in v0.0.4
type Retrieve struct { From *timestamp.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Duration *duration.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // Types that are valid to be assigned to Result: // *Retrieve_PcRes // *Retrieve_AcRes Result isRetrieve_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
retrieve message
func (*Retrieve) Descriptor ¶ added in v0.0.4
func (*Retrieve) GetDuration ¶ added in v0.0.4
func (*Retrieve) ProtoMessage ¶ added in v0.0.4
func (*Retrieve) ProtoMessage()
func (*Retrieve) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *Retrieve) XXX_DiscardUnknown()
func (*Retrieve) XXX_Marshal ¶ added in v0.0.4
func (*Retrieve) XXX_OneofFuncs ¶ added in v0.0.5
func (*Retrieve) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Retrieve) XXX_Unmarshal ¶ added in v0.0.4
type Retrieve_AcRes ¶ added in v0.0.5
type Retrieve_AcRes struct {
AcRes *ACounters `protobuf:"bytes,5,opt,name=ac_res,json=acRes,proto3,oneof"`
}
type Retrieve_PcRes ¶ added in v0.0.5
type Retrieve_PcRes struct {
PcRes *PCounters `protobuf:"bytes,4,opt,name=pc_res,json=pcRes,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.