소스 검색

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
+}