pubsub

package
v0.0.0-...-1891367 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*Event) GetId

func (m *Event) GetId() string

func (*Event) GetMessage

func (m *Event) GetMessage() 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

Jump to

Keyboard shortcuts

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