proto

package
v0.0.0-...-66b60b9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_texc_proto protoreflect.FileDescriptor

Functions

func RegisterTexcServiceServer

func RegisterTexcServiceServer(s *grpc.Server, srv TexcServiceServer)

Types

type Input

type Input struct {
	Data        []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Exec        []string `protobuf:"bytes,2,rep,name=exec,proto3" json:"exec,omitempty"`
	Dl          string   `protobuf:"bytes,3,opt,name=dl,proto3" json:"dl,omitempty"`
	NoOutStream bool     `protobuf:"varint,4,opt,name=no_out_stream,json=noOutStream,proto3" json:"no_out_stream,omitempty"`
	// contains filtered or unexported fields
}

func (*Input) Descriptor deprecated

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

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetData

func (x *Input) GetData() []byte

func (*Input) GetDl

func (x *Input) GetDl() string

func (*Input) GetExec

func (x *Input) GetExec() []string

func (*Input) GetNoOutStream

func (x *Input) GetNoOutStream() bool

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

func (x *Input) ProtoReflect() protoreflect.Message

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

type Output

type Output struct {
	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Stdout []byte `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
	Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*Output) Descriptor deprecated

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetData

func (x *Output) GetData() []byte

func (*Output) GetStderr

func (x *Output) GetStderr() []byte

func (*Output) GetStdout

func (x *Output) GetStdout() []byte

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

func (x *Output) ProtoReflect() protoreflect.Message

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

type TexcServiceClient

type TexcServiceClient interface {
	Sync(ctx context.Context, opts ...grpc.CallOption) (TexcService_SyncClient, error)
}

TexcServiceClient is the client API for TexcService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TexcServiceServer

type TexcServiceServer interface {
	Sync(TexcService_SyncServer) error
}

TexcServiceServer is the server API for TexcService service.

type TexcService_SyncClient

type TexcService_SyncClient interface {
	Send(*Input) error
	Recv() (*Output, error)
	grpc.ClientStream
}

type TexcService_SyncServer

type TexcService_SyncServer interface {
	Send(*Output) error
	Recv() (*Input, error)
	grpc.ServerStream
}

type UnimplementedTexcServiceServer

type UnimplementedTexcServiceServer struct {
}

UnimplementedTexcServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTexcServiceServer) Sync

Jump to

Keyboard shortcuts

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