dao

package
v0.0.0-...-969384c Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DAO

type DAO interface {
	// GetConfigEntries get all configure items
	GetConfigEntries(ctx context.Context) ([]*models.ConfigEntry, error)
	// SaveConfigEntries save configure items provided
	SaveConfigEntries(ctx context.Context, entries []models.ConfigEntry) error
}

DAO the dao for configure items

func New

func New() DAO

New ...

Jump to

Keyboard shortcuts

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