models

package
v0.0.0-...-b4f489e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Source               string       `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Timestamp            int64        `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Items                []*EventItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetItems

func (m *Event) GetItems() []*EventItem

func (*Event) GetSource

func (m *Event) GetSource() string

func (*Event) GetTimestamp

func (m *Event) GetTimestamp() int64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type EventItem

type EventItem struct {
	Transmitter          string   `protobuf:"bytes,1,opt,name=Transmitter,proto3" json:"Transmitter,omitempty"`
	Metric               string   `protobuf:"bytes,2,opt,name=Metric,proto3" json:"Metric,omitempty"`
	Value                string   `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EventItem) Descriptor

func (*EventItem) Descriptor() ([]byte, []int)

func (*EventItem) GetMetric

func (m *EventItem) GetMetric() string

func (*EventItem) GetTransmitter

func (m *EventItem) GetTransmitter() string

func (*EventItem) GetValue

func (m *EventItem) GetValue() string

func (*EventItem) ProtoMessage

func (*EventItem) ProtoMessage()

func (*EventItem) Reset

func (m *EventItem) Reset()

func (*EventItem) String

func (m *EventItem) String() string

func (*EventItem) XXX_DiscardUnknown

func (m *EventItem) XXX_DiscardUnknown()

func (*EventItem) XXX_Marshal

func (m *EventItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventItem) XXX_Merge

func (m *EventItem) XXX_Merge(src proto.Message)

func (*EventItem) XXX_Size

func (m *EventItem) XXX_Size() int

func (*EventItem) XXX_Unmarshal

func (m *EventItem) XXX_Unmarshal(b []byte) error

type Request

type Request struct {
	Timeout              int64    `protobuf:"varint,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Source               string   `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	Transmitter          string   `protobuf:"bytes,3,opt,name=transmitter,proto3" json:"transmitter,omitempty"`
	Interval             uint32   `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) GetInterval

func (m *Request) GetInterval() uint32

func (*Request) GetSource

func (m *Request) GetSource() string

func (*Request) GetTimeout

func (m *Request) GetTimeout() int64

func (*Request) GetTransmitter

func (m *Request) GetTransmitter() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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