redis

package
v0.0.0-...-fbf9a92 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewInput

type NewInput struct {
	RedisURL string
}

NewInput input for constructor

type Service

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

Service service

func New

func New(input *NewInput) *Service

New return new service

func (*Service) Publish

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

Publish publish key value

func (*Service) Subscribe

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

Subscribe subscribe

Jump to

Keyboard shortcuts

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