Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetExternal() bool
- func (x *Event) GetName() string
- func (x *Event) GetProperties() map[string]string
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Rpc
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // An event name, type, category, or identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Arbitrary event property values. Properties map[string]string `` /* 161-byte string literal not displayed */ // The time when the event was triggered. Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // True if the event came directly from a client call, false otherwise. External bool `protobuf:"varint,4,opt,name=external,proto3" json:"external,omitempty"` // contains filtered or unexported fields }
Represents an event to be passed through the server to registered event handlers.
func (*Event) Descriptor
deprecated
func (*Event) GetExternal ¶
func (*Event) GetProperties ¶
func (*Event) GetTimestamp ¶
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Rpc ¶
type Rpc struct { // The identifier of the function. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The payload of the function which must be a JSON object. Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // The authentication key used when executed as a non-client HTTP request. HttpKey string `protobuf:"bytes,3,opt,name=http_key,json=httpKey,proto3" json:"http_key,omitempty"` // contains filtered or unexported fields }
Execute an Lua function on the server.
func (*Rpc) Descriptor
deprecated
func (*Rpc) GetHttpKey ¶
func (*Rpc) GetPayload ¶
func (*Rpc) ProtoMessage ¶
func (*Rpc) ProtoMessage()
func (*Rpc) ProtoReflect ¶
func (x *Rpc) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.