Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageRedisRepository ¶
type MessageRedisRepository struct {
// contains filtered or unexported fields
}
func NewMessageRedisRepository ¶
func NewMessageRedisRepository(host string) *MessageRedisRepository
func (*MessageRedisRepository) ReadMessage ¶
func (r *MessageRedisRepository) ReadMessage(id string) (*domain.Message, error)
func (*MessageRedisRepository) ReadMessages ¶
func (r *MessageRedisRepository) ReadMessages() ([]*domain.Message, error)
func (*MessageRedisRepository) SaveMessage ¶
func (r *MessageRedisRepository) SaveMessage(message domain.Message) error
Click to show internal directories.
Click to hide internal directories.