gin: github.com/gin-gonic/gin/binding/example Index | Files

package example

import "github.com/gin-gonic/gin/binding/example"

Package example is a generated protocol buffer package.

It is generated from these files:

test.proto

It has these top-level messages:

Test

Index

Package Files

test.pb.go

Constants

const Default_Test_Type int32 = 77

Variables

var FOO_name = map[int32]string{
    17: "X",
}
var FOO_value = map[string]int32{
    "X": 17,
}

type FOO Uses

type FOO int32
const (
    FOO_X FOO = 17
)

func (FOO) Enum Uses

func (x FOO) Enum() *FOO

func (FOO) String Uses

func (x FOO) String() string

func (*FOO) UnmarshalJSON Uses

func (x *FOO) UnmarshalJSON(data []byte) error

type Test Uses

type Test struct {
    Label            *string             `protobuf:"bytes,1,req,name=label" json:"label,omitempty"`
    Type             *int32              `protobuf:"varint,2,opt,name=type,def=77" json:"type,omitempty"`
    Reps             []int64             `protobuf:"varint,3,rep,name=reps" json:"reps,omitempty"`
    Optionalgroup    *Test_OptionalGroup `protobuf:"group,4,opt,name=OptionalGroup" json:"optionalgroup,omitempty"`
    XXX_unrecognized []byte              `json:"-"`
}

func (*Test) GetLabel Uses

func (m *Test) GetLabel() string

func (*Test) GetOptionalgroup Uses

func (m *Test) GetOptionalgroup() *Test_OptionalGroup

func (*Test) GetReps Uses

func (m *Test) GetReps() []int64

func (*Test) GetType Uses

func (m *Test) GetType() int32

func (*Test) ProtoMessage Uses

func (*Test) ProtoMessage()

func (*Test) Reset Uses

func (m *Test) Reset()

func (*Test) String Uses

func (m *Test) String() string

type Test_OptionalGroup Uses

type Test_OptionalGroup struct {
    RequiredField    *string `protobuf:"bytes,5,req" json:"RequiredField,omitempty"`
    XXX_unrecognized []byte  `json:"-"`
}

func (*Test_OptionalGroup) GetRequiredField Uses

func (m *Test_OptionalGroup) GetRequiredField() string

func (*Test_OptionalGroup) ProtoMessage Uses

func (*Test_OptionalGroup) ProtoMessage()

func (*Test_OptionalGroup) Reset Uses

func (m *Test_OptionalGroup) Reset()

func (*Test_OptionalGroup) String Uses

func (m *Test_OptionalGroup) String() string

Package example imports 2 packages (graph). Updated 2016-12-20. Refresh now. Tools for package owners.