messages

package
v0.0.0-...-3670367 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

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) MarshalTo

func (m *AddItemCommand) MarshalTo(data []byte) (int, 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) MarshalTo

func (m *AddedItemEvent) MarshalTo(data []byte) (int, 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) MarshalTo

func (m *DumpCommand) MarshalTo(data []byte) (int, 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) MarshalTo

func (m *RenameCommand) MarshalTo(data []byte) (int, 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) MarshalTo

func (m *RenamedEvent) MarshalTo(data []byte) (int, 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) Descriptor() ([]byte, []int)

func (*State) Marshal

func (m *State) Marshal() (data []byte, err error)

func (*State) MarshalTo

func (m *State) MarshalTo(data []byte) (int, error)

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) Size

func (m *State) Size() (n int)

func (*State) String

func (m *State) String() string

func (*State) Unmarshal

func (m *State) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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