token

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(key string, identityKey string, expiration time.Duration)

func Parse

func Parse(tokenString string) (string, error)

func ParseRequest

func ParseRequest(ctx context.Context) (string, error)

func Sign

func Sign(identityKey string) (string, time.Time, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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