kvpb

package
v0.0.0-...-93a8726 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthKv = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKv   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type PBKV

type PBKV struct {
	Key string
	Val string
}

func (*PBKV) GetKey

func (m *PBKV) GetKey() string

func (*PBKV) GetVal

func (m *PBKV) GetVal() string

func (*PBKV) Marshal

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

func (*PBKV) MarshalTo

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

func (*PBKV) Size

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

func (*PBKV) Unmarshal

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

Jump to

Keyboard shortcuts

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