schema

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: MIT Imports: 3 Imported by: 1

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) Descriptor() ([]byte, []int)

func (*Payment) GetAmount

func (m *Payment) GetAmount() int32

func (*Payment) GetId

func (m *Payment) GetId() string

func (*Payment) GetType

func (m *Payment) GetType() string

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) String

func (m *Payment) String() string

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

Jump to

Keyboard shortcuts

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