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)
Click to show internal directories.
Click to hide internal directories.