handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Healthz

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

func NewHealthz

func NewHealthz(
	cfg *config.Config,
	rabbitmConn *rabbitmq.Connection,
	radisClient *redis.Connection,
) *Healthz

func (*Healthz) Healthz

func (h *Healthz) Healthz() http.Handler

type Subscriber

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

func NewSubscriber

func NewSubscriber(redisSub chat.Subscriber) *Subscriber

func (*Subscriber) Subscribe

func (h *Subscriber) Subscribe(c *gin.Context)

Jump to

Keyboard shortcuts

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