session

package
v0.46.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: GPL-3.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.45.0

New provides protosession.SessionServiceServer based on specified KeyStorage.

All response messages are signed using specified signer and have current epoch in the meta header.

Types

type KeyStorage added in v0.45.0

type KeyStorage interface {
	// Store saves given private key by specified user and locally unique IDs along
	// with its expiration time.
	Store(key ecdsa.PrivateKey, _ user.ID, id []byte, exp uint64) error
}

KeyStorage represents private keys stored on the local node side.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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