Documentation ¶
Overview ¶
Package pubsub is a generated protocol buffer package.
It is generated from these files:
github.com/micro/examples/event/srv/proto/pubsub.proto
It has these top-level messages:
Event
Package pubsub is a generated protocol buffer package.
It is generated from these files:
github.com/micro/examples/event/srv/proto/pubsub.proto
It has these top-level messages:
Event
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // unique id Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // unix timestamp Timestamp int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` // message Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` }
Example message
func (*Event) Descriptor ¶
func (*Event) GetMessage ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.