Documentation ¶
Index ¶
- Variables
- func RegisterBackendServiceServer(s *grpc.Server, srv BackendServiceServer)
- type BackendServiceClient
- type BackendServiceServer
- type BackendService_RequestStreamClient
- type BackendService_RequestStreamServer
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (m *Message) GetBody() isMessage_Body
- func (x *Message) GetBytesBody() []byte
- func (x *Message) GetListBody() *_struct.ListValue
- func (x *Message) GetNullBody() _struct.NullValue
- func (x *Message) GetStructBody() *_struct.Struct
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_BytesBody
- type Message_ListBody
- type Message_NullBody
- type Message_StructBody
- type UnimplementedBackendServiceServer
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.
func NewBackendServiceClient ¶
func NewBackendServiceClient(cc grpc.ClientConnInterface) BackendServiceClient
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 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) GetBytesBody ¶
func (*Message) GetListBody ¶
func (*Message) GetNullBody ¶
func (*Message) GetStructBody ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v2.7.0
func (x *Message) ProtoReflect() protoreflect.Message
type Message_BytesBody ¶
type Message_BytesBody struct {
BytesBody []byte `protobuf:"bytes,4,opt,name=BytesBody,proto3,oneof"`
}
type Message_ListBody ¶
type Message_NullBody ¶
type Message_StructBody ¶
type UnimplementedBackendServiceServer ¶ added in v2.7.0
type UnimplementedBackendServiceServer struct { }
UnimplementedBackendServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBackendServiceServer) RequestStream ¶ added in v2.7.0
func (*UnimplementedBackendServiceServer) RequestStream(BackendService_RequestStreamServer) error
Click to show internal directories.
Click to hide internal directories.