request

package
v0.0.0-...-8b1d972 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const UrlAPI = "%s://%s/rest/%s/%s"

Eg: http://192.168.0.1/rest/v1/

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Protocol   string
	IP         string
	APIVersion string
	Path       string
}

func New

func New(ip, path string) *Request

func (*Request) Get

func (r *Request) Get() (string, error)

Jump to

Keyboard shortcuts

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