config

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VerifyConfig

type VerifyConfig struct {
	Email struct {
		Dialer struct {
			Host    string `yaml:"host"`
			Port    int    `yaml:"port"`
			From    string `yaml:"from"`
			Todom   string `yaml:"todom"`
			Secret  string `yaml:"secret"`
			Subject string `yaml:"subject"`
		} `yaml:"dialer"`
		Redis struct {
			Host   string `yaml:"host"`
			Port   int    `yaml:"port"`
			User   string `yaml:"user"`
			Secret string `yaml:"string"`
			DB     int    `yaml:"db"`
		} `yaml:"redis"`
		Template string `yaml:"template"`
		Accrule  string `yaml:"accrule"`
		Coderule string `yaml:"coderule"`
	} `yaml:"email"`
	Cert struct {
		Priv string `yaml:"priv"`
		Cert string `yaml:"cert"`
	} `yaml:"cert"`
	Keyset struct {
		NR_mem int `yaml:"nr_mem"`
		Cap    int `yaml:"cap"`
	} `yaml:"keyset"`
	Turnstile struct {
		Secret string `yaml:"secret"`
	} `yaml:"turnstile"`
	Verify struct {
		Host string `yaml:"host"`
		Port int    `yaml:"port"`
	} `yaml:"verify"`
}

Jump to

Keyboard shortcuts

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