openbd

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenBD

type OpenBD struct {
	// contains filtered or unexported fields
}

OpenBD is a api.API class for openBD API

func New

func New() *OpenBD

New returns OpenBD instance

func (*OpenBD) LookupBook

func (a *OpenBD) LookupBook(ctx context.Context, id string) (*entity.Book, error)

/LookupBook returns Book data from openBD

func (*OpenBD) LookupRawData

func (a *OpenBD) LookupRawData(ctx context.Context, id string) (io.Reader, error)

/LookupRawData returns openBD raw data

func (*OpenBD) Name

func (a *OpenBD) Name() string

Name returns name of API

Jump to

Keyboard shortcuts

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