storage

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileStorage

func NewFileStorage(fileName string) types.RemoteConfigStorage

Types

type AddonStorage added in v1.25.0

type AddonStorage interface {
	Read() (*types.AddonData, error)
	Write(*types.AddonData) error
}

AddonStorage defines interface for addon data persistence

func NewAddonFileStorage added in v1.25.0

func NewAddonFileStorage(fileName string) AddonStorage

NewAddonFileStorage creates a new file-based addon storage

type SponsorshipStorage added in v1.24.8

type SponsorshipStorage interface {
	Read() (*types.SponsorshipData, error)
	Write(*types.SponsorshipData) error
}

SponsorshipStorage defines interface for sponsorship data persistence

func NewSponsorshipFileStorage added in v1.24.8

func NewSponsorshipFileStorage(fileName string) SponsorshipStorage

NewSponsorshipFileStorage creates a new file-based sponsorship storage

Jump to

Keyboard shortcuts

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