go-ipfs-config: feat(fsrepo) add eventlog config to repo/config struct
Brian Tiger Chow committed
Feb 2, 2015 at 17:42 UTC
2cca094aa8b73f0f4e48deeefa0145dc361904c0
2 files changed
+9
config/config.go
+1
@@ -24,6 +24,7 @@ type Config struct {
24
Bootstrap []string // local nodes's bootstrap peer addresses
25
Tour Tour // local node's tour position
26
Gateway Gateway // local node's gateway server options
27
+ Log Log
28
}
29
30
const (
config/log.go
new
+8
@@ -0,0 +1,8 @@
1
+package config
2
+
3
+
4
+type Log struct {
5
+ MaxSizeMB uint64
6
+ MaxBackups uint64
7
+ MaxAgeDays uint64
8
+}