client

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 27 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg *config.Config) *Client

func (*Client) GetBackoff

func (c *Client) GetBackoff() time.Duration

func (*Client) IncreaseBackoff

func (c *Client) IncreaseBackoff()

func (*Client) ResetBackoff

func (c *Client) ResetBackoff()

func (*Client) SetShutdownReason

func (c *Client) SetShutdownReason(r string)

SetShutdownReason allows external packages (main) to assign a user-friendly exit reason.

func (*Client) Start

func (c *Client) Start() error

func (*Client) Stop

func (c *Client) Stop() error

func (*Client) Wait

func (c *Client) Wait()

Jump to

Keyboard shortcuts

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