system_dto

package
v1.4.2-beta Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapStringToStruct

func MapStringToStruct[T any](m map[string]string) *T

func ToKeyMap

func ToKeyMap(i interface{}) map[string]string

Types

type InputSetting

type InputSetting struct {
	InvokeAddress string `json:"invoke_address" key:"system.node.invoke_address"`
	SitePrefix    string `json:"site_prefix" key:"system.setting.site_prefix"`
}

func (*InputSetting) Validate

func (i *InputSetting) Validate() error

type Setting

type Setting struct {
	InvokeAddress string `json:"invoke_address" key:"system.node.invoke_address"`
	SitePrefix    string `json:"site_prefix" key:"system.setting.site_prefix"`
}

Jump to

Keyboard shortcuts

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