auth

package
v0.19.913 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In

	Cfg *internal.Config
	L   *zap.Logger `name:"dev"`
}

type Token

type Token struct {
	Value string
}

Token holds the runner API token fetched during initialization. It is provided as an fx dependency so that downstream providers (e.g. api.New) can depend on it and be guaranteed the token is available.

func New

func New(params Params) (*Token, error)

Jump to

Keyboard shortcuts

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