Documentation
¶
Index ¶
- Constants
- type AppLogFunc
- type DiskQueue
- type Interface
- type LogLevel
- type Option
- func WithDataDIR(dataDIR string) Option
- func WithLogf(logf AppLogFunc) Option
- func WithMaxBytesPerFile(maxBytesPerFile int64) Option
- func WithMaxMsgSize(maxMsgSize int32) Option
- func WithMinMsgSize(minMsgSize int32) Option
- func WithName(name string) Option
- func WithSyncEvery(syncEvery int64) Option
- func WithSyncTimeout(syncTimeout time.Duration) Option
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppLogFunc ¶
type DiskQueue ¶
DiskQueue implements a filesystem backed FIFO queue
type Interface ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithDataDIR ¶
func WithLogf ¶
func WithLogf(logf AppLogFunc) Option
func WithMaxBytesPerFile ¶
func WithMaxMsgSize ¶
func WithMinMsgSize ¶
func WithSyncEvery ¶
func WithSyncTimeout ¶
Click to show internal directories.
Click to hide internal directories.