Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var EventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.raccoon.v1beta1.EventService", HandlerType: (*EventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendEvent", Handler: _EventService_SendEvent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/raccoon/v1beta1/raccoon.proto", }
EventService_ServiceDesc is the grpc.ServiceDesc for EventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterEventServiceServer ¶
func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
Types ¶
type EventServiceClient ¶
type EventServiceClient interface {
SendEvent(ctx context.Context, in *v1beta1.SendEventRequest, opts ...grpc.CallOption) (*v1beta1.SendEventResponse, error)
}
EventServiceClient is the client API for EventService 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 NewEventServiceClient ¶
func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient
type EventServiceServer ¶
type EventServiceServer interface {
SendEvent(context.Context, *v1beta1.SendEventRequest) (*v1beta1.SendEventResponse, error)
}
EventServiceServer is the server API for EventService service. All implementations should embed UnimplementedEventServiceServer for forward compatibility
type UnimplementedEventServiceServer ¶
type UnimplementedEventServiceServer struct { }
UnimplementedEventServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEventServiceServer) SendEvent ¶
func (UnimplementedEventServiceServer) SendEvent(context.Context, *v1beta1.SendEventRequest) (*v1beta1.SendEventResponse, error)
type UnsafeEventServiceServer ¶
type UnsafeEventServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventServiceServer will result in compilation errors.