config

package
v0.0.0-...-36eb9fc Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SEPP SEPP `yaml:"sepp"`
}

func LoadConfiguration

func LoadConfiguration(filePath string) (*Config, error)

func ReadConfig

func ReadConfig(reader io.Reader) (*Config, error)

type Local

type Local struct {
	N32 N32 `yaml:"n32"`
	SBI SBI `yaml:"sbi"`
}

type N32

type N32 struct {
	FQDN string `yaml:"fqdn"`
	Host string `yaml:"host"`
	Port string `yaml:"port"`
	TLS  TLS    `yaml:"tls"`
}

func (N32) GetAddress

func (n32 N32) GetAddress() string

type Remote

type Remote struct {
	URL string `yaml:"url"`
	TLS TLS    `yaml:"tls"`
}

type SBI

type SBI struct {
	Host string `yaml:"host"`
	Port string `yaml:"port"`
	TLS  TLS    `yaml:"tls"`
}

func (SBI) GetAddress

func (sbi SBI) GetAddress() string

type SEPP

type SEPP struct {
	SecurityCapability string `yaml:"securityCapability"`
	Local              Local  `yaml:"local"`
	Remote             Remote `yaml:"remote"`
}

type TLS

type TLS struct {
	Cert string `yaml:"cert"`
	Key  string `yaml:"key"`
	CA   string `yaml:"ca"`
}

Jump to

Keyboard shortcuts

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