index_encoder

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	NewEmpty() (ValueInterface, error)
	NewFromData(data []byte) (ValueInterface, error)
}

type ProtoEncoder

type ProtoEncoder struct {
}

func NewProto

func NewProto() (*ProtoEncoder, error)

func (*ProtoEncoder) NewEmpty

func (e *ProtoEncoder) NewEmpty() (ValueInterface, error)

func (*ProtoEncoder) NewFromData

func (e *ProtoEncoder) NewFromData(data []byte) (ValueInterface, error)

type ProtoEncoderValue

type ProtoEncoderValue struct {
	// contains filtered or unexported fields
}

func (*ProtoEncoderValue) Add

func (e *ProtoEncoderValue) Add(ids ...string) error

func (*ProtoEncoderValue) GetIds

func (e *ProtoEncoderValue) GetIds() ([]string, error)

func (*ProtoEncoderValue) Serialize

func (e *ProtoEncoderValue) Serialize() ([]byte, error)

type ValueInterface

type ValueInterface interface {
	Add(...string) error
	Serialize() ([]byte, error)
	GetIds() ([]string, error)
}

Jump to

Keyboard shortcuts

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