singleflight

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Singleflight

type Singleflight struct {
	Key     string           `json:"key"`
	Timeout string           `json:"timeout"`
	Hash    string           `json:"hash"`
	Check   config.CheckList `json:"check"`
	// contains filtered or unexported fields
}

Singleflight Singleflight

func (*Singleflight) Handler

func (p *Singleflight) Handler() fasthttp.RequestHandler

Handler ...

func (*Singleflight) Init

func (p *Singleflight) Init(c *middleware.Config) (err error)

Init ...

func (*Singleflight) Process

Process ...

func (*Singleflight) UnInit

func (p *Singleflight) UnInit()

UnInit ...

Jump to

Keyboard shortcuts

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