isp

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_backend_service_proto protoreflect.FileDescriptor

Functions

func RegisterBackendServiceServer

func RegisterBackendServiceServer(s *grpc.Server, srv BackendServiceServer)

Types

type BackendServiceClient

type BackendServiceClient interface {
	// ===== SYSTEM =====
	Request(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error)
	RequestStream(ctx context.Context, opts ...grpc.CallOption) (BackendService_RequestStreamClient, error)
}

BackendServiceClient is the client API for BackendService service.

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

type BackendServiceServer

type BackendServiceServer interface {
	// ===== SYSTEM =====
	Request(context.Context, *Message) (*Message, error)
	RequestStream(BackendService_RequestStreamServer) error
}

BackendServiceServer is the server API for BackendService service.

type BackendService_RequestStreamClient

type BackendService_RequestStreamClient interface {
	Send(*Message) error
	Recv() (*Message, error)
	grpc.ClientStream
}

type BackendService_RequestStreamServer

type BackendService_RequestStreamServer interface {
	Send(*Message) error
	Recv() (*Message, error)
	grpc.ServerStream
}

type Message

type Message struct {

	// Types that are assignable to Body:
	//	*Message_StructBody
	//	*Message_ListBody
	//	*Message_NullBody
	//	*Message_BytesBody
	Body isMessage_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetBody

func (m *Message) GetBody() isMessage_Body

func (*Message) GetBytesBody

func (x *Message) GetBytesBody() []byte

func (*Message) GetListBody

func (x *Message) GetListBody() *_struct.ListValue

func (*Message) GetNullBody

func (x *Message) GetNullBody() _struct.NullValue

func (*Message) GetStructBody

func (x *Message) GetStructBody() *_struct.Struct

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect added in v2.7.0

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_BytesBody

type Message_BytesBody struct {
	BytesBody []byte `protobuf:"bytes,4,opt,name=BytesBody,proto3,oneof"`
}

type Message_ListBody

type Message_ListBody struct {
	ListBody *_struct.ListValue `protobuf:"bytes,2,opt,name=listBody,proto3,oneof"`
}

type Message_NullBody

type Message_NullBody struct {
	NullBody _struct.NullValue `protobuf:"varint,3,opt,name=NullBody,proto3,enum=google.protobuf.NullValue,oneof"`
}

type Message_StructBody

type Message_StructBody struct {
	StructBody *_struct.Struct `protobuf:"bytes,1,opt,name=structBody,proto3,oneof"`
}

type UnimplementedBackendServiceServer added in v2.7.0

type UnimplementedBackendServiceServer struct {
}

UnimplementedBackendServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBackendServiceServer) Request added in v2.7.0

func (*UnimplementedBackendServiceServer) RequestStream added in v2.7.0

Jump to

Keyboard shortcuts

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