keysign

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 16 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emitter

type Emitter interface {
	Sign(ctx context.Context, req types.PluginKeysignRequest) error
}

Emitter e.g. verifier API /plugin-signer/sign endpoint which puts to verifier.worker queue e.g. queue for a plugin.worker check interface implementation usages for examples

func NewVerifierEmitter

func NewVerifierEmitter(url, token string) Emitter

type PluginEmitter

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

func NewPluginEmitter

func NewPluginEmitter(client *asynq.Client, task, queue string) *PluginEmitter

func (*PluginEmitter) Sign

type Signer

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

func NewSigner

func NewSigner(
	logger *logrus.Logger,
	relay *relay.Client,
	emitters []Emitter,
	partiesPrefixesRaw []string,
) *Signer

func (*Signer) Sign

Jump to

Keyboard shortcuts

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