diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-08-08 23:39:46 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-08-09 22:07:58 +0100 |
commit | 030ff273473f0a5620ba276a370e5119f57179df (patch) | |
tree | 035f1d5f629a228f5d4a170583e92726dbefb604 /cmd/cashierd | |
parent | 66a7d51577c83da7cc3cf385a188799fe885cd3a (diff) |
SQLite DB support
Diffstat (limited to 'cmd/cashierd')
-rw-r--r-- | cmd/cashierd/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cashierd/main.go b/cmd/cashierd/main.go index b92bd9e..bc7cba4 100644 --- a/cmd/cashierd/main.go +++ b/cmd/cashierd/main.go @@ -297,8 +297,8 @@ func certStore(config string) (store.CertStorer, error) { var err error engine := strings.Split(config, ":")[0] switch engine { - case "mysql": - cstore, err = store.NewMySQLStore(config) + case "mysql", "sqlite": + cstore, err = store.NewSQLStore(config) case "mongo": cstore, err = store.NewMongoStore(config) case "mem": |