14 lines
366 B
Plaintext
14 lines
366 B
Plaintext
using Cysharp.Threading.Tasks;
|
|
using ShrinkNetwork;
|
|
|
|
namespace ShrinkNetwork.ServerHost.Framework;
|
|
|
|
public interface IShrinkServerModule
|
|
{
|
|
string Name { get; }
|
|
|
|
void ConfigureService(ServerModuleContext context, ShrinkNetworkService service, string transportName);
|
|
|
|
UniTask StartAsync(ServerModuleContext context, CancellationToken cancellationToken);
|
|
}
|