config

package
v1.61.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	ID   string `yaml:"id"`
	Hash string `yaml:"hash"`
}

Admin for v1.

type Config

type Config struct {
	Issuer   string    `yaml:"issuer" json:"issuer" toml:"issuer"`
	Admins   []Admin   `yaml:"admins" json:"admins" toml:"admins"`
	Services []Service `yaml:"services" json:"services" toml:"services"`
}

Config for v1.

type Service added in v1.7.0

type Service struct {
	ID       string        `yaml:"id"`
	Name     string        `yaml:"name"`
	Hash     string        `yaml:"hash"`
	Duration time.Duration `yaml:"duration"`
}

Service for v1.

Jump to

Keyboard shortcuts

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