redis

package
v0.0.0-...-0c177bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL