protos

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

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

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDoc = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDoc   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDocmsg = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDocmsg   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthProtodescriptor = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProtodescriptor   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Doc                  string   `protobuf:"bytes,1,opt,name=doc,proto3" json:"doc,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Doc) Descriptor

func (*Doc) Descriptor() ([]byte, []int)

func (*Doc) GetDoc

func (m *Doc) GetDoc() string

func (*Doc) Marshal

func (m *Doc) Marshal() (dAtA []byte, err error)

func (*Doc) MarshalTo

func (m *Doc) MarshalTo(dAtA []byte) (int, error)

func (*Doc) ProtoMessage

func (*Doc) ProtoMessage()

func (*Doc) Reset

func (m *Doc) Reset()

func (*Doc) Size

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

func (*Doc) String

func (m *Doc) String() string

func (*Doc) Unmarshal

func (m *Doc) Unmarshal(dAtA []byte) error

func (*Doc) XXX_DiscardUnknown

func (m *Doc) XXX_DiscardUnknown()

func (*Doc) XXX_Marshal

func (m *Doc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Doc) XXX_Merge

func (dst *Doc) XXX_Merge(src proto.Message)

func (*Doc) XXX_Size

func (m *Doc) XXX_Size() int

func (*Doc) XXX_Unmarshal

func (m *Doc) XXX_Unmarshal(b []byte) error

type DocMsg

type DocMsg struct {
	GetProtos            bool     `protobuf:"varint,1,opt,name=getProtos,proto3" json:"getProtos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DocMsg) Descriptor

func (*DocMsg) Descriptor() ([]byte, []int)

func (*DocMsg) GetGetProtos

func (m *DocMsg) GetGetProtos() bool

func (*DocMsg) Marshal

func (m *DocMsg) Marshal() (dAtA []byte, err error)

func (*DocMsg) MarshalTo

func (m *DocMsg) MarshalTo(dAtA []byte) (int, error)

func (*DocMsg) ProtoMessage

func (*DocMsg) ProtoMessage()

func (*DocMsg) Reset

func (m *DocMsg) Reset()

func (*DocMsg) Size

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

func (*DocMsg) String

func (m *DocMsg) String() string

func (*DocMsg) Unmarshal

func (m *DocMsg) Unmarshal(dAtA []byte) error

func (*DocMsg) XXX_DiscardUnknown

func (m *DocMsg) XXX_DiscardUnknown()

func (*DocMsg) XXX_Marshal

func (m *DocMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DocMsg) XXX_Merge

func (dst *DocMsg) XXX_Merge(src proto.Message)

func (*DocMsg) XXX_Size

func (m *DocMsg) XXX_Size() int

func (*DocMsg) XXX_Unmarshal

func (m *DocMsg) XXX_Unmarshal(b []byte) error

type ProtoDescriptor

type ProtoDescriptor struct {
	Desc                 []byte   `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Descriptor proto used to retrieve zipped proto descriptors remotely

func (*ProtoDescriptor) Descriptor

func (*ProtoDescriptor) Descriptor() ([]byte, []int)

func (*ProtoDescriptor) GetDesc

func (m *ProtoDescriptor) GetDesc() []byte

func (*ProtoDescriptor) Marshal

func (m *ProtoDescriptor) Marshal() (dAtA []byte, err error)

func (*ProtoDescriptor) MarshalTo

func (m *ProtoDescriptor) MarshalTo(dAtA []byte) (int, error)

func (*ProtoDescriptor) ProtoMessage

func (*ProtoDescriptor) ProtoMessage()

func (*ProtoDescriptor) Reset

func (m *ProtoDescriptor) Reset()

func (*ProtoDescriptor) Size

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

func (*ProtoDescriptor) String

func (m *ProtoDescriptor) String() string

func (*ProtoDescriptor) Unmarshal

func (m *ProtoDescriptor) Unmarshal(dAtA []byte) error

func (*ProtoDescriptor) XXX_DiscardUnknown

func (m *ProtoDescriptor) XXX_DiscardUnknown()

func (*ProtoDescriptor) XXX_Marshal

func (m *ProtoDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoDescriptor) XXX_Merge

func (dst *ProtoDescriptor) XXX_Merge(src proto.Message)

func (*ProtoDescriptor) XXX_Size

func (m *ProtoDescriptor) XXX_Size() int

func (*ProtoDescriptor) XXX_Unmarshal

func (m *ProtoDescriptor) XXX_Unmarshal(b []byte) error

type ProtoName

type ProtoName struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProtoName) Descriptor

func (*ProtoName) Descriptor() ([]byte, []int)

func (*ProtoName) GetName

func (m *ProtoName) GetName() string

func (*ProtoName) Marshal

func (m *ProtoName) Marshal() (dAtA []byte, err error)

func (*ProtoName) MarshalTo

func (m *ProtoName) MarshalTo(dAtA []byte) (int, error)

func (*ProtoName) ProtoMessage

func (*ProtoName) ProtoMessage()

func (*ProtoName) Reset

func (m *ProtoName) Reset()

func (*ProtoName) Size

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

func (*ProtoName) String

func (m *ProtoName) String() string

func (*ProtoName) Unmarshal

func (m *ProtoName) Unmarshal(dAtA []byte) error

func (*ProtoName) XXX_DiscardUnknown

func (m *ProtoName) XXX_DiscardUnknown()

func (*ProtoName) XXX_Marshal

func (m *ProtoName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProtoName) XXX_Merge

func (dst *ProtoName) XXX_Merge(src proto.Message)

func (*ProtoName) XXX_Size

func (m *ProtoName) XXX_Size() int

func (*ProtoName) XXX_Unmarshal

func (m *ProtoName) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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