callbackqueue

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackQueue

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

func New

func New() CallbackQueue

func (*CallbackQueue) Dequeue

func (cq *CallbackQueue) Dequeue(id string) (func(confirmation ocpp.Response, err error), bool)

func (*CallbackQueue) TryQueue

func (cq *CallbackQueue) TryQueue(id string, try func() error, callback func(confirmation ocpp.Response, err error)) error

Jump to

Keyboard shortcuts

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