Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(args *MemoryArgs, logger *zap.SugaredLogger) backend.Interface
Types ¶
type MemoryArgs ¶
type MemoryArgs struct { BufferSize int `help:"Number of events that can be hosted in the backend." env:"BUFFER_SIZE" default:"10000"` ProduceTimeout string `help:"Maximum wait time for producing an event to the backend." env:"PRODUCE_TIMEOUT" default:"PT5S"` ProduceTimeoutDuration time.Duration `kong:"-"` }
func (*MemoryArgs) Validate ¶ added in v1.1.0
func (ma *MemoryArgs) Validate() error
Click to show internal directories.
Click to hide internal directories.