maintenance

package
v0.0.0-...-98bb693 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	MaintenanceStore smee.MaintenanceStore
	Log              *zap.Logger
	// contains filtered or unexported fields
}

func (*Cache) RoomMaintenanceInfo

func (c *Cache) RoomMaintenanceInfo(ctx context.Context, roomID string) (smee.MaintenanceInfo, error)

func (*Cache) RoomsInMaintenance

func (c *Cache) RoomsInMaintenance(ctx context.Context) (map[string]smee.MaintenanceInfo, error)

func (*Cache) SetMaintenanceInfo

func (c *Cache) SetMaintenanceInfo(ctx context.Context, info smee.MaintenanceInfo) error

func (*Cache) Sync

func (c *Cache) Sync(ctx context.Context) error

Jump to

Keyboard shortcuts

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