Skip to content

Commit 2e95b79

Browse files
committed
Updated config docs
1 parent 9c1a2c9 commit 2e95b79

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

config/doc.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,13 @@ Directory to store logs. Value must be valid directory for storing files, applic
122122
FileStorePath
123123
124124
Directory to store sequence number and message files. Only used with FileStoreFactory.
125+
126+
SQLDriver
127+
128+
The name of the database driver to use (see https://github.com/golang/go/wiki/SQLDrivers for the list of available drivers). Only used with SqlStoreFactory.
129+
130+
SQLDataSourceName
131+
132+
The driver-specific data source name of the database to use. Only used with SqlStoreFactory.
125133
*/
126134
package config

sqlstore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (store *sqlStore) Reset() error {
8989
return err
9090
}
9191

92-
// Refresh closes the store sqls and then reloads from them
92+
// Refresh reloads the store from the database
9393
func (store *sqlStore) Refresh() error {
9494
if err := store.cache.Reset(); err != nil {
9595
return err

0 commit comments

Comments
 (0)