proto

package
v0.0.0-...-28de2d1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

regression.proto

It has these top-level messages:

Input
Parameter
Gradient

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRegressionServer

func RegisterRegressionServer(s *grpc.Server, srv RegressionServer)

Types

type Gradient

type Gradient struct {
	Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*Gradient) ProtoMessage

func (*Gradient) ProtoMessage()

func (*Gradient) Reset

func (m *Gradient) Reset()

func (*Gradient) String

func (m *Gradient) String() string

type Input

type Input struct {
}

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (m *Input) Reset()

func (*Input) String

func (m *Input) String() string

type Parameter

type Parameter struct {
	Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) String

func (m *Parameter) String() string

type RegressionClient

type RegressionClient interface {
	GetParameter(ctx context.Context, in *Input, opts ...grpc.CallOption) (*Parameter, error)
	GetGradient(ctx context.Context, in *Input, opts ...grpc.CallOption) (*Gradient, error)
}

func NewRegressionClient

func NewRegressionClient(cc *grpc.ClientConn) RegressionClient

type RegressionServer

type RegressionServer interface {
	GetParameter(context.Context, *Input) (*Parameter, error)
	GetGradient(context.Context, *Input) (*Gradient, error)
}

Jump to

Keyboard shortcuts

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