runtimelib

package
v0.0.0-...-f282515 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(url, path string) error

DownloadFile downloads url to path; returns error or nil

func HttpGet

func HttpGet(url string) string

Simple HTTP GET returning body as string (empty on error)

func HttpGetStatus

func HttpGetStatus(url string) (string, int)

HttpGetStatus performs GET and returns body and status code (0 on error)

func HttpPost

func HttpPost(url, body string) string

HttpPost sends a POST with content-type text/plain and returns body or empty on error

Types

This section is empty.

Jump to

Keyboard shortcuts

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