security

package
v0.0.0-...-cee649a Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginSecurity

type LoginSecurity struct {
	TheTokenSecurity TokenSecurity `yaml:"TokenSecurity"`
}

func GenLoginSecurity

func GenLoginSecurity() (sec LoginSecurity, err error)

func LoadLoginSecurity

func LoadLoginSecurity(filepath string) (sec LoginSecurity, err error)

type TokenSecurity

type TokenSecurity struct {
	Key string `yaml:"Key"`
}

Jump to

Keyboard shortcuts

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