pb

package
v0.0.0-...-3e226e0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_p2p_proto protoreflect.FileDescriptor
View Source
var File_pb_payment_proto protoreflect.FileDescriptor
View Source
var File_pb_ping_proto protoreflect.FileDescriptor
View Source
var File_pb_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConsumerInfo

type ConsumerInfo struct {
	Id             string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	HermesID       string        `protobuf:"bytes,2,opt,name=hermesID,proto3" json:"hermesID,omitempty"`
	PaymentVersion string        `protobuf:"bytes,3,opt,name=paymentVersion,proto3" json:"paymentVersion,omitempty"`
	Location       *LocationInfo `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	Pricing        *Pricing      `protobuf:"bytes,5,opt,name=pricing,proto3" json:"pricing,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsumerInfo) Descriptor deprecated

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

Deprecated: Use ConsumerInfo.ProtoReflect.Descriptor instead.

func (*ConsumerInfo) GetHermesID

func (x *ConsumerInfo) GetHermesID() string

func (*ConsumerInfo) GetId

func (x *ConsumerInfo) GetId() string

func (*ConsumerInfo) GetLocation

func (x *ConsumerInfo) GetLocation() *LocationInfo

func (*ConsumerInfo) GetPaymentVersion

func (x *ConsumerInfo) GetPaymentVersion() string

func (*ConsumerInfo) GetPricing

func (x *ConsumerInfo) GetPricing() *Pricing

func (*ConsumerInfo) ProtoMessage

func (*ConsumerInfo) ProtoMessage()

func (*ConsumerInfo) ProtoReflect

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

func (*ConsumerInfo) Reset

func (x *ConsumerInfo) Reset()

func (*ConsumerInfo) String

func (x *ConsumerInfo) String() string

type ExchangeMessage

type ExchangeMessage struct {
	Promise        *Promise `protobuf:"bytes,1,opt,name=Promise,proto3" json:"Promise,omitempty"`
	AgreementID    string   `protobuf:"bytes,2,opt,name=AgreementID,proto3" json:"AgreementID,omitempty"`
	AgreementTotal string   `protobuf:"bytes,3,opt,name=AgreementTotal,proto3" json:"AgreementTotal,omitempty"`
	Provider       string   `protobuf:"bytes,4,opt,name=Provider,proto3" json:"Provider,omitempty"`
	Signature      string   `protobuf:"bytes,5,opt,name=Signature,proto3" json:"Signature,omitempty"`
	HermesID       string   `protobuf:"bytes,6,opt,name=HermesID,proto3" json:"HermesID,omitempty"`
	ChainID        int64    `protobuf:"varint,7,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeMessage) Descriptor deprecated

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

Deprecated: Use ExchangeMessage.ProtoReflect.Descriptor instead.

func (*ExchangeMessage) GetAgreementID

func (x *ExchangeMessage) GetAgreementID() string

func (*ExchangeMessage) GetAgreementTotal

func (x *ExchangeMessage) GetAgreementTotal() string

func (*ExchangeMessage) GetChainID

func (x *ExchangeMessage) GetChainID() int64

func (*ExchangeMessage) GetHermesID

func (x *ExchangeMessage) GetHermesID() string

func (*ExchangeMessage) GetPromise

func (x *ExchangeMessage) GetPromise() *Promise

func (*ExchangeMessage) GetProvider

func (x *ExchangeMessage) GetProvider() string

func (*ExchangeMessage) GetSignature

func (x *ExchangeMessage) GetSignature() string

func (*ExchangeMessage) ProtoMessage

func (*ExchangeMessage) ProtoMessage()

func (*ExchangeMessage) ProtoReflect

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

func (*ExchangeMessage) Reset

func (x *ExchangeMessage) Reset()

func (*ExchangeMessage) String

func (x *ExchangeMessage) String() string

type Invoice

type Invoice struct {
	AgreementID    string `protobuf:"bytes,1,opt,name=AgreementID,proto3" json:"AgreementID,omitempty"`
	AgreementTotal string `protobuf:"bytes,2,opt,name=AgreementTotal,proto3" json:"AgreementTotal,omitempty"`
	TransactorFee  string `protobuf:"bytes,3,opt,name=TransactorFee,proto3" json:"TransactorFee,omitempty"`
	Hashlock       string `protobuf:"bytes,4,opt,name=Hashlock,proto3" json:"Hashlock,omitempty"`
	Provider       string `protobuf:"bytes,5,opt,name=Provider,proto3" json:"Provider,omitempty"`
	ChainID        int64  `protobuf:"varint,6,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	// contains filtered or unexported fields
}

func (*Invoice) Descriptor deprecated

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

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) GetAgreementID

