Documentation ¶
Overview ¶
Package file is a generated protocol buffer package.
It is generated from these files:
file.proto
It has these top-level messages:
File
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_Action_name = map[int32]string{
0: "ADD",
1: "UPDATE",
2: "DELETE",
}
View Source
var File_Action_value = map[string]int32{
"ADD": 0,
"UPDATE": 1,
"DELETE": 2,
}
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Path *string `protobuf:"bytes,1,req,name=path" json:"path,omitempty"` Mode *uint32 `protobuf:"varint,2,req,name=mode" json:"mode,omitempty"` Payload []byte `protobuf:"bytes,3,req,name=payload" json:"payload,omitempty"` Action *File_Action `protobuf:"varint,4,req,name=action,enum=File_Action" json:"action,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*File) Descriptor ¶
func (*File) GetAction ¶
func (m *File) GetAction() File_Action
func (*File) GetPayload ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
type File_Action ¶
type File_Action int32
const ( File_ADD File_Action = 0 File_UPDATE File_Action = 1 File_DELETE File_Action = 2 )
func (File_Action) Enum ¶
func (x File_Action) Enum() *File_Action
func (File_Action) EnumDescriptor ¶
func (File_Action) EnumDescriptor() ([]byte, []int)
func (File_Action) String ¶
func (x File_Action) String() string
func (*File_Action) UnmarshalJSON ¶
func (x *File_Action) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.