V2 upgrade
This commit is contained in:
28
NostrStreamer/Database/IngestEndpoint.cs
Normal file
28
NostrStreamer/Database/IngestEndpoint.cs
Normal file
@ -0,0 +1,28 @@
|
||||
namespace NostrStreamer.Database;
|
||||
|
||||
public class IngestEndpoint
|
||||
{
|
||||
public Guid Id { get; init; } = Guid.NewGuid();
|
||||
|
||||
public string Name { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Stream app name at ingest
|
||||
/// </summary>
|
||||
public string App { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Forward to VHost
|
||||
/// </summary>
|
||||
public string Forward { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Cost/min (milli-sats)
|
||||
/// </summary>
|
||||
public int Cost { get; init; } = 10_000;
|
||||
|
||||
/// <summary>
|
||||
/// Stream capability tags
|
||||
/// </summary>
|
||||
public List<string> Capabilities { get; init; } = new();
|
||||
}
|
Reference in New Issue
Block a user