test

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package test is a generated protocol buffer package.

It is generated from these files:

test.proto

It has these top-level messages:

Foo
Bar

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	Foos []*Foo   `protobuf:"bytes,1,rep,name=foos" json:"foos,omitempty"`
	Strs []string `protobuf:"bytes,2,rep,name=strs" json:"strs,omitempty"`
	Bufs [][]byte `protobuf:"bytes,3,rep,name=bufs" json:"bufs,omitempty"`
}

func (*Bar) GetBufs

func (m *Bar) GetBufs() [][]byte

func (*Bar) GetFoos

func (m *Bar) GetFoos() []*Foo

func (*Bar) GetStrs

func (m *Bar) GetStrs() []string

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) Reset

func (m *Bar) Reset()

func (*Bar) String

func (m *Bar) String() string

type Foo

type Foo struct {
	A *int32  `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
	B *int32  `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
	C []int32 `protobuf:"varint,3,rep,name=c" json:"c,omitempty"`
	D *int32  `protobuf:"varint,4,opt,name=d" json:"d,omitempty"`
}

func (*Foo) GetA

func (m *Foo) GetA() int32

func (*Foo) GetB

func (m *Foo) GetB() int32

func (*Foo) GetC

func (m *Foo) GetC() []int32

func (*Foo) GetD

func (m *Foo) GetD() int32

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

Jump to

Keyboard shortcuts

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