handlercache

package
v0.0.0-...-c5a58e0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerCache

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

HandlerCache caches handler data. If the wanted data is not already cached it will be loaded

func NewHandlerCache

func NewHandlerCache(registry jsonball.Registry) *HandlerCache

NewHandlerCache creates a new handler cache.

func (*HandlerCache) GetHandlerQueueURL

func (h *HandlerCache) GetHandlerQueueURL(ctx context.Context, handler string) (queueURL string, err error)

GetHandlerQueueURL gets the queue URL of a given handler. If the data is not already cached, the data will be loaded.

Jump to

Keyboard shortcuts

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