syspub

package
v0.0.0-...-746bfac Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ScopeApp 应用级配置
	ScopeApp = consts.ScopeApp

	// ScopeSys 系统级配置
	ScopeSys = consts.ScopeSys
)

Variables

View Source
var AppAPI appAPI
View Source
var ConfigAPI configAPI
View Source
var DictAPI dictAPI

Functions

func SetAppAPI

func SetAppAPI(impl appAPI)

func SetConfigAPI

func SetConfigAPI(impl configAPI)

func SetDictAPI

func SetDictAPI(impl dictAPI)

Types

type ConfigDTO

type ConfigDTO struct {
	Scope string `json:"scope"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (*ConfigDTO) ToData

func (dto *ConfigDTO) ToData(data any) error

type DictDTO

type DictDTO struct {
	Group string `json:"group"`
	Label string `json:"label"`
	Value any    `json:"value"`
}

Jump to

Keyboard shortcuts

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