ipc

package
v0.0.0-...-214c9eb Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IPCEnvelope_MsgType_name = map[int32]string{
	0: "GET_BLOCK_NUMBER",
	1: "GET_TS",
	2: "GET_SENDER",
	3: "GET_BLOCKHASH",
	4: "SUICIDE",
	5: "REVERT",
	6: "GET",
	7: "APPEND",
}
View Source
var IPCEnvelope_MsgType_value = map[string]int32{
	"GET_BLOCK_NUMBER": 0,
	"GET_TS":           1,
	"GET_SENDER":       2,
	"GET_BLOCKHASH":    3,
	"SUICIDE":          4,
	"REVERT":           5,
	"GET":              6,
	"APPEND":           7,
}

Functions

This section is empty.

Types

type Append

type Append struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Append) Descriptor

func (*Append) Descriptor() ([]byte, []int)

func (*Append) GetKey

func (m *Append) GetKey() []byte

func (*Append) GetValue

func (m *Append) GetValue() []byte

func (*Append) ProtoMessage

func (*Append) ProtoMessage()

func (*Append) Reset

func (m *Append) Reset()

func (*Append) String

func (m *Append) String() string

func (*Append) XXX_DiscardUnknown

func (m *Append) XXX_DiscardUnknown()

func (*Append) XXX_Marshal

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

func (*Append) XXX_Merge

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

func (*Append) XXX_Size

func (m *Append) XXX_Size() int

func (*Append) XXX_Unmarshal

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

type IPCEnvelope

type IPCEnvelope struct {
	Type                 IPCEnvelope_MsgType `protobuf:"varint,1,opt,name=type,proto3,enum=IPCEnvelope_MsgType" json:"type,omitempty"`
	Data                 []byte              `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*IPCEnvelope) Descriptor

func (*IPCEnvelope) Descriptor() ([]byte, []int)

func (*IPCEnvelope) GetData

func (m *IPCEnvelope) GetData() []byte

func (*IPCEnvelope) GetType

func (m *IPCEnvelope) GetType() IPCEnvelope_MsgType

func (*IPCEnvelope) ProtoMessage

func (*IPCEnvelope) ProtoMessage()

func (*IPCEnvelope) Reset

func (m *IPCEnvelope) Reset()

func (*IPCEnvelope) String

func (m *IPCEnvelope) String() string

func (*IPCEnvelope) XXX_DiscardUnknown

func (m *IPCEnvelope) XXX_DiscardUnknown()

func (*IPCEnvelope) XXX_Marshal

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

func (*IPCEnvelope) XXX_Merge

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

func (*IPCEnvelope) XXX_Size

func (m *IPCEnvelope) XXX_Size() int

func (*IPCEnvelope) XXX_Unmarshal

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

type IPCEnvelope_MsgType

type IPCEnvelope_MsgType int32
const (
	IPCEnvelope_GET_BLOCK_NUMBER IPCEnvelope_MsgType = 0
	IPCEnvelope_GET_TS           IPCEnvelope_MsgType = 1
	IPCEnvelope_GET_SENDER       IPCEnvelope_MsgType = 2
	IPCEnvelope_GET_BLOCKHASH    IPCEnvelope_MsgType = 3
	IPCEnvelope_SUICIDE          IPCEnvelope_MsgType = 4
	IPCEnvelope_REVERT           IPCEnvelope_MsgType = 5
	IPCEnvelope_GET              IPCEnvelope_MsgType = 6
	IPCEnvelope_APPEND           IPCEnvelope_MsgType = 7
)

func (IPCEnvelope_MsgType) EnumDescriptor

func (IPCEnvelope_MsgType) EnumDescriptor() ([]byte, []int)

func (IPCEnvelope_MsgType) String

func (x IPCEnvelope_MsgType) String() string

Jump to

Keyboard shortcuts

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