protoliontesting

package
v0.0.0-...-304b2f4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package protoliontesting defines testing for protolion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	One         string `protobuf:"bytes,1,opt,name=one" json:"one,omitempty"`
	Two         string `protobuf:"bytes,2,opt,name=two" json:"two,omitempty"`
	StringField string `protobuf:"bytes,3,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
	Int32Field  int32  `protobuf:"varint,4,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"`
}

func (*Bar) Descriptor

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

func (*Bar) GetInt32Field

func (m *Bar) GetInt32Field() int32

func (*Bar) GetOne

func (m *Bar) GetOne() string

func (*Bar) GetStringField

func (m *Bar) GetStringField() string

func (*Bar) GetTwo

func (m *Bar) GetTwo() string

func (*Bar) ProtoMessage

func (*Bar) ProtoMessage()

func (*Bar) Reset

func (m *Bar) Reset()

func (*Bar) String

func (m *Bar) String() string

type Baz

type Baz struct {
	Bat *Baz_Bat `protobuf:"bytes,1,opt,name=bat" json:"bat,omitempty"`
}

func (*Baz) Descriptor

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

func (*Baz) GetBat

func (m *Baz) GetBat() *Baz_Bat

func (*Baz) ProtoMessage

func (*Baz) ProtoMessage()

func (*Baz) Reset

func (m *Baz) Reset()

func (*Baz) String

func (m *Baz) String() string

type Baz_Bat

type Baz_Bat struct {
	Ban *Baz_Bat_Ban `protobuf:"bytes,1,opt,name=ban" json:"ban,omitempty"`
}

func (*Baz_Bat) Descriptor

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

func (*Baz_Bat) GetBan

func (m *Baz_Bat) GetBan() *Baz_Bat_Ban

func (*Baz_Bat) ProtoMessage

func (*Baz_Bat) ProtoMessage()

func (*Baz_Bat) Reset

func (m *Baz_Bat) Reset()

func (*Baz_Bat) String

func (m *Baz_Bat) String() string

type Baz_Bat_Ban

type Baz_Bat_Ban struct {
	StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
	Int32Field  int32  `protobuf:"varint,2,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"`
}

func (*Baz_Bat_Ban) Descriptor

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

func (*Baz_Bat_Ban) GetInt32Field

func (m *Baz_Bat_Ban) GetInt32Field() int32

func (*Baz_Bat_Ban) GetStringField

func (m *Baz_Bat_Ban) GetStringField() string

func (*Baz_Bat_Ban) ProtoMessage

func (*Baz_Bat_Ban) ProtoMessage()

func (*Baz_Bat_Ban) Reset

func (m *Baz_Bat_Ban) Reset()

func (*Baz_Bat_Ban) String

func (m *Baz_Bat_Ban) String() string

type Empty

type Empty struct {
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

type Foo

type Foo struct {
	One         string `protobuf:"bytes,1,opt,name=one" json:"one,omitempty"`
	Two         int32  `protobuf:"varint,2,opt,name=two" json:"two,omitempty"`
	StringField string `protobuf:"bytes,3,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
	Int32Field  int32  `protobuf:"varint,4,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"`
	Bar         *Bar   `protobuf:"bytes,5,opt,name=bar" json:"bar,omitempty"`
}

func (*Foo) Descriptor

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

func (*Foo) GetBar

func (m *Foo) GetBar() *Bar

func (*Foo) GetInt32Field

func (m *Foo) GetInt32Field() int32

func (*Foo) GetOne

func (m *Foo) GetOne() string

func (*Foo) GetStringField

func (m *Foo) GetStringField() string

func (*Foo) GetTwo

func (m *Foo) GetTwo() int32

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

type NoStdJson

type NoStdJson struct {
	One map[uint64]string `` /* 127-byte string literal not displayed */
}

func (*NoStdJson) Descriptor

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

func (*NoStdJson) GetOne

func (m *NoStdJson) GetOne() map[uint64]string

func (*NoStdJson) ProtoMessage

func (*NoStdJson) ProtoMessage()

func (*NoStdJson) Reset

func (m *NoStdJson) Reset()

func (*NoStdJson) String

func (m *NoStdJson) String() string

Jump to

Keyboard shortcuts

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