system

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DictionaryValue

type DictionaryValue struct {
	Keyword string  `json:"keyword"`
	Label   string  `json:"label"`
	Value   string  `json:"value"`
	Type    *string `json:"type"`
	Extra   *string `json:"extra"`
}

type GetSystemSettingReply

type GetSystemSettingReply struct {
	Debug              bool               `json:"debug"`
	Title              string             `json:"title"`
	Desc               string             `json:"desc"`
	Copyright          string             `json:"copyright"`
	ChangePasswordType string             `json:"changePasswordType"`
	Watermark          string             `json:"watermark"`
	Dictionaries       []*DictionaryValue `json:"dictionaries"`
}

type GetSystemSettingRequest

type GetSystemSettingRequest struct {
}

type Repo

type Repo interface {
	// GetDictionaryValues 获取指定标识集合的值
	GetDictionaryValues(ctx kratosx.Context, keywords []string) ([]*DictionaryValue, error)
}

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

func NewUseCase

func NewUseCase(config *conf.Config, repo Repo) *UseCase

func (*UseCase) GetSystemSetting

GetSystemSetting 获取系统设置

Jump to

Keyboard shortcuts

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