settings

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSettings

func HandleSettings(ctx *fiber.Ctx) error

func HandleSettingsHelper

func HandleSettingsHelper(
	ctx *fiber.Ctx,
	reqMytoken *universalmytoken.UniversalMytoken,
	requiredCapability api.Capability,
	logEvent *event.Event,
	okStatus int,
	callback func(tx *sqlx.Tx, mt *mytoken.Mytoken) (my.TokenUpdatableResponse, *serverModel.Response),
	tokenGoneAfterCallback bool,
) error

HandleSettingsHelper is a helper wrapper function that handles various settings request with the help of a callback

func InitSettings

func InitSettings()

InitSettings initializes the settings metadata

Types

This section is empty.

Directories

Path Synopsis
pkg
ssh

Jump to

Keyboard shortcuts

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