settings

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: LGPL-3.0 Imports: 6 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 {
	ClientCfg      *db.ClientConfig `json:"clientCfg"`
	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)

func (*SettingsSvc) WorkerQueueLen added in v0.6.1

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

type WorkerQueueLenResp added in v0.6.1

type WorkerQueueLenResp struct {
	QueueLen int `json:"queueLen"`
}

Jump to

Keyboard shortcuts

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