queue

package
v0.0.0-...-7170f57 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClient

func WithClient() (net.Conn, error)

Types

type Server

type Server struct {
	RedisClient *redis.MessageQueue
	Client      net.Conn
	Server      net.Listener
	Logger      *zap.Logger
}

func New

func New(cfgs ...ServerConfiguration) (*Server, error)

func (*Server) Launch

func (s *Server) Launch()

type ServerConfiguration

type ServerConfiguration func(*Server) error

func WithRedisClient

func WithRedisClient() ServerConfiguration

func WithServer

func WithServer() ServerConfiguration

func WithZapper

func WithZapper() ServerConfiguration

Jump to

Keyboard shortcuts

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