walpb

package
Version: v0.0.0-...-8671133 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func (*CutEntry) Marshal

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

func (*CutEntry) MarshalTo

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

func (*CutEntry) MarshalToSizedBuffer

func (m *CutEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CutEntry) ProtoMessage

func (*CutEntry) ProtoMessage()

func (*CutEntry) Reset

func (m *CutEntry) Reset()

func (*CutEntry) Size

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

func (*CutEntry) String

func (m *CutEntry) String() string

func (*CutEntry) Unmarshal

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

func (*CutEntry) XXX_DiscardUnknown

func (m *CutEntry) XXX_DiscardUnknown()

func (*CutEntry) XXX_Marshal

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

func (*CutEntry) XXX_Merge

func (m *CutEntry) XXX_Merge(src proto.Message)

func (*CutEntry) XXX_Size

func (m *CutEntry) XXX_Size() int

func (*CutEntry) XXX_Unmarshal

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

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

func (*Entry) Marshal

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

func (*Entry) MarshalTo

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

func (*Entry) MarshalToSizedBuffer

func (m *Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) Reset

func (m *Entry) Reset()

func (*Entry) Size

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

func (*Entry) String

func (m *Entry) String() string

func (*Entry) Unmarshal

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

func (*Entry) XXX_DiscardUnknown

func (m *Entry) XXX_DiscardUnknown()

func (*Entry) XXX_Marshal

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

func (*Entry) XXX_Merge

func (m *Entry) XXX_Merge(src proto.Message)

func (*Entry) XXX_Size

func (m *Entry) XXX_Size() int

func (*Entry) XXX_Unmarshal

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

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

func (*Record) Marshal

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

func (*Record) MarshalTo

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

func (*Record) MarshalToSizedBuffer

func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) Size

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

func (*Record) String

func (m *Record) String() string

func (*Record) Unmarshal

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

func (*Record) Validate

func (rec *Record) Validate(crc uint32) error

func (*Record) XXX_DiscardUnknown

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal

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

func (*Record) XXX_Merge

func (m *Record) XXX_Merge(src proto.Message)

func (*Record) XXX_Size

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL