Documentation ¶
Index ¶
- 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) GetDuration() *duration.Duration
- func (m *Retrieve) GetFrom() *timestamp.Timestamp
- func (m *Retrieve) GetResult() *PCounters
- 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 (m *Retrieve) XXX_Size() int
- func (m *Retrieve) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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"` Result *PCounters `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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_Unmarshal ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.