http

package
v0.0.0-...-593c137 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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