Documentation ¶
Index ¶
- Variables
- type CutEntry
- func (*CutEntry) Descriptor() ([]byte, []int)
- func (m *CutEntry) Marshal() (dAtA []byte, err error)
- func (m *CutEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *CutEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CutEntry) ProtoMessage()
- func (m *CutEntry) Reset()
- func (m *CutEntry) Size() (n int)
- func (m *CutEntry) String() string
- func (m *CutEntry) Unmarshal(dAtA []byte) error
- func (m *CutEntry) XXX_DiscardUnknown()
- func (m *CutEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CutEntry) XXX_Merge(src proto.Message)
- func (m *CutEntry) XXX_Size() int
- func (m *CutEntry) XXX_Unmarshal(b []byte) error
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) Marshal() (dAtA []byte, err error)
- func (m *Entry) MarshalTo(dAtA []byte) (int, error)
- func (m *Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) Size() (n int)
- func (m *Entry) String() string
- func (m *Entry) Unmarshal(dAtA []byte) error
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (m *Record) Marshal() (dAtA []byte, err error)
- func (m *Record) MarshalTo(dAtA []byte) (int, error)
- func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (m *Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (rec *Record) Validate(crc uint32) error
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRecord = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRecord = fmt.Errorf("proto: unexpected end of group") )
View Source
var (
ErrCRCMismatch = errors.New("walpb: crc mismatch")
)
Functions ¶
This section is empty.
Types ¶
type CutEntry ¶
type CutEntry struct { Index uint64 `protobuf:"varint,1,opt,name=index" json:"index"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CutEntry) Descriptor ¶
func (*CutEntry) MarshalToSizedBuffer ¶
func (*CutEntry) ProtoMessage ¶
func (*CutEntry) ProtoMessage()
func (*CutEntry) XXX_DiscardUnknown ¶
func (m *CutEntry) XXX_DiscardUnknown()
func (*CutEntry) XXX_Marshal ¶
func (*CutEntry) XXX_Unmarshal ¶
type Entry ¶
type Entry struct { StreamName string `protobuf:"bytes,1,opt,name=streamName" json:"streamName"` StreamId string `protobuf:"bytes,2,opt,name=streamId" json:"streamId"` EventId uint64 `protobuf:"varint,3,opt,name=eventId" json:"eventId"` Data []byte `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"` Index uint64 `protobuf:"varint,5,opt,name=index" json:"index"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Entry) Descriptor ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
type Record ¶
type Record struct { Type int64 `protobuf:"varint,1,opt,name=type" json:"type"` Crc uint32 `protobuf:"varint,2,opt,name=crc" json:"crc"` Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Record) Descriptor ¶
func (*Record) MarshalToSizedBuffer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.