초기커밋
This commit is contained in:
42
ServerBase/Redis/RedisWithLuaScriptExecutor.cs
Normal file
42
ServerBase/Redis/RedisWithLuaScriptExecutor.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
|
||||
using ServerCore;
|
||||
|
||||
|
||||
namespace ServerBase;
|
||||
|
||||
public partial class RedisWithLuaScriptExecutor : RedisWithLuaScriptExecutorBase, IModule
|
||||
{
|
||||
private readonly ModuleContext m_module_context;
|
||||
|
||||
public RedisWithLuaScriptExecutor(RedisConnector redisConnector, ModuleContext moduleContext)
|
||||
: base(redisConnector)
|
||||
{
|
||||
m_module_context = moduleContext;
|
||||
}
|
||||
|
||||
public async Task<Result> startModule()
|
||||
{
|
||||
var result = new Result();
|
||||
return await Task.FromResult(result);
|
||||
}
|
||||
|
||||
public async Task<Result> stopModule()
|
||||
{
|
||||
var result = new Result();
|
||||
return await Task.FromResult(result);
|
||||
}
|
||||
|
||||
public ModuleContext getModuleContext() => m_module_context;
|
||||
|
||||
public string toBasicString()
|
||||
{
|
||||
return $"{this.getTypeName()}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user