Documentation ¶
Overview ¶
Package messages is a generated protocol buffer package.
It is generated from these files:
messages.proto
It has these top-level messages:
AddItemCommand AddedItemEvent RenameCommand RenamedEvent DumpCommand State
Index ¶
- Variables
- type AddItemCommand
- func (*AddItemCommand) Descriptor() ([]byte, []int)
- func (m *AddItemCommand) Marshal() (data []byte, err error)
- func (m *AddItemCommand) MarshalTo(data []byte) (int, error)
- func (*AddItemCommand) ProtoMessage()
- func (m *AddItemCommand) Reset()
- func (m *AddItemCommand) Size() (n int)
- func (m *AddItemCommand) String() string
- func (m *AddItemCommand) Unmarshal(data []byte) error
- type AddedItemEvent
- func (*AddedItemEvent) Descriptor() ([]byte, []int)
- func (m *AddedItemEvent) Marshal() (data []byte, err error)
- func (m *AddedItemEvent) MarshalTo(data []byte) (int, error)
- func (*AddedItemEvent) ProtoMessage()
- func (m *AddedItemEvent) Reset()
- func (m *AddedItemEvent) Size() (n int)
- func (m *AddedItemEvent) String() string
- func (m *AddedItemEvent) Unmarshal(data []byte) error
- type DumpCommand
- func (*DumpCommand) Descriptor() ([]byte, []int)
- func (m *DumpCommand) Marshal() (data []byte, err error)
- func (m *DumpCommand) MarshalTo(data []byte) (int, error)
- func (*DumpCommand) ProtoMessage()
- func (m *DumpCommand) Reset()
- func (m *DumpCommand) Size() (n int)
- func (m *DumpCommand) String() string
- func (m *DumpCommand) Unmarshal(data []byte) error
- type RenameCommand
- func (*RenameCommand) Descriptor() ([]byte, []int)
- func (m *RenameCommand) Marshal() (data []byte, err error)
- func (m *RenameCommand) MarshalTo(data []byte) (int, error)
- func (*RenameCommand) ProtoMessage()
- func (m *RenameCommand) Reset()
- func (m *RenameCommand) Size() (n int)
- func (m *RenameCommand) String() string
- func (m *RenameCommand) Unmarshal(data []byte) error
- type RenamedEvent
- func (*RenamedEvent) Descriptor() ([]byte, []int)
- func (m *RenamedEvent) Marshal() (data []byte, err error)
- func (m *RenamedEvent) MarshalTo(data []byte) (int, error)
- func (*RenamedEvent) ProtoMessage()
- func (m *RenamedEvent) Reset()
- func (m *RenamedEvent) Size() (n int)
- func (m *RenamedEvent) String() string
- func (m *RenamedEvent) Unmarshal(data []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) Marshal() (data []byte, err error)
- func (m *State) MarshalTo(data []byte) (int, error)
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) Size() (n int)
- func (m *State) String() string
- func (m *State) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMessages = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type AddItemCommand ¶
type AddItemCommand struct {
Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
}
user messages
func (*AddItemCommand) Descriptor ¶
func (*AddItemCommand) Descriptor() ([]byte, []int)
func (*AddItemCommand) Marshal ¶
func (m *AddItemCommand) Marshal() (data []byte, err error)
func (*AddItemCommand) ProtoMessage ¶
func (*AddItemCommand) ProtoMessage()
func (*AddItemCommand) Reset ¶
func (m *AddItemCommand) Reset()
func (*AddItemCommand) Size ¶
func (m *AddItemCommand) Size() (n int)
func (*AddItemCommand) String ¶
func (m *AddItemCommand) String() string
func (*AddItemCommand) Unmarshal ¶
func (m *AddItemCommand) Unmarshal(data []byte) error
type AddedItemEvent ¶
type AddedItemEvent struct {
Item string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
}
func (*AddedItemEvent) Descriptor ¶
func (*AddedItemEvent) Descriptor() ([]byte, []int)
func (*AddedItemEvent) Marshal ¶
func (m *AddedItemEvent) Marshal() (data []byte, err error)
func (*AddedItemEvent) ProtoMessage ¶
func (*AddedItemEvent) ProtoMessage()
func (*AddedItemEvent) Reset ¶
func (m *AddedItemEvent) Reset()
func (*AddedItemEvent) Size ¶
func (m *AddedItemEvent) Size() (n int)
func (*AddedItemEvent) String ¶
func (m *AddedItemEvent) String() string
func (*AddedItemEvent) Unmarshal ¶
func (m *AddedItemEvent) Unmarshal(data []byte) error
type DumpCommand ¶
type DumpCommand struct { }
func (*DumpCommand) Descriptor ¶
func (*DumpCommand) Descriptor() ([]byte, []int)
func (*DumpCommand) Marshal ¶
func (m *DumpCommand) Marshal() (data []byte, err error)
func (*DumpCommand) ProtoMessage ¶
func (*DumpCommand) ProtoMessage()
func (*DumpCommand) Reset ¶
func (m *DumpCommand) Reset()
func (*DumpCommand) Size ¶
func (m *DumpCommand) Size() (n int)
func (*DumpCommand) String ¶
func (m *DumpCommand) String() string
func (*DumpCommand) Unmarshal ¶
func (m *DumpCommand) Unmarshal(data []byte) error
type RenameCommand ¶
type RenameCommand struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (*RenameCommand) Descriptor ¶
func (*RenameCommand) Descriptor() ([]byte, []int)
func (*RenameCommand) Marshal ¶
func (m *RenameCommand) Marshal() (data []byte, err error)
func (*RenameCommand) ProtoMessage ¶
func (*RenameCommand) ProtoMessage()
func (*RenameCommand) Reset ¶
func (m *RenameCommand) Reset()
func (*RenameCommand) Size ¶
func (m *RenameCommand) Size() (n int)
func (*RenameCommand) String ¶
func (m *RenameCommand) String() string
func (*RenameCommand) Unmarshal ¶
func (m *RenameCommand) Unmarshal(data []byte) error
type RenamedEvent ¶
type RenamedEvent struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (*RenamedEvent) Descriptor ¶
func (*RenamedEvent) Descriptor() ([]byte, []int)
func (*RenamedEvent) Marshal ¶
func (m *RenamedEvent) Marshal() (data []byte, err error)
func (*RenamedEvent) ProtoMessage ¶
func (*RenamedEvent) ProtoMessage()
func (*RenamedEvent) Reset ¶
func (m *RenamedEvent) Reset()
func (*RenamedEvent) Size ¶
func (m *RenamedEvent) Size() (n int)
func (*RenamedEvent) String ¶
func (m *RenamedEvent) String() string
func (*RenamedEvent) Unmarshal ¶
func (m *RenamedEvent) Unmarshal(data []byte) error
type State ¶
type State struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Items []string `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` }
func (*State) Descriptor ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.