session

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptSession added in v0.0.5

func DecryptSession(ctx context.Context, key [32]byte, box []byte) (*pb.SessionData, error)

func EncryptSession added in v0.0.5

func EncryptSession(ctx context.Context, key [32]byte, sessionData *pb.SessionData) ([]byte, error)

func GenerateSessionToken

func GenerateSessionToken() (string, error)

func NewSessionData

func NewSessionData() *pb.SessionData

Types

This section is empty.

Jump to

Keyboard shortcuts

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