config

package
v0.0.0-...-55c0a6c Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapping

type Mapping struct {
	Path    string
	Address string
	OAuth   bool
}

type PkiConfiguration

type PkiConfiguration struct {
	ID         string
	RSAKeySize int
	Secure     string
}

type PortalConfig

type PortalConfig struct {
	Organisation      string
	Contact           *PortalContact
	PKI               *PkiConfiguration
	ConfigurationFile string
	DB                *data.InitialConfiguration
}

type PortalContact

type PortalContact struct {
	City    string
	County  string
	Country string
	Email   string
	Address string
}

type PortalHttpsConfiguration

type PortalHttpsConfiguration struct {
	StaticFiles string
	Address     string
	Ca          []byte
	Cert        []byte
	HasOAuth    bool
	Mappings    []Mapping
}

func (*PortalHttpsConfiguration) ToConfig

Jump to

Keyboard shortcuts

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