config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 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"`
	Key      Key       `yaml:"key"`
	Admins   []Admin   `yaml:"admins"`
	Services []Service `yaml:"services"`
}

Config for v1.

type Key

type Key struct {
	Public  string `yaml:"public"`
	Private string `yaml:"private"`
}

Key for v1.

type Service added in v1.7.0

type Service struct {
	ID       string        `yaml:"id"`
	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