Help us shape the future of Go! Take the 2026 Go Developer Survey

schema

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 3 Imported by: 0

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