file

package
v0.0.0-...-0db66cd Latest Latest
Warning

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

Go to latest
Published: May 12, 2016 License: MIT Imports: 3 Imported by: 0

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

func (*File) GetAction

func (m *File) GetAction() File_Action

func (*File) GetMode

func (m *File) GetMode() uint32

func (*File) GetPath

func (m *File) GetPath() string

func (*File) GetPayload

func (m *File) GetPayload() []byte

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) Reset

func (m *File) Reset()

func (*File) String

func (m *File) String() string

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

Jump to

Keyboard shortcuts

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