handlers

package
v0.0.0-...-48e7155 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(redisCli *redis.Client, poolSize int) (h *Handler, err error)

func (*Handler) GetWriterPool

func (h *Handler) GetWriterPool() *writers.WriterPool

func (*Handler) Invoke

func (h *Handler) Invoke(params *types.SyncParams) (err error)

Invoke 分配任务到 携程池

func (*Handler) Release

func (h *Handler) Release()

Release 释放处理器所有资源

Jump to

Keyboard shortcuts

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