config

package
v0.0.0-...-b985c77 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(version string) (*Service, error)

func (*Service) DatabaseURL

func (s *Service) DatabaseURL() string

func (*Service) DisableRegistration

func (s *Service) DisableRegistration() bool

func (*Service) JWTSecret

func (s *Service) JWTSecret() string

func (*Service) PhotoFolders

func (s *Service) PhotoFolders() []string

func (*Service) ProxyAuthEmailHeader

func (s *Service) ProxyAuthEmailHeader() string

func (*Service) ProxyAuthNameHeader

func (s *Service) ProxyAuthNameHeader() string

func (*Service) RedisURL

func (s *Service) RedisURL() string

func (*Service) ReverseProxyAuthentication

func (s *Service) ReverseProxyAuthentication() bool

func (*Service) SessionSecret

func (s *Service) SessionSecret() string

func (*Service) Version

func (s *Service) Version() string

Jump to

Keyboard shortcuts

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