versionpb

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package versionpb is a generated protocol buffer package.

It is generated from these files:

client/version/versionpb/version.proto

It has these top-level messages:

Version

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	GetVersion(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*Version, error)
}

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer

type APIServer interface {
	GetVersion(context.Context, *google_protobuf1.Empty) (*Version, error)
}

type Version

type Version struct {
	Major      uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor      uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	Micro      uint32 `protobuf:"varint,3,opt,name=micro,proto3" json:"micro,omitempty"`
	Additional string `protobuf:"bytes,4,opt,name=additional,proto3" json:"additional,omitempty"`
}

func (*Version) Descriptor

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

func (*Version) GetAdditional

func (m *Version) GetAdditional() string

func (*Version) GetMajor

func (m *Version) GetMajor() uint32

func (*Version) GetMicro

func (m *Version) GetMicro() uint32

func (*Version) GetMinor

func (m *Version) GetMinor() uint32

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) String

func (m *Version) String() string

Jump to

Keyboard shortcuts

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