Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addr string `short:"a" long:"addr" description:"Listen address for pub/sub clients" default:"127.0.0.1:8119"` AdminAddr string `long:"admin-addr" description:"Listen address for admin endpoints" default:"127.0.0.1:8229"` CommitLogInMemory bool `long:"commitlog.inmemory" description:"Whether the commit log should be in-memory only"` CommitLogDir string `long:"commitlog.dir" description:"The directory to store the commit log segments if persisted" default:"./data"` CommitLogSegmentSize uint64 `long:"commitlog.segment-size" description:"The size of the commit log segments to use (default 128MB)" default:"134217728"` Verbose bool `short:"v" long:"verbose" description:"Show verbose debug information"` }
func ParseConfig ¶
func (Config) MarshalLogObject ¶
func (c Config) MarshalLogObject(e zapcore.ObjectEncoder) error
Click to show internal directories.
Click to hide internal directories.