mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
go-ipfs-config: feat(fsrepo) add eventlog config to repo/config struct
This commit is contained in:
parent
9adf5bc2bf
commit
2cca094aa8
@ -24,6 +24,7 @@ type Config struct {
|
||||
Bootstrap []string // local nodes's bootstrap peer addresses
|
||||
Tour Tour // local node's tour position
|
||||
Gateway Gateway // local node's gateway server options
|
||||
Log Log
|
||||
}
|
||||
|
||||
const (
|
||||
|
||||
8
config/log.go
Normal file
8
config/log.go
Normal file
@ -0,0 +1,8 @@
|
||||
package config
|
||||
|
||||
|
||||
type Log struct {
|
||||
MaxSizeMB uint64
|
||||
MaxBackups uint64
|
||||
MaxAgeDays uint64
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user