api

package
v0.0.0-...-6baf9ea Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidBookID = errors.New("invalid or empty book ID")

Functions

This section is empty.

Types

type API

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

func New

func New(cfg *Config, authCfg *auth.Config, service *bookwishlist.Service) *API

func (*API) Register

func (a *API) Register(router *http.ServeMux)

type Config

type Config struct {
	RequestTimeout time.Duration
}

Jump to

Keyboard shortcuts

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