config

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 0 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,omitempty" json:"id,omitempty" toml:"id,omitempty"`
	Hash string `yaml:"hash,omitempty" json:"hash,omitempty" toml:"hash,omitempty"`
}

Admin for v1.

type Config

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

Config for v1.

type Service added in v1.7.0

type Service struct {
	ID       string `yaml:"id,omitempty" json:"id,omitempty" toml:"id,omitempty"`
	Name     string `yaml:"name,omitempty" json:"name,omitempty" toml:"name,omitempty"`
	Hash     string `yaml:"hash,omitempty" json:"hash,omitempty" toml:"hash,omitempty"`
	Duration string `yaml:"duration,omitempty" json:"duration,omitempty" toml:"duration,omitempty"`
}

Service for v1.

Jump to

Keyboard shortcuts

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