internal

package
v0.1.4-beta Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(body io.Reader, v interface{}) error

Types

type ClientOption

type ClientOption func(opts *client)

func WithHTTPClient

func WithHTTPClient(c HTTPClient) ClientOption

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

func NewClient

func NewClient(opts ...ClientOption) (HTTPClient, error)

type Meta

type Meta struct {
	Description string `json:"description"`
	Message     string `json:"message"`
	Code        int    `json:"code"`
}

Meta represents the meta data returned by the Bricklink API.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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