config

package
v0.0.0-...-4a3359c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	PublicKeyPath  string               `yaml:"publicKeyPath"`
	AuthEndpoint   string               `yaml:"authEndpoint"`
	TLSCertificate *meta.TLSCertificate `yaml:"tlsCertificate"`
	AccessKey      string               `yaml:"accessKey"`
}

type CommonConfig

type CommonConfig struct {
	Host              string           `yaml:"host"`
	HostName          string           `yaml:"hostname"`
	ContentType       string           `yaml:"contentType"`
	UsedDB            string           `yaml:"usedDB"`
	ApiEndpointFormat string           `yaml:"apiEndpointFormat"`
	RpcEndpointFormat string           `yaml:"rpcEndpointFormat"`
	AmqpConnection    ConnectionConfig `yaml:"amqpConnection"`
}

type ConnectionConfig

type ConnectionConfig struct {
	URL string               `yaml:"URL"`
	TLS *meta.TLSCertificate `yaml:"TLS"`
}

type DataStoreConfig

type DataStoreConfig struct {
	URL        string               `yaml:"URL"`
	TLS        *meta.TLSCertificate `yaml:"TLS"`
	Database   string               `yaml:"database"`
	Collection string               `yaml:"collection"`
	Login      string               `yaml:"login"`
	Password   string               `yaml:"password"`
	Timeout    int                  `yaml:"timeout"`
}

type SecurityConfig

type SecurityConfig struct {
	TLSCertificate *meta.TLSCertificate `yaml:"tlsCertificate"`
}

Jump to

Keyboard shortcuts

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