pb

package
v0.0.0-...-00204be Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2017 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

test.proto

It has these top-level messages:

Human
Robot
Alien

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alien

type Alien struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*Alien) Descriptor

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

func (*Alien) ProtoMessage

func (*Alien) ProtoMessage()

func (*Alien) Reset

func (m *Alien) Reset()

func (*Alien) String

func (m *Alien) String() string

type Human

type Human struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

@inject_field: age int @inject_field: spouse *Human @inject_field: IgnoreMe

func (*Human) Descriptor

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

func (*Human) ProtoMessage

func (*Human) ProtoMessage()

func (*Human) Reset

func (m *Human) Reset()

func (*Human) String

func (m *Human) String() string

type Robot

type Robot struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

@inject_field: model string

func (*Robot) Descriptor

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

func (*Robot) ProtoMessage

func (*Robot) ProtoMessage()

func (*Robot) Reset

func (m *Robot) Reset()

func (*Robot) String

func (m *Robot) String() string

Jump to

Keyboard shortcuts

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