secutils

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const OriginHeader = "Origin"

Variables

View Source
var Logger = shared.ProvideLogger(os.Getenv("LOG_LEVEL"))

Functions

func SendJsonResponse

func SendJsonResponse(w http.ResponseWriter, data interface{})

Types

type ChangePasswordForm

type ChangePasswordForm struct {
	OldPassword string `json:"old_password"`
	NewPassword string `json:"new_password"`
}

type SingleString

type SingleString struct {
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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