memcached

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp(t *gotext.Locale) *App

func (*App) GetConfig

func (s *App) GetConfig(w http.ResponseWriter, r *http.Request)

func (*App) GetConfigTune

func (s *App) GetConfigTune(w http.ResponseWriter, r *http.Request)

GetConfigTune 获取 Memcached 配置调整参数

func (*App) Load

func (s *App) Load(w http.ResponseWriter, r *http.Request)

func (*App) Route

func (s *App) Route(r chi.Router)

func (*App) Status added in v3.2.2

func (s *App) Status() string

func (*App) UpdateConfig

func (s *App) UpdateConfig(w http.ResponseWriter, r *http.Request)

func (*App) UpdateConfigTune

func (s *App) UpdateConfigTune(w http.ResponseWriter, r *http.Request)

UpdateConfigTune 更新 Memcached 配置调整参数

type ConfigTune

type ConfigTune struct {
	Port           string `form:"port" json:"port"`
	UDPPort        string `form:"udp_port" json:"udp_port"`
	ListenAddress  string `form:"listen_address" json:"listen_address"`
	Memory         string `form:"memory" json:"memory"`
	MaxConnections string `form:"max_connections" json:"max_connections"`
	Threads        string `form:"threads" json:"threads"`
}

ConfigTune Memcached 配置调整

type UpdateConfig

type UpdateConfig struct {
	Config string `form:"config" json:"config" validate:"required"`
}

Jump to

Keyboard shortcuts

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