admincfg

package
v0.0.0-...-0e17a7f Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 管理者用のセッションクッキーの名前
	LOGIN_COOKIE_NAME = "ADMIN_SESSION_KEY"

	// パスフレーズのダイジェスト
	LOGIN_PASSPHRASE_DIGEST = "e46f2f6a3407dcb62be4d2c6e371cdce914c0d1f0483ab6818327f8518cb7ca8"

	// パスフレーズのリクエストパラメータ名
	LOGIN_PASSPHRASE_PARAM = "ADMIN_PASSPHRASE"

	// シグネチャのリクエストパラメータ名
	LOGIN_SIGNATURE_PARAM = "ADMIN_SIGNATURE"
)

管理者用の設定 公開してもまあ問題ないけど、非公開の方がよい

View Source
const RSA_PUBLIC = "" /* 736-byte string literal not displayed */

管理者ログイン用の公開鍵 公開鍵なので公開しても問題ないけど、定期的に変更してね

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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