client

package
v0.0.0-...-0d23d6e Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	URL        string
	PublicKey  *crypto.Key
	ValidUntil time.Time
	ExtraInfo  func() any
}

func NewClient

func NewClient(url string) *Client

func (*Client) CheckLicense

func (c *Client) CheckLicense() (bool, error)

func (*Client) GetPayload

func (c *Client) GetPayload() fwl.Payload

func (*Client) Job

func (c *Client) Job() fw.CtxJob

func (*Client) LoadPublicKey

func (c *Client) LoadPublicKey(key string) (err error)

func (*Client) Middleware

func (c *Client) Middleware() fw.Middleware

func (*Client) Schedule

func (c *Client) Schedule(ctx context.Context)

func (*Client) Valid

func (c *Client) Valid() bool

Jump to

Keyboard shortcuts

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