configdata

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfgDatabase

type CfgDatabase struct {
	ServerType string
	DSN        string
	ConnMax    int `toml:"connection_max"`
	Schema     string
}

type CfgElasticSearch

type CfgElasticSearch struct {
	Endpoint []string             `toml:"endpoint"`
	Index    string               `toml:"index"`
	ApiKey   utilconfig.EnvString `toml:"apikey"`
}

type CfgFairService

type CfgFairService struct {
	ServiceName    string `toml:"servicename"`
	Address        string `toml:"address"`
	CertSkipVerify bool   `toml:"certskipverify"`
	JwtKey         string `toml:"jwtkey"`
	JwtAlg         string `toml:"jwtalg"`
}

type CfgHypothesis

type CfgHypothesis struct {
	Apikey   string `toml:"apikey"`
	Endpoint string `toml:"endpoint"`
}

type CfgS3

type CfgS3 struct {
	Endpoint        string `toml:"endpoint"`
	AccessKeyId     string `toml:"accessKeyId"`
	SecretAccessKey string `toml:"secretAccessKey"`
	UseSSL          bool   `toml:"useSSL"`
}

type CfgZSearchService

type CfgZSearchService struct {
	ServiceName    string `toml:"servicename"`
	Address        string `toml:"address"`
	JWTSecure      bool   `toml:"jwtsecure"`
	CertSkipVerify bool   `toml:"certskipverify"`
	JwtKey         string `toml:"jwtkey"`
	JwtAlg         string `toml:"jwtalg"`
}

type CfgZotero

type CfgZotero struct {
	Endpoint string      `toml:"endpoint"`
	Apikey   string      `toml:"apikey"`
	DB       CfgDatabase `toml:"database"`
}

type Duration

type Duration struct {
	time.Duration
}

func (*Duration) UnmarshalText

func (d *Duration) UnmarshalText(text []byte) error

type Endpoint

type Endpoint struct {
	Host string `toml:"host"`
	Port int    `toml:"port"`
}

type Forward

type Forward struct {
	Local  Endpoint `toml:"local"`
	Remote Endpoint `toml:"remote"`
}

type MediaserverMySQL

type MediaserverMySQL struct {
	DB  CfgDatabase `toml:"database"`
	Url string      `toml:"url"`
}

type Query

type Query struct {
	BaseCatalog []string `toml:"basecatalog"`
}

type SSHTunnel

type SSHTunnel struct {
	User       string             `toml:"user"`
	PrivateKey string             `toml:"privatekey"`
	Endpoint   Endpoint           `toml:"endpoint"`
	Forward    map[string]Forward `toml:"forward"`
}

Jump to

Keyboard shortcuts

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