Documentation
¶
Overview ¶
Package grpc is a generated protocol buffer package.
It is generated from these files:
frunner.proto
It has these top-level messages:
Data
Index ¶
- func CopyFromStream(ctx context.Context, source DataStream, dest io.Writer) error
- func CopyToStream(ctx context.Context, source io.Reader, dest DataStream) error
- func RegisterFunctionRunnerServer(s *grpc1.Server, srv FunctionRunnerServer)
- type Data
- type DataStream
- type FunctionRunnerClient
- type FunctionRunnerServer
- type FunctionRunner_RunClient
- type FunctionRunner_RunServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFromStream ¶
CopyFromStream copies data from a stream to a writer
func CopyToStream ¶
CopyToStream copies from a reader to a stream
func RegisterFunctionRunnerServer ¶
func RegisterFunctionRunnerServer(s *grpc1.Server, srv FunctionRunnerServer)
Types ¶
type Data ¶
type Data struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
type DataStream ¶
DataStream is either a FunctionRunner_RunClient or FunctionRunner_RunServer
type FunctionRunnerClient ¶
type FunctionRunnerClient interface {
Run(ctx context.Context, opts ...grpc1.CallOption) (FunctionRunner_RunClient, error)
}
func NewFunctionRunnerClient ¶
func NewFunctionRunnerClient(cc *grpc1.ClientConn) FunctionRunnerClient
type FunctionRunnerServer ¶
type FunctionRunnerServer interface {
Run(FunctionRunner_RunServer) error
}
Click to show internal directories.
Click to hide internal directories.