intHttp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: AGPL-3.0 Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(f func(p periHttp.PeriHttp), method string, data io.Reader, vars map[string]string) *http.Response

func CallWithRole

func CallWithRole(f func(p periHttp.PeriHttp), method string, data io.Reader, vars map[string]string, role rbac.Role) *http.Response

func Delete

func Delete(f func(p periHttp.PeriHttp), vars map[string]string)

func Get

func Get(f func(p periHttp.PeriHttp), vars map[string]string) []byte
func Head(f func(p periHttp.PeriHttp), vars map[string]string)

func Patch

func Patch(f func(p periHttp.PeriHttp), data []byte, vars map[string]string) []byte

func Post

func Post(f func(p periHttp.PeriHttp), data []byte, vars map[string]string) []byte

func Put

func Put(f func(p periHttp.PeriHttp), data []byte, vars map[string]string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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