message

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CSID_name = map[int32]string{
		0: "ID_Invalid",
		1: "ID_Heartbeat",
		2: "ID_HeartbeatRsp",
		3: "ID_CipherKeyNtf",
		4: "ID_EmitCheque",
	}
	CSID_value = map[string]int32{
		"ID_Invalid":      0,
		"ID_Heartbeat":    1,
		"ID_HeartbeatRsp": 2,
		"ID_CipherKeyNtf": 3,
		"ID_EmitCheque":   4,
	}
)

Enum value maps for CSID.

View Source
var File_verify_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CSID

type CSID int32
const (
	CSID_ID_Invalid      CSID = 0
	CSID_ID_Heartbeat    CSID = 1
	CSID_ID_HeartbeatRsp CSID = 2
	CSID_ID_CipherKeyNtf CSID = 3
	CSID_ID_EmitCheque   CSID = 4
)

func (CSID) Descriptor

func (CSID) Descriptor() protoreflect.EnumDescriptor

func (CSID) Enum

func (x CSID) Enum() *CSID

func (CSID) EnumDescriptor deprecated

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

Deprecated: Use CSID.Descriptor instead.

func (CSID) Number

func (x CSID) Number() protoreflect.EnumNumber

func (CSID) String

func (x CSID) String() string

func (CSID) Type

func (CSID) Type() protoreflect.EnumType

type CipherKeyNtf

type CipherKeyNtf struct {
	SvrKey string `protobuf:"bytes,1,opt,name=svrKey,proto3" json:"svrKey,omitempty"`
	CltKey string `protobuf:"bytes,2,opt,name=cltKey,proto3" json:"cltKey,omitempty"`
	// contains filtered or unexported fields
}

func (*CipherKeyNtf) Descriptor deprecated

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

Deprecated: Use CipherKeyNtf.ProtoReflect.Descriptor instead.

func (*CipherKeyNtf) GetCltKey

func (x *CipherKeyNtf) GetCltKey() string

func (*CipherKeyNtf) GetSvrKey

func (x *CipherKeyNtf) GetSvrKey() string

func (*CipherKeyNtf) ProtoMessage

func (*CipherKeyNtf) ProtoMessage()

func (*CipherKeyNtf) ProtoReflect

func (x *CipherKeyNtf) ProtoReflect() protoreflect.Message

func (*CipherKeyNtf) Reset

func (x *CipherKeyNtf) Reset()

func (*CipherKeyNtf) String

func (x *CipherKeyNtf) String() string

type EmitCheque

type EmitCheque struct {
	Cheque []byte `protobuf:"bytes,1,opt,name=Cheque,proto3" json:"Cheque,omitempty"`
	// contains filtered or unexported fields
}

func (*EmitCheque) Descriptor deprecated

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

Deprecated: Use EmitCheque.ProtoReflect.Descriptor instead.

func (*EmitCheque) GetCheque

func (x *EmitCheque) GetCheque() []byte

func (*EmitCheque) ProtoMessage

func (*EmitCheque) ProtoMessage()

func (*EmitCheque) ProtoReflect

func (x *EmitCheque) ProtoReflect() protoreflect.Message

func (*EmitCheque) Reset

func (x *EmitCheque) Reset()

func (*EmitCheque) String

func (x *EmitCheque) String() string

type Heartbeat

type Heartbeat struct {
	Peer           string `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
	EthAddr        string `protobuf:"bytes,2,opt,name=ethAddr,proto3" json:"ethAddr,omitempty"`
	ChequebookAddr string `protobuf:"bytes,3,opt,name=chequebookAddr,proto3" json:"chequebookAddr,omitempty"`
	// contains filtered or unexported fields
}

func (*Heartbeat) Descriptor deprecated

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

Deprecated: Use Heartbeat.ProtoReflect.Descriptor instead.

func (*Heartbeat) GetChequebookAddr

func (x *Heartbeat) GetChequebookAddr() string

func (*Heartbeat) GetEthAddr

func (x *Heartbeat) GetEthAddr() string

func (*Heartbeat) GetPeer

func (x *Heartbeat) GetPeer() string

func (*Heartbeat) ProtoMessage

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) ProtoReflect

func (x *Heartbeat) ProtoReflect() protoreflect.Message

func (*Heartbeat) Reset

func (x *Heartbeat) Reset()

func (*Heartbeat) String

func (x *Heartbeat) String() string

type HeartbeatRsp

type HeartbeatRsp struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*HeartbeatRsp) Descriptor deprecated

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

Deprecated: Use HeartbeatRsp.ProtoReflect.Descriptor instead.

func (*HeartbeatRsp) GetMsg

func (x *HeartbeatRsp) GetMsg() string

func (*HeartbeatRsp) ProtoMessage

func (*HeartbeatRsp) ProtoMessage()

func (*HeartbeatRsp) ProtoReflect

func (x *HeartbeatRsp) ProtoReflect() protoreflect.Message

func (*HeartbeatRsp) Reset

func (x *HeartbeatRsp) Reset()

func (*HeartbeatRsp) String

func (x *HeartbeatRsp) String() string

Jump to

Keyboard shortcuts

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