apiclient

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

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient interface {
	GetData(ctx context.Context, url string) (*http.Response, error)
}

type RestAPIClient

type RestAPIClient struct {
	Client *http.Client
}

func (*RestAPIClient) GetData

func (c *RestAPIClient) GetData(ctx context.Context, url string) (*http.Response, error)

Directories

Path Synopsis
Package mock_apiclient is a generated GoMock package.
Package mock_apiclient is a generated GoMock package.

Jump to

Keyboard shortcuts

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