redis

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedMem

type SharedMem struct {
	Conn redis.Conn
	// contains filtered or unexported fields
}

func New

func New(logger *logrus.Logger, addr string, port int) (*SharedMem, error)

func (*SharedMem) AsyncWriteEntityToSharedMem

func (m *SharedMem) AsyncWriteEntityToSharedMem(data domain.Entity) error

func (*SharedMem) SyncReadEntityFromSharedMem

func (m *SharedMem) SyncReadEntityFromSharedMem() (*domain.Entity, error)

Jump to

Keyboard shortcuts

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