Browse Source

Added template for RAID controller

Toby Chui 1 năm trước cách đây
mục cha
commit
b42a0ae99d
1 tập tin đã thay đổi với 14 bổ sung0 xóa
  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
+}