Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type BboltConfig ¶
type BboltConfig struct {
Path string `json:"path"`
}
type Config ¶
type Config struct { Nats *NatsConfig `json:"nats"` Bbolt *BboltConfig `json:"bbolt"` Logger *zap.SugaredLogger `json:"-"` }
type DelayQueue ¶
type DelayQueue struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *Config) (*DelayQueue, error)
func (*DelayQueue) Close ¶
func (me *DelayQueue) Close() error
Click to show internal directories.
Click to hide internal directories.