Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_messages_proto protoreflect.FileDescriptor
Functions ¶
func RegisterGetSystemEventsServer ¶
func RegisterGetSystemEventsServer(s grpc.ServiceRegistrar, srv GetSystemEventsServer)
Types ¶
type Event ¶
type Event struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Details []*anypb.Any `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetDetails ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventMsg1 ¶
type EventMsg1 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EventMsg1) Descriptor
deprecated
func (*EventMsg1) ProtoMessage ¶
func (*EventMsg1) ProtoMessage()
func (*EventMsg1) ProtoReflect ¶
func (x *EventMsg1) ProtoReflect() protoreflect.Message
type EventMsg2 ¶
type EventMsg2 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*EventMsg2) Descriptor
deprecated
func (*EventMsg2) ProtoMessage ¶
func (*EventMsg2) ProtoMessage()
func (*EventMsg2) ProtoReflect ¶
func (x *EventMsg2) ProtoReflect() protoreflect.Message
type GetSystemEventsClient ¶
type GetSystemEventsClient interface {
GetEvent(ctx context.Context, in *Event, opts ...grpc.CallOption) (*Pid, error)
}
GetSystemEventsClient is the client API for GetSystemEvents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGetSystemEventsClient ¶
func NewGetSystemEventsClient(cc grpc.ClientConnInterface) GetSystemEventsClient
type GetSystemEventsServer ¶
type GetSystemEventsServer interface { GetEvent(context.Context, *Event) (*Pid, error) // contains filtered or unexported methods }
GetSystemEventsServer is the server API for GetSystemEvents service. All implementations must embed UnimplementedGetSystemEventsServer for forward compatibility
type Pid ¶
type Pid struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Pid) Descriptor
deprecated
func (*Pid) ProtoMessage ¶
func (*Pid) ProtoMessage()
func (*Pid) ProtoReflect ¶
func (x *Pid) ProtoReflect() protoreflect.Message
type UnimplementedGetSystemEventsServer ¶
type UnimplementedGetSystemEventsServer struct { }
UnimplementedGetSystemEventsServer must be embedded to have forward compatible implementations.
type UnsafeGetSystemEventsServer ¶
type UnsafeGetSystemEventsServer interface {
// contains filtered or unexported methods
}
UnsafeGetSystemEventsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GetSystemEventsServer will result in compilation errors.