data

package
v0.0.0-...-fadaea2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package data is a generated protocol buffer package.

It is generated from these files:

data.proto

It has these top-level messages:

Event
MetaData
ReplicationStart

Index

Constants

This section is empty.

Variables

View Source
var Event_Type_name = map[int32]string{
	1: "UPLOAD",
	2: "DELETE",
}
View Source
var Event_Type_value = map[string]int32{
	"UPLOAD": 1,
	"DELETE": 2,
}

Functions

This section is empty.

Types

type Event

type Event struct {
	Type             *Event_Type `protobuf:"varint,1,req,name=type,enum=data.Event_Type" json:"type,omitempty"`
	Drawer           *string     `protobuf:"bytes,2,req,name=drawer" json:"drawer,omitempty"`
	Filename         *string     `protobuf:"bytes,3,req,name=filename" json:"filename,omitempty"`
	Id               *string     `protobuf:"bytes,4,req,name=id" json:"id,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*Event) GetDrawer

func (m *Event) GetDrawer() string

func (*Event) GetFilename

func (m *Event) GetFilename() string

func (*Event) GetId

func (m *Event) GetId() string

func (*Event) GetType

func (m *Event) GetType() Event_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

type Event_Type

type Event_Type int32
const (
	Event_UPLOAD Event_Type = 1
	Event_DELETE Event_Type = 2
)

func (Event_Type) Enum

func (x Event_Type) Enum() *Event_Type

func (Event_Type) String

func (x Event_Type) String() string

func (*Event_Type) UnmarshalJSON

func (x *Event_Type) UnmarshalJSON(data []byte) error

type MetaData

type MetaData struct {
	ContentType      *string `protobuf:"bytes,1,req,name=content_type" json:"content_type,omitempty"`
	Source           *string `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*MetaData) GetContentType

func (m *MetaData) GetContentType() string

func (*MetaData) GetSource

func (m *MetaData) GetSource() string

func (*MetaData) ProtoMessage

func (*MetaData) ProtoMessage()

func (*MetaData) Reset

func (m *MetaData) Reset()

func (*MetaData) String

func (m *MetaData) String() string

type ReplicationStart

type ReplicationStart struct {
	Event            *string `protobuf:"bytes,1,req,name=event" json:"event,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ReplicationStart) GetEvent

func (m *ReplicationStart) GetEvent() string

func (*ReplicationStart) ProtoMessage

func (*ReplicationStart) ProtoMessage()

func (*ReplicationStart) Reset

func (m *ReplicationStart) Reset()

func (*ReplicationStart) String

func (m *ReplicationStart) String() string

Jump to

Keyboard shortcuts

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