extn

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CtrlExtnData

type CtrlExtnData struct {
	Type common.RawBytes
	Data common.RawBytes
}

func NewCtrlExtnDataFromRaw

func NewCtrlExtnDataFromRaw(b common.RawBytes) (*CtrlExtnData, error)

func NewCtrlExtnDataFromValues

func NewCtrlExtnDataFromValues(e Extension, arenaSize int) (*CtrlExtnData, error)

func (*CtrlExtnData) ProtoId

func (ed *CtrlExtnData) ProtoId() proto.ProtoIdType

func (*CtrlExtnData) String

func (ed *CtrlExtnData) String() string

func (*CtrlExtnData) TypeStr

func (ed *CtrlExtnData) TypeStr() string

func (*CtrlExtnData) Write

func (ed *CtrlExtnData) Write(b common.RawBytes) (int, error)

type CtrlExtnDataList

type CtrlExtnDataList struct {
	Items []*CtrlExtnData
}

func NewCtrlExtnDataListFromRaw

func NewCtrlExtnDataListFromRaw(b common.RawBytes) (*CtrlExtnDataList, error)

func NewCtrlExtnDataListFromValues

func NewCtrlExtnDataListFromValues(items []*CtrlExtnData) *CtrlExtnDataList

func (*CtrlExtnDataList) ProtoId

func (edl *CtrlExtnDataList) ProtoId() proto.ProtoIdType

func (*CtrlExtnDataList) String

func (edl *CtrlExtnDataList) String() string

func (*CtrlExtnDataList) Write

func (edl *CtrlExtnDataList) Write(b common.RawBytes) (int, error)

type Extension

type Extension interface {
	Pack() (common.RawBytes, error)
	CtrlExtnType() common.RawBytes
	proto.Cerealizable
}

Jump to

Keyboard shortcuts

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