schema

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: MIT Imports: 3 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
PaymentList
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

type PaymentList added in v0.4.2

type PaymentList struct {
	Items []*Payment `protobuf:"bytes,1,rep,name=Items" json:"Items,omitempty"`
}

func (*PaymentList) Descriptor added in v0.4.2

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

func (*PaymentList) GetItems added in v0.4.2

func (m *PaymentList) GetItems() []*Payment

func (*PaymentList) ProtoMessage added in v0.4.2

func (*PaymentList) ProtoMessage()

func (*PaymentList) Reset added in v0.4.2

func (m *PaymentList) Reset()

func (*PaymentList) String added in v0.4.2

func (m *PaymentList) String() string

Jump to

Keyboard shortcuts

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