client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 4 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 {
	HTTP   *resty.Client
	Logger *zap.Logger
	Config Config
}

func NewClient

func NewClient(config Config) *Client

func NewDefaultClient

func NewDefaultClient() *Client

func (*Client) Close

func (c *Client) Close()

type Config

type Config struct {
	Timeout    time.Duration
	RetryCount int
	RetryDelay time.Duration
	UserAgent  string
	Debug      bool
}

Jump to

Keyboard shortcuts

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