unit

package
v0.0.0-...-1485484 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	// contains filtered or unexported fields
}

func NewControl

func NewControl(path string) *Control

func (*Control) Delete

func (C *Control) Delete(url string, config interface{}) error

func (*Control) Do

func (C *Control) Do(req *http.Request) (*http.Response, error)

func (*Control) Get

func (C *Control) Get(url string) (interface{}, error)

func (*Control) Post

func (C *Control) Post(url string, config interface{}) error

func (*Control) Put

func (C *Control) Put(url string, config interface{}) error

func (*Control) Send

func (C *Control) Send(method, url string, config interface{}) error

Jump to

Keyboard shortcuts

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