systemconfig

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type SystemConfig

type SystemConfig struct {
	ID       int64  `json:"id"`
	Key      string `json:"key" xorm:"unique"`
	Val      string `json:"val"`
	Name     string `json:"name"`
	Describe string `json:"describe"`
}

func (*SystemConfig) Get

func (sc *SystemConfig) Get(Key string) string

func (*SystemConfig) Set

func (sc *SystemConfig) Set(key, val string) error

func (SystemConfig) TableName

func (SystemConfig) TableName() string

Jump to

Keyboard shortcuts

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