worker

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SessionDuration = 24 * time.Hour

SessionDuration the life time of a worker session.

Functions

func VerifyToken

func VerifyToken(ctx context.Context, db gorp.SqlExecutor, s string) (*hatchery.WorkerJWTClaims, error)

VerifyToken checks token technical validity

func VerifyTokenV2 added in v0.53.0

VerifyTokenV2 checks token technical validity

Types

This section is empty.

Jump to

Keyboard shortcuts

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