utils

package
v4.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadKey

func LoadKey() ([]byte, error)

LoadKey loads secure session key from config or generates a new one

func RequestURL

func RequestURL(r *http.Request) *url.URL

RequestURL copies r.URL and completes host and scheme if they are not set

func SessionName

func SessionName(r *http.Request) string

SessionName extracts session name depending on headers. Default is pydio, but can be prepended with a minisite unique identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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