handlers

package
v0.0.0-...-d29eeed Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Demo

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

func NewDemo

func NewDemo(
	logger *zap.Logger,
	database db_nosql.Database,
	mq miface.MessageQueue,
	gormDb *gorm.DB,
	redis *redis.Client,
) *Demo

func (*Demo) Hi

func (d *Demo) Hi(uid, message string) error

func (*Demo) Watch

func (d *Demo) Watch(ctx context.Context, topic string, callback func(message string) error) error

Jump to

Keyboard shortcuts

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