http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApptrustHttpClient

type ApptrustHttpClient interface {
	GetHttpClient() *jfroghttpclient.JfrogHttpClient
	Post(path string, requestBody interface{}, params map[string]string) (resp *http.Response, body []byte, err error)
	Get(path string) (resp *http.Response, body []byte, err error)
	Patch(path string, requestBody interface{}) (resp *http.Response, body []byte, err error)
	Delete(path string, params map[string]string) (resp *http.Response, body []byte, err error)
}

func NewAppHttpClient

func NewAppHttpClient(serverDetails *commonCliConfig.ServerDetails) (ApptrustHttpClient, error)

Directories

Path Synopsis
Package mock_http is a generated GoMock package.
Package mock_http is a generated GoMock package.

Jump to

Keyboard shortcuts

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