httpHelper

package
v0.0.0-...-e03c1e8 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url, token string) (ret []byte, err error)

func GetCheckForward

func GetCheckForward(url, token string) (ret []byte, isForward bool, err error)

func IsSuccessCode

func IsSuccessCode(code int) (success bool)

func Login

func Login() (ret string)

func Post

func Post(url, token string, data interface{}) (ret []byte, err error)

func PostOrPut

func PostOrPut(url, token string, method string, data interface{}) (ret []byte, err error)

func Put

func Put(url, token string, data interface{}) (ret []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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