storage

package
v0.1.7-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 2, 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 Keys

type Keys struct {
	PrivateKey []byte
	JWKS       []byte
}

type KeysStorage

type KeysStorage interface {
	ReadKeys() (*Keys, error)
	WriteKeys(k Keys) error
}

type UserData

type UserData struct {
	Username string
	Password string
	Hash     string
}

type UsersStorage

type UsersStorage interface {
	ReadUserData(username string) (*UserData, error)
	WriteUserData(user UserData) error
}

Directories

Path Synopsis
drivers
s3

Jump to

Keyboard shortcuts

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