settings

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCfgMsg added in v0.4.11

type ClientCfgMsg struct {
	SiteName       string              `json:"siteName"`
	SiteDesc       string              `json:"siteDesc"`
	Bg             *sitestore.BgConfig `json:"bg"`
	CaptchaEnabled bool                `json:"captchaEnabled"`
}

type ClientErrorReport added in v0.4.21

type ClientErrorReport struct {
	Report  string `json:"report"`
	Version string `json:"version"`
}

type ClientErrorReports added in v0.4.21

type ClientErrorReports struct {
	Reports []*ClientErrorReport `json:"reports"`
}

type SettingsSvc

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

func NewSettingsSvc

func NewSettingsSvc(cfg gocfg.ICfg, deps *depidx.Deps) (*SettingsSvc, error)

func (*SettingsSvc) GetClientCfg added in v0.4.11

func (h *SettingsSvc) GetClientCfg(c *gin.Context)

func (*SettingsSvc) Health

func (h *SettingsSvc) Health(c *gin.Context)

func (*SettingsSvc) ReportErrors added in v0.4.21

func (h *SettingsSvc) ReportErrors(c *gin.Context)

func (*SettingsSvc) SetClientCfg added in v0.4.11

func (h *SettingsSvc) SetClientCfg(c *gin.Context)

Jump to

Keyboard shortcuts

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