client

package
v0.0.0-...-4da0261 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT 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 {
	// contains filtered or unexported fields
}

func New

func New(logger *slog.Logger, httpCli *http.Client, cacheStore cacheStore, baseURL string) *Client

func (*Client) GetTest

func (c *Client) GetTest(ctx context.Context) (*TestResponse, error)

type TestResponse

type TestResponse struct {
	Items []string `json:"items"`
}

Jump to

Keyboard shortcuts

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