Help us shape the future of Go! Take the 2026 Go Developer Survey

http

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GET

func GET(ctx context.Context, endpoint string, token string, params map[string]string, responseStruct interface{}) error

GET function with dynamic response unmarshaling and handling for nil params

func POST

func POST(ctx context.Context, endpoint string, token string, signature string, headers map[string]string, body interface{}, responseStruct interface{}) error

POST function with dynamic response unmarshaling and handling for nil body

Types

This section is empty.

Jump to

Keyboard shortcuts

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