diff --git a/Customize-Filer-Store.md b/Customize-Filer-Store.md index d710f5a..7f58947 100644 --- a/Customize-Filer-Store.md +++ b/Customize-Filer-Store.md @@ -3,8 +3,8 @@ It is fairly easy if you need to store filer metadata with other data store. Let's use "yourstore" as the chosen name. Here are the steps: -1. add a package under github.com/chrislusf/seaweedfs/weed/filer2/yourstore -2. implement the filer2.FilerStore interface +1. Add a package under github.com/chrislusf/seaweedfs/weed/filer2/yourstore +2. Implement the filer2.FilerStore interface ``` package filer2 @@ -13,6 +13,7 @@ import ( ) type FilerStore interface { + // GetName gets the name to locate the configuration in filer.toml file GetName() string // Initialize initializes the file store Initialize(configuration Configuration) error @@ -24,6 +25,7 @@ type FilerStore interface { } ``` + 3. Remember to add yourstore to the list of supported stores ``` func init() {