messages

package
v0.0.0-...-380da63 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetDetails

func (x *Event) GetDetails() []*anypb.Any

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EventMsg1.ProtoReflect.Descriptor instead.

func (*EventMsg1) GetId

func (x *EventMsg1) GetId() int32

func (*EventMsg1) GetName

func (x *EventMsg1) GetName() string

func (*EventMsg1) ProtoMessage

func (*EventMsg1) ProtoMessage()

func (*EventMsg1) ProtoReflect

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

func (*EventMsg1) Reset

func (x *EventMsg1) Reset()

func (*EventMsg1) String

func (x *EventMsg1) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use EventMsg2.ProtoReflect.Descriptor instead.

func (*EventMsg2) GetName

func (x *EventMsg2) GetName() string

func (*EventMsg2) GetText

func (x *EventMsg2) GetText() string

func (*EventMsg2) ProtoMessage

func (*EventMsg2) ProtoMessage()

func (*EventMsg2) ProtoReflect

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

func (*EventMsg2) Reset

func (x *EventMsg2) Reset()

func (*EventMsg2) String

func (x *EventMsg2) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Pid.ProtoReflect.Descriptor instead.

func (*Pid) GetId

func (x *Pid) GetId() int32

func (*Pid) ProtoMessage

func (*Pid) ProtoMessage()

func (*Pid) ProtoReflect

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

func (*Pid) Reset

func (x *Pid) Reset()

func (*Pid) String

func (x *Pid) String() string

type UnimplementedGetSystemEventsServer

type UnimplementedGetSystemEventsServer struct {
}

UnimplementedGetSystemEventsServer must be embedded to have forward compatible implementations.

func (UnimplementedGetSystemEventsServer) GetEvent

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.

Jump to

Keyboard shortcuts

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