server

package
v0.52.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNetworkKey added in v0.52.0

func CreateNetworkKey(ctx *gin.Context)

CreateNetworkKey godoc

@Tags			server
@Summary		Create a new authentication key
@Description	Create a new authentication key
@Produce		json
@Success		200	{object}	NetworkKey
@Router			/server/network-key [post]

@id				CreateNetworkKey

func GetConfig

func GetConfig(ctx *gin.Context)

GetConfig godoc

@Tags			server
@Summary		Get the server configuration
@Description	Get the server configuration
@Produce		json
@Success		200	{object}	ServerConfig
@Router			/server/config [get]

@id				GetConfig

func GetServerLogFiles added in v0.47.0

func GetServerLogFiles(ctx *gin.Context)

GetServerLogFiles godoc

@Tags			server
@Summary		Get server log files
@Description	Get server log files
@Produce		json
@Success		200	{array}	string
@Router			/server/logs [get]

@id				GetServerLogFiles

func SaveConfig added in v0.52.0

func SaveConfig(ctx *gin.Context)

SaveConfig godoc

@Tags			server
@Summary		Save the server configuration
@Description	Save the server configuration
@Accept			json
@Produce		json
@Param			config	body		ServerConfig	true	"Server configuration"
@Success		200		{object}	ServerConfig
@Router			/server/config [put]

@id				SaveConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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