registration

package
v0.1.8-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginOptions

type LoginOptions struct {
	DataDir        string
	CoordinatorURL string
	InviteToken    string
	HTTPClient     *http.Client
	Now            func() time.Time
}

type Result

type Result struct {
	Credentials identity.Credentials
	Registered  bool
	Refreshed   bool
}

func Login

func Login(ctx context.Context, opts LoginOptions) (Result, error)

Jump to

Keyboard shortcuts

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