func (x *Invoice) GetAgreementID() string

func (*Invoice) GetAgreementTotal

func (x *Invoice) GetAgreementTotal() string

func (*Invoice) GetChainID

func (x *Invoice) GetChainID() int64

func (*Invoice) GetHashlock

func (x *Invoice) GetHashlock() string

func (*Invoice) GetProvider

func (x *Invoice) GetProvider() string

func (*Invoice) GetTransactorFee

func (x *Invoice) GetTransactorFee() string

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) ProtoReflect

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

func (*Invoice) Reset

func (x *Invoice) Reset()

func (*Invoice) String

func (x *Invoice) String() string

type LocationInfo

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

func (*LocationInfo) Descriptor deprecated

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

Deprecated: Use LocationInfo.ProtoReflect.Descriptor instead.

func (*LocationInfo) GetCountry

func (x *LocationInfo) GetCountry() string

func (*LocationInfo) ProtoMessage

func (*LocationInfo) ProtoMessage()

func (*LocationInfo) ProtoReflect

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

func (*LocationInfo) Reset

func (x *LocationInfo) Reset()

func (*LocationInfo) String

func (x *LocationInfo) String() string

type P2PChannelEnvelope

type P2PChannelEnvelope struct {
	ID         uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	StatusCode uint64 `protobuf:"varint,2,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	Topic      string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
	Msg        string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"`
	Data       []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*P2PChannelEnvelope) Descriptor deprecated

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

Deprecated: Use P2PChannelEnvelope.ProtoReflect.Descriptor instead.

func (*P2PChannelEnvelope) GetData

func (x *P2PChannelEnvelope) GetData() []byte

func (*P2PChannelEnvelope) GetID

func (x *P2PChannelEnvelope) GetID() uint64

func (*P2PChannelEnvelope) GetMsg

func (x *P2PChannelEnvelope) GetMsg() string

func (*P2PChannelEnvelope) GetStatusCode

func (x *P2PChannelEnvelope) GetStatusCode() uint64

func (*P2PChannelEnvelope) GetTopic

func (x *P2PChannelEnvelope) GetTopic() string

func (*P2PChannelEnvelope) ProtoMessage

func (*P2PChannelEnvelope) ProtoMessage()

func (*P2PChannelEnvelope) ProtoReflect

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

func (*P2PChannelEnvelope) Reset

func (x *P2PChannelEnvelope) Reset()

func (*P2PChannelEnvelope) String

func (x *P2PChannelEnvelope) String() string

type P2PChannelHandlersReady

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

func (*P2PChannelHandlersReady) Descriptor deprecated

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

Deprecated: Use P2PChannelHandlersReady.ProtoReflect.Descriptor instead.

func (*P2PChannelHandlersReady) GetValue

func (x *P2PChannelHandlersReady) GetValue() string

func (*P2PChannelHandlersReady) ProtoMessage

func (*P2PChannelHandlersReady) ProtoMessage()

func (*P2PChannelHandlersReady) ProtoReflect

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

func (*P2PChannelHandlersReady) Reset

func (x *P2PChannelHandlersReady) Reset()

func (*P2PChannelHandlersReady) String

func (x *P2PChannelHandlersReady) String() string

type P2PConfigExchangeMsg

type P2PConfigExchangeMsg struct {
	PublicKey        string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`               // Public key field which is send from both provider and consumer.
	ConfigCiphertext []byte `protobuf:"bytes,2,opt,name=configCiphertext,proto3" json:"configCiphertext,omitempty"` // Encrypted P2PConnectConfig data.
	// contains filtered or unexported fields
}

func (*P2PConfigExchangeMsg) Descriptor deprecated

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

Deprecated: Use P2PConfigExchangeMsg.ProtoReflect.Descriptor instead.

func (*P2PConfigExchangeMsg) GetConfigCiphertext

func (x *P2PConfigExchangeMsg) GetConfigCiphertext() []byte

func (*P2PConfigExchangeMsg) GetPublicKey

func (x *P2PConfigExchangeMsg) GetPublicKey() string

func (*P2PConfigExchangeMsg) ProtoMessage

func (*P2PConfigExchangeMsg) ProtoMessage()

func (*P2PConfigExchangeMsg) ProtoReflect

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

func (*P2PConfigExchangeMsg) Reset

func (x *P2PConfigExchangeMsg) Reset()

func (*P2PConfigExchangeMsg) String

func (x *P2PConfigExchangeMsg) String() string

type P2PConnectConfig

type P2PConnectConfig struct {
	PublicIP      string  `protobuf:"bytes,1,opt,name=publicIP,proto3" json:"publicIP,omitempty"`
	Ports         []int32 `protobuf:"varint,2,rep,packed,name=ports,proto3" json:"ports,omitempty"`
	Compatibility int32   `protobuf:"varint,3,opt,name=compatibility,proto3" json:"compatibility,omitempty"`
	// contains filtered or unexported fields
}

func (*P2PConnectConfig) Descriptor deprecated

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

Deprecated: Use P2PConnectConfig.ProtoReflect.Descriptor instead.

func (*P2PConnectConfig) GetCompatibility

func (x *P2PConnectConfig) GetCompatibility() int32

func (*P2PConnectConfig) GetPorts

func (x *P2PConnectConfig) GetPorts() []int32

func (*P2PConnectConfig) GetPublicIP

func (x *P2PConnectConfig) GetPublicIP() string

func (*P2PConnectConfig) ProtoMessage

func (*P2PConnectConfig) ProtoMessage()

func (*P2PConnectConfig) ProtoReflect

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

func (*P2PConnectConfig) Reset

func (x *P2PConnectConfig) Reset()

func (*P2PConnectConfig) String

func (x *P2PConnectConfig) String() string

type P2PKeepAlivePing

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

func (*P2PKeepAlivePing) Descriptor deprecated

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

Deprecated: Use P2PKeepAlivePing.ProtoReflect.Descriptor instead.

func (*P2PKeepAlivePing) GetSessionID

func (x *P2PKeepAlivePing) GetSessionID() string

func (*P2PKeepAlivePing) ProtoMessage

func (*P2PKeepAlivePing) ProtoMessage()

func (*P2PKeepAlivePing) ProtoReflect

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

func (*P2PKeepAlivePing) Reset

func (x *P2PKeepAlivePing) Reset()

func (*P2PKeepAlivePing) String

func (x *P2PKeepAlivePing) String() string

type P2PSignedMsg

type P2PSignedMsg struct {
	Data      []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`           // Holds data of P2PConfigExchange.
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // Signature of data field.
	// contains filtered or unexported fields
}

func (*P2PSignedMsg) Descriptor deprecated

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

Deprecated: Use P2PSignedMsg.ProtoReflect.Descriptor instead.

func (*P2PSignedMsg) GetData

func (x *P2PSignedMsg) GetData() []byte

func (*P2PSignedMsg) GetSignature

func (x *P2PSignedMsg) GetSignature() []byte

func (*P2PSignedMsg) ProtoMessage

func (*P2PSignedMsg) ProtoMessage()

func (*P2PSignedMsg) ProtoReflect

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

func (*P2PSignedMsg) Reset

func (x *P2PSignedMsg) Reset()

func (*P2PSignedMsg) String

func (x *P2PSignedMsg) String() string

type PingPong

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

func (*PingPong) Descriptor deprecated

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

Deprecated: Use PingPong.ProtoReflect.Descriptor instead.

func (*PingPong) GetValue

func (x *PingPong) GetValue() string

func (*PingPong) ProtoMessage

func (*PingPong) ProtoMessage()

func (*PingPong) ProtoReflect

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

func (*PingPong) Reset

func (x *PingPong) Reset()

func (*PingPong) String

func (x *PingPong) String() string

type Pricing

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

func (*Pricing) Descriptor deprecated

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

Deprecated: Use Pricing.ProtoReflect.Descriptor instead.

func (*Pricing) GetPerGib

func (x *Pricing) GetPerGib() []byte

func (*Pricing) GetPerHour

func (x *Pricing) GetPerHour() []byte

func (*Pricing) ProtoMessage

func (*Pricing) ProtoMessage()

func (*Pricing) ProtoReflect

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

func (*Pricing) Reset

func (x *Pricing) Reset()

func (*Pricing) String

func (x *Pricing) String() string

type Promise

type Promise struct {
	ChannelID []byte `protobuf:"bytes,1,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"`
	Amount    string `protobuf:"bytes,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
	Fee       string `protobuf:"bytes,3,opt,name=Fee,proto3" json:"Fee,omitempty"`
	Hashlock  []byte `protobuf:"bytes,4,opt,name=Hashlock,proto3" json:"Hashlock,omitempty"`
	R         []byte `protobuf:"bytes,5,opt,name=R,proto3" json:"R,omitempty"`
	ChainID   int64  `protobuf:"varint,6,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Signature []byte `protobuf:"bytes,7,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Promise) Descriptor deprecated

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

Deprecated: Use Promise.ProtoReflect.Descriptor instead.

func (*Promise) GetAmount

func (x *Promise) GetAmount() string

func (*Promise) GetChainID

func (x *Promise) GetChainID() int64

func (*Promise) GetChannelID

func (x *Promise) GetChannelID() []byte

func (*Promise) GetFee

func (x *Promise) GetFee() string

func (*Promise) GetHashlock

func (x *Promise) GetHashlock() []byte

func (*Promise) GetR

func (x *Promise) GetR() []byte

func (*Promise) GetSignature

func (x *Promise) GetSignature() []byte

func (*Promise) ProtoMessage

func (*Promise) ProtoMessage()

func (*Promise) ProtoReflect

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

func (*Promise) Reset

func (x *Promise) Reset()

func (*Promise) String

func (x *Promise) String() string

type SessionInfo

type SessionInfo struct {
	ConsumerID string `protobuf:"bytes,1,opt,name=consumerID,proto3" json:"consumerID,omitempty"`
	SessionID  string `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionInfo) Descriptor deprecated

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

Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.

func (*SessionInfo) GetConsumerID

func (x *SessionInfo) GetConsumerID() string

func (*SessionInfo) GetSessionID

func (x *SessionInfo) GetSessionID() string

func (*SessionInfo) ProtoMessage

func (*SessionInfo) ProtoMessage()

func (*SessionInfo) ProtoReflect

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

func (*SessionInfo) Reset

func (x *SessionInfo) Reset()

func (*SessionInfo) String

func (x *SessionInfo) String() string

type SessionRequest

type SessionRequest struct {
	Consumer   *ConsumerInfo `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"`
	ProposalID int64         `protobuf:"varint,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
	Config     []byte        `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionRequest) Descriptor deprecated

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

Deprecated: Use SessionRequest.ProtoReflect.Descriptor instead.

func (*SessionRequest) GetConfig

func (x *SessionRequest) GetConfig() []byte

func (*SessionRequest) GetConsumer

func (x *SessionRequest) GetConsumer() *ConsumerInfo

func (*SessionRequest) GetProposalID

func (x *SessionRequest) GetProposalID() int64

func (*SessionRequest) ProtoMessage

func (*SessionRequest) ProtoMessage()

func (*SessionRequest) ProtoReflect

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

func (*SessionRequest) Reset

func (x *SessionRequest) Reset()

func (*SessionRequest) String

func (x *SessionRequest) String() string

type SessionResponse

type SessionResponse struct {
	ID          string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	PaymentInfo string `protobuf:"bytes,2,opt,name=PaymentInfo,proto3" json:"PaymentInfo,omitempty"`
	Config      []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionResponse) Descriptor deprecated

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

Deprecated: Use SessionResponse.ProtoReflect.Descriptor instead.

func (*SessionResponse) GetConfig

func (x *SessionResponse) GetConfig() []byte

func (*SessionResponse) GetID

func (x *SessionResponse) GetID() string

func (*SessionResponse) GetPaymentInfo

func (x *SessionResponse) GetPaymentInfo() string

func (*SessionResponse) ProtoMessage

func (*SessionResponse) ProtoMessage()

func (*SessionResponse) ProtoReflect

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

func (*SessionResponse) Reset

func (x *SessionResponse) Reset()

func (*SessionResponse) String

func (x *SessionResponse) String() string

type SessionStatus

type SessionStatus struct {
	ConsumerID string `protobuf:"bytes,1,opt,name=ConsumerID,proto3" json:"ConsumerID,omitempty"`
	SessionID  string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	Code       uint32 `protobuf:"varint,3,opt,name=Code,proto3" json:"Code,omitempty"`
	Message    string `protobuf:"bytes,4,opt,name=Message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStatus) Descriptor deprecated

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

Deprecated: Use SessionStatus.ProtoReflect.Descriptor instead.

func (*SessionStatus) GetCode

func (x *SessionStatus) GetCode() uint32

func (*SessionStatus) GetConsumerID

func (x *SessionStatus) GetConsumerID() string

func (*SessionStatus) GetMessage

func (x *SessionStatus) GetMessage() string

func (*SessionStatus) GetSessionID

func (x *SessionStatus) GetSessionID() string

func (*SessionStatus) ProtoMessage

func (*SessionStatus) ProtoMessage()

func (*SessionStatus) ProtoReflect

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

func (*SessionStatus) Reset

func (x *SessionStatus) Reset()

func (*SessionStatus) String

func (x *SessionStatus) String() string

Jump to

Keyboard shortcuts

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