浏览代码

Added template for RAID controller

Toby Chui 1 年之前
父节点
当前提交
b42a0ae99d
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      web/SystemAO/disk/RAID/raid.go

+ 14 - 0
web/SystemAO/disk/RAID/raid.go

@@ -0,0 +1,14 @@
+package raid
+
+type Options struct {
+}
+type Manager struct {
+	Options *Options
+}
+
+// Create a new raid manager
+func NewRaidManager(options *Options) (*Manager, error) {
+	return &Manager{
+		Options: options,
+	}, nil
+}