flavortown_dessert

package
v0.0.0-...-9285232 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package flavortown_dessert is a generated protocol buffer package.

It is generated from these files:

dessert.proto

It has these top-level messages:

Dessert

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDessert = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDessert   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Dessert

type Dessert struct {
	// The name of the dish
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// How sweet is the dish, an integer between 0 and 10
	Sweetness int32 `protobuf:"varint,2,opt,name=sweetness,proto3" json:"sweetness,omitempty"`
}

A delicious dessert dish on the menu

func NewPopulatedDessert

func NewPopulatedDessert(r randyDessert, easy bool) *Dessert

func (*Dessert) Descriptor

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

func (*Dessert) Equal

func (this *Dessert) Equal(that interface{}) bool

func (*Dessert) Marshal

func (m *Dessert) Marshal() (data []byte, err error)

func (*Dessert) MarshalTo

func (m *Dessert) MarshalTo(data []byte) (int, error)

func (*Dessert) ProtoMessage

func (*Dessert) ProtoMessage()

func (*Dessert) Reset

func (m *Dessert) Reset()

func (*Dessert) Size

func (m *Dessert) Size() (n int)

func (*Dessert) String

func (m *Dessert) String() string

func (*Dessert) Unmarshal

func (m *Dessert) Unmarshal(data []byte) error

type DessertGetter

type DessertGetter interface {
	GetDessert() *Dessert
}

Jump to

Keyboard shortcuts

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