pb

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBistreamServiceServer added in v0.2.0

func RegisterBistreamServiceServer(s *grpc.Server, srv BistreamServiceServer)

Types

type BistreamServiceClient added in v0.2.0

type BistreamServiceClient interface {
	RunICode(ctx context.Context, opts ...grpc.CallOption) (BistreamService_RunICodeClient, error)
	Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

BistreamServiceClient is the client API for BistreamService service.

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

func NewBistreamServiceClient added in v0.2.0

func NewBistreamServiceClient(cc *grpc.ClientConn) BistreamServiceClient

type BistreamServiceServer added in v0.2.0

type BistreamServiceServer interface {
	RunICode(BistreamService_RunICodeServer) error
	Ping(context.Context, *Empty) (*Empty, error)
}

BistreamServiceServer is the server API for BistreamService service.

type BistreamService_RunICodeClient added in v0.2.0

type BistreamService_RunICodeClient interface {
	Send(*Request) error
	Recv() (*Response, error)
	grpc.ClientStream
}

type BistreamService_RunICodeServer added in v0.2.0

type BistreamService_RunICodeServer interface {
	Send(*Response) error
	Recv() (*Request, error)
	grpc.ServerStream
}

type Empty added in v0.1.1

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor added in v0.1.1

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

func (*Empty) ProtoMessage added in v0.1.1

func (*Empty) ProtoMessage()

func (*Empty) Reset added in v0.1.1

func (m *Empty) Reset()

func (*Empty) String added in v0.1.1

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown added in v0.1.1

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal added in v0.1.1

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge added in v0.1.1

func (dst *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size added in v0.1.1

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal added in v0.1.1

func (m *Empty) XXX_Unmarshal(b []byte) error

type Request

type Request struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	FunctionName         string   `protobuf:"bytes,3,opt,name=FunctionName,proto3" json:"FunctionName,omitempty"`
	Args                 []string `protobuf:"bytes,4,rep,name=Args,proto3" json:"Args,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Request) Descriptor

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

func (*Request) GetArgs added in v0.2.0

func (m *Request) GetArgs() []string

func (*Request) GetFunctionName added in v0.2.0

func (m *Request) GetFunctionName() string

func (*Request) GetType added in v0.2.0

func (m *Request) GetType() string

func (*Request) GetUuid added in v0.2.0

func (m *Request) GetUuid() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown added in v0.1.1

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal added in v0.1.1

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge added in v0.1.1

func (dst *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size added in v0.1.1

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal added in v0.1.1

func (m *Request) XXX_Unmarshal(b []byte) error

type Response

type Response struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	Error                string   `protobuf:"bytes,4,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetData

func (m *Response) GetData() []byte

func (*Response) GetError

func (m *Response) GetError() string

func (*Response) GetType added in v0.2.0

func (m *Response) GetType() string

func (*Response) GetUuid added in v0.2.0

func (m *Response) GetUuid() string

func (*Response) IsSuccess added in v0.2.4

func (m *Response) IsSuccess() bool

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown added in v0.1.1

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal added in v0.1.1

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge added in v0.1.1

func (dst *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size added in v0.1.1

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal added in v0.1.1

func (m *Response) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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