Help us shape the future of Go! Take the 2026 Go Developer Survey

remote

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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 and otel plugins, and the module of the client starts the OpenTelemetry providers. @Provide(index=0) @Inject(index=0, name=warehouse, plugins=[log, otel])

Types

This section is empty.

Jump to

Keyboard shortcuts

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