aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold/example.go
diff options
context:
space:
mode:
authorbingoohuang <bingoo.huang@gmail.com>2021-07-05 11:16:49 +0800
committerbingoohuang <bingoo.huang@gmail.com>2021-07-05 11:16:49 +0800
commit5dbbe19c8b3d7081de90f282189cc9589d29581c (patch)
tree757bc2cc45fc1016cb89b33a83bc2d50554b0efa /weed/command/scaffold/example.go
parent5bcc77b46cd96c096bad7afbd8544496d828cff6 (diff)
downloadseaweedfs-5dbbe19c8b3d7081de90f282189cc9589d29581c.tar.xz
seaweedfs-5dbbe19c8b3d7081de90f282189cc9589d29581c.zip
extract embed toml example to separate files
Diffstat (limited to 'weed/command/scaffold/example.go')
-rw-r--r--weed/command/scaffold/example.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/weed/command/scaffold/example.go b/weed/command/scaffold/example.go
new file mode 100644
index 000000000..6be6804e5
--- /dev/null
+++ b/weed/command/scaffold/example.go
@@ -0,0 +1,21 @@
+package scaffold
+
+import _ "embed"
+
+//go:embed filer.toml
+var Filer string
+
+//go:embed notification.toml
+var Notification string
+
+//go:embed replication.toml
+var Replication string
+
+//go:embed security.toml
+var Security string
+
+//go:embed master.toml
+var Master string
+
+//go:embed shell.toml
+var Shell string