requestManager

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	C_requestTimeout = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestManager

type RequestManager interface {
	CreateRequest() (id uint32)
	CloseRequest(id uint32)
	GetRequestChan(id uint32) (dataChan chan interface{}, err error)
}

func NewManager

func NewManager() RequestManager

Returns the singleton RequestIDManager

Jump to

Keyboard shortcuts

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