openapi

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: LGPL-2.1 Imports: 6 Imported by: 1

README

go-openapi

go get github.com/buzzxu/go-openapi

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call[T any](url, appKey, appSecret string, data T, funcHeader func(header http.Header), funcResponse func(response *http.Response) error) error

Call 发送请求

func POST

func POST(url, appKey, appSecret, data string, funcHeader func(header http.Header), funcResponse func(response *http.Response) error) error

POST 发送请求

func Request

func Request[T any, R any](url, appKey, appSecret string, data T, result R, funcHeader func(header http.Header)) error

Request 发送请求

func Signature

func Signature(appKey, appSecret, data string, timestamp int64) string

Signature 签名

Types

This section is empty.

Jump to

Keyboard shortcuts

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