remote

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package remote asks a warehouse over HTTP for the stock. Its client is the resty client builder generates for the name warehouse: one per service, with its own config (boost.factory.resty.clients.warehouse.*).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(warehouse *resty.Client) stock.Service

New provides a stock service that asks the warehouse whether an item is available (GET /items/{item}); builder builds its client with the log plugin. @Provide(index=0) @Inject(index=0, name=warehouse, plugins=[log])

Types

This section is empty.

Jump to

Keyboard shortcuts

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