http

package
v0.0.0-...-1b7481c Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package http implements helpers for the runtime settings HTTP API

Package http implements helpers for the runtime settings HTTP API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(c *http.Client, baseURL string, targetProcessName string, clientOptions ClientOptions) settings.Client

NewClient returns a client setup to interact with the standard runtime settings HTTP API

Types

type ClientOptions

type ClientOptions struct {
	CloseConnection util.ShouldCloseConnection
}

ClientOptions holds options for the HTTP client

func NewHTTPClientOptions

func NewHTTPClientOptions(closeConnection util.ShouldCloseConnection) ClientOptions

NewHTTPClientOptions returns a new struct containing the HTTP client options

Jump to

Keyboard shortcuts

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