json

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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 Adapter

type Adapter interface {
	Get(url string, destination interface{}) error
}

Adapter Common interface for a JSON client

type Client

type Client struct{}

Client for interacting with JSON over HTTP

func (Client) Get

func (j Client) Get(url string, destination interface{}) error

Get Perform a GET request to retrieve JSON

Jump to

Keyboard shortcuts

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