config

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

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCookie

func GetCookie() (string, error)

func Password

func Password() ([]byte, error)

Types

type CookieDecryptor

type CookieDecryptor interface {
	Decrypt(value, key []byte) ([]byte, error)
}

type UnixCookieDecryptor

type UnixCookieDecryptor struct {
	Rounds int
}

func (UnixCookieDecryptor) Decrypt

func (d UnixCookieDecryptor) Decrypt(value, key []byte) ([]byte, error)

type WindowsDecryptor

type WindowsDecryptor struct{}

func (WindowsDecryptor) Decrypt

func (WindowsDecryptor) Decrypt(value, key []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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