httpclient

package
v0.0.0-...-c858694 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package httpclient contains code.Service implementation over HTTP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCode

func NewCode(httpClient *http.Client, scheme, host, path string) *codeClient

NewCode creates a client that implements code.Service remotely over HTTP. If a nil httpClient is provided, http.DefaultClient will be used. scheme and host can be empty strings to target local service. A trailing "/" is added to path if there isn't one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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