Documentation ¶
Overview ¶
Package msgrepo provides message storage for consumers and publishers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(options ...ConfigOption) auth.MessageRepository
NewService returns a new MessageRepository
Types ¶
type ConfigOption ¶
type ConfigOption func(*service)
ConfigOption configures the service.
func WithLogger ¶
func WithLogger(l log.Logger) ConfigOption
WithLogger configures the service with a logger.
Click to show internal directories.
Click to hide internal directories.