WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+
+ This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ platform project (RICP).
+
==================================================================================
*/
/*
)
var (
- SupportedSdls = []*SdlEngineConfig{
- &SdlEngineConfig{
+ SupportedSdls = []*EngineConfig{
+ {
Name: "file",
Version: "v1",
Protocol: "rawfile",
Instance: NewFile(),
IsAvailable: true,
},
- &SdlEngineConfig{
+ {
Name: "redis",
Version: "v1",
Protocol: "ndsl",
}
)
-func GetSdl(sdlName string) (SdlEngine, error) {
+func GetSdl(sdlName string) (Engine, error) {
for _, sdl := range SupportedSdls {
if sdl.Name == sdlName && sdl.IsAvailable {
return sdl.Instance, nil