Explorar el Código

Added template for RAID controller

Toby Chui hace 1 año
padre
commit
b42a0ae99d
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  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
+}