Documentation ¶
Overview ¶
Package schema is a generated protocol buffer package.
It is generated from these files:
payment.proto
It has these top-level messages:
Payment PaymentEvent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payment ¶
type Payment struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` Amount int32 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"` }
func (*Payment) Descriptor ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
type PaymentEvent ¶
type PaymentEvent struct { Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` Amount int32 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"` }
func (*PaymentEvent) Descriptor ¶
func (*PaymentEvent) Descriptor() ([]byte, []int)
func (*PaymentEvent) GetAmount ¶
func (m *PaymentEvent) GetAmount() int32
func (*PaymentEvent) GetId ¶
func (m *PaymentEvent) GetId() string
func (*PaymentEvent) GetType ¶
func (m *PaymentEvent) GetType() string
func (*PaymentEvent) ProtoMessage ¶
func (*PaymentEvent) ProtoMessage()
func (*PaymentEvent) Reset ¶
func (m *PaymentEvent) Reset()
func (*PaymentEvent) String ¶
func (m *PaymentEvent) String() string
Click to show internal directories.
Click to hide internal directories.