refactor: web hook
This commit is contained in:
9
Handlers/IWebhookEventHandler.cs
Normal file
9
Handlers/IWebhookEventHandler.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Text.Json.Nodes;
|
||||
using Alchegos.Core.Services.RabbitMQ;
|
||||
|
||||
namespace Alchegos.Gitea.Webhook.Handlers;
|
||||
|
||||
public interface IWebhookEventHandler
|
||||
{
|
||||
Task HandleAsync(JsonNode payload, IRabbitPublisher publisher);
|
||||
}
|
||||
Reference in New Issue
Block a user