protobuf

package
Version: v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 5 Imported by: 11

Documentation

Overview

Package protobuf contains a codec to encode and decode entities in Protocol Buffer

Package protobuf is a generated protocol buffer package.

It is generated from these files:

simple_user.proto

It has these top-level messages:

SimpleUser

Index

Constants

This section is empty.

Variables

View Source
var (
	Codec = new(protobufCodec)
)

More details on Protocol Buffers https://github.com/golang/protobuf

Functions

This section is empty.

Types

type SimpleUser

type SimpleUser struct {
	Id   uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty" storm:"id"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Age  int32  `protobuf:"varint,3,opt,name=age" json:"age,omitempty"`
}

func (*SimpleUser) Descriptor

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

func (*SimpleUser) ProtoMessage

func (*SimpleUser) ProtoMessage()

func (*SimpleUser) Reset

func (m *SimpleUser) Reset()

func (*SimpleUser) String

func (m *SimpleUser) String() string

Jump to

Keyboard shortcuts

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