cache

package
v0.0.0-...-5115dcd Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServiceCache

type AppServiceCache interface {
	Add(appService appservice.AppService)
	Remove(appService appservice.AppService)
	RemoveApp(appId string) []appservice.AppService

	Get(appId string) []appservice.AppService
	Exists(appService appservice.AppService) bool
}

type AppServiceWatcherCache

type AppServiceWatcherCache interface {
	AppServiceCache
	GetAll() []appservice.AppService
	Size() int
}

func NewAppServiceCache

func NewAppServiceCache() AppServiceWatcherCache

Jump to

Keyboard shortcuts

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