redis

package
v0.0.0-...-a235556 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewConn

func NewConn() *Service

NewConn get new connection with database redis

func (*Service) Publish

func (s *Service) Publish(key string, value ...string) (err error)

Publish publish key with value

func (*Service) Subscribe

func (s *Service) Subscribe(key string, msg chan []byte) (err error)

Subscribe ...

Jump to

Keyboard shortcuts

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