auth

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultExpirationTime = 7200

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	config.BaseConfig
	User           string `json:"user"`
	Password       string `json:"password"`
	ExpirationTime int    `json:"expirationTime"`
}

AuthConfig configure the valid user and password

func (*AuthConfig) Validate

func (c *AuthConfig) Validate() error

Jump to

Keyboard shortcuts

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