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) GetFilename ¶
func (*Event) GetType ¶
func (m *Event) GetType() Event_Type
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
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 (*MetaData) ProtoMessage ¶
func (*MetaData) ProtoMessage()
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
Click to show internal directories.
Click to hide internal directories.