Sfoglia il codice sorgente

Added template for RAID controller

Toby Chui 1 anno fa
parent
commit
b42a0ae99d
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  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
+}