events

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EventSinkService_Publish_FullMethodName = "/events.EventSinkService/Publish"
)

Variables

View Source
var EventSinkService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "events.EventSinkService",
	HandlerType: (*EventSinkServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Publish",
			Handler:    _EventSinkService_Publish_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "events/events.proto",
}

EventSinkService_ServiceDesc is the grpc.ServiceDesc for EventSinkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_events_events_proto protoreflect.FileDescriptor

Functions

func RegisterEventSinkServiceServer

func RegisterEventSinkServiceServer(s grpc.ServiceRegistrar, srv EventSinkServiceServer)

Types

type EventRequest

type EventRequest struct {
	Data    *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Id      string     `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	ActorId string     `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRequest) CloneMessageVT added in v0.3.2

func (m *EventRequest) CloneMessageVT() proto.Message

func (*EventRequest) CloneVT added in v0.3.2

func (m *EventRequest) CloneVT() *EventRequest

func (*EventRequest) Descriptor deprecated

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

Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.

func (*EventRequest) EqualMessageVT added in v0.3.2

func (this *EventRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*EventRequest) EqualVT added in v0.3.2

func (this *EventRequest) EqualVT(that *EventRequest) bool

func (*EventRequest) GetActorId added in v0.3.4

func (x *EventRequest) GetActorId() string

func (*EventRequest) GetData

func (x *EventRequest) GetData() *anypb.Any

func (*EventRequest) GetId

func (x *EventRequest) GetId() string

func (*EventRequest) MarshalToSizedBufferVT

func (m *EventRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EventRequest) MarshalToVT

func (m *EventRequest) MarshalToVT(dAtA []byte) (int, error)

func (*EventRequest) MarshalVT

func (m *EventRequest) MarshalVT() (dAtA []byte, err error)

func (*EventRequest) ProtoMessage

func (*EventRequest) ProtoMessage()

func (*EventRequest) ProtoReflect

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

func (*EventRequest) Reset

func (x *EventRequest) Reset()

func (*EventRequest) SizeVT

func (m *EventRequest) SizeVT() (n int)

func (*EventRequest) String

func (x *EventRequest) String() string

func (*EventRequest) UnmarshalVT

func (m *EventRequest) UnmarshalVT(dAtA []byte) error

type EventResponse

type EventResponse struct {
	// contains filtered or unexported fields
}

func (*EventResponse) CloneMessageVT added in v0.3.2

func (m *EventResponse) CloneMessageVT() proto.Message

func (*EventResponse) CloneVT added in v0.3.2

func (m *EventResponse) CloneVT() *EventResponse

func (*EventResponse) Descriptor deprecated

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

Deprecated: Use EventResponse.ProtoReflect.Descriptor instead.

func (*EventResponse) EqualMessageVT added in v0.3.2

func (this *EventResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*EventResponse) EqualVT added in v0.3.2

func (this *EventResponse) EqualVT(that *EventResponse) bool

func (*EventResponse) MarshalToSizedBufferVT

func (m *EventResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EventResponse) MarshalToVT

func (m *EventResponse) MarshalToVT(dAtA []byte) (int, error)

func (*EventResponse) MarshalVT

func (m *EventResponse) MarshalVT() (dAtA []byte, err error)

func (*EventResponse) ProtoMessage

func (*EventResponse) ProtoMessage()

func (*EventResponse) ProtoReflect

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

func (*EventResponse) Reset

func (x *EventResponse) Reset()

func (*EventResponse) SizeVT

func (m *EventResponse) SizeVT() (n int)

func (*EventResponse) String

func (x *EventResponse) String() string

func (*EventResponse) UnmarshalVT

func (m *EventResponse) UnmarshalVT(dAtA []byte) error

type EventSinkServiceClient

type EventSinkServiceClient interface {
	Publish(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (*EventResponse, error)
}

EventSinkServiceClient is the client API for EventSinkService 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 EventSinkServiceServer

type EventSinkServiceServer interface {
	Publish(context.Context, *EventRequest) (*EventResponse, error)
	// contains filtered or unexported methods
}

EventSinkServiceServer is the server API for EventSinkService service. All implementations must embed UnimplementedEventSinkServiceServer for forward compatibility

type UnimplementedEventSinkServiceServer

type UnimplementedEventSinkServiceServer struct {
}

UnimplementedEventSinkServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEventSinkServiceServer) Publish

type UnsafeEventSinkServiceServer

type UnsafeEventSinkServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEventSinkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventSinkServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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