pb

package
v0.0.0-...-bebb8f8 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

gIntercept.proto

It has these top-level messages:

GCDRequest
GCDResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGCDServiceServer

func RegisterGCDServiceServer(s *grpc.Server, srv GCDServiceServer)

Types

type GCDRequest

type GCDRequest struct {
	A uint64 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
	B uint64 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
}

func (*GCDRequest) Descriptor

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

func (*GCDRequest) GetA

func (m *GCDRequest) GetA() uint64

func (*GCDRequest) GetB

func (m *GCDRequest) GetB() uint64

func (*GCDRequest) ProtoMessage

func (*GCDRequest) ProtoMessage()

func (*GCDRequest) Reset

func (m *GCDRequest) Reset()

func (*GCDRequest) String

func (m *GCDRequest) String() string

type GCDResponse

type GCDResponse struct {
	Result uint64 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}

func (*GCDResponse) Descriptor

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

func (*GCDResponse) GetResult

func (m *GCDResponse) GetResult() uint64

func (*GCDResponse) ProtoMessage

func (*GCDResponse) ProtoMessage()

func (*GCDResponse) Reset

func (m *GCDResponse) Reset()

func (*GCDResponse) String

func (m *GCDResponse) String() string

type GCDServiceClient

type GCDServiceClient interface {
	Compute(ctx context.Context, in *GCDRequest, opts ...grpc.CallOption) (*GCDResponse, error)
}

func NewGCDServiceClient

func NewGCDServiceClient(cc *grpc.ClientConn) GCDServiceClient

type GCDServiceServer

type GCDServiceServer interface {
	Compute(context.Context, *GCDRequest) (*GCDResponse, error)
}

Directories

Path Synopsis
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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