19 lines
385 B
C#
19 lines
385 B
C#
using NodaTime;
|
|
|
|
namespace PluralKit.Core
|
|
{
|
|
public class PKShardInfo
|
|
{
|
|
public int Id { get; }
|
|
public ShardStatus Status { get; }
|
|
public float? Ping { get; }
|
|
public Instant? LastHeartbeat { get; }
|
|
public Instant? LastConnection { get; }
|
|
|
|
public enum ShardStatus
|
|
{
|
|
Down = 0,
|
|
Up = 1
|
|
}
|
|
}
|
|
} |