pb

package
v0.0.0-...-1606d16 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 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:

IP
URL

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IP

type IP struct {
	// @inject_tag: valid:"ip" yaml:"ip"
	Address string `protobuf:"bytes,1,opt,name=Address" json:"Address,omitempty"`
}

func (*IP) Descriptor

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

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) Reset

func (m *IP) Reset()

func (*IP) String

func (m *IP) String() string

type URL

type URL struct {
	// @inject_tag: valid:"http|https"
	Scheme string `protobuf:"bytes,1,opt,name=scheme" json:"scheme,omitempty"`
	Url    string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// @inject_tag: valid:"nonzero"
	Port int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
}

func (*URL) Descriptor

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

func (*URL) ProtoMessage

func (*URL) ProtoMessage()

func (*URL) Reset

func (m *URL) Reset()

func (*URL) String

func (m *URL) String() string

Jump to

Keyboard shortcuts

